Blacklisting an Input Device

Gabriel M. Beddingfield gabrbedd at gmail.com
Tue Dec 28 23:54:45 PST 2010


Hello,

When I attach a Hercules DJ Console[1] using Xorg 1.9.0, the 
MIDI event device gets configured as a mouse in the X 
Server.  The result is that the mouse stays pegged at (0,0) 
and is unusable.  I've found 2 or 3 solutions, and would 
like to know which is "correct":

  1. Create a file in xorg.conf.d that maps the
     device (MatchProduct "Hercules DJ") to an
     empty driver (Driver "").

  2. Patch xf86-input-evdev to ignore devices that
     don't have any buttons.  (Currently, if it
     has axes OR buttons, it'll default to a mouse.
     The Hercules reports axes, but no buttons.)

  3. Or should I fix something in the kernel driver?[2]

Thanks in advance,
Gabriel

p.s. Please keep me on the CC, since I'm not subscribed to 
this ML.

[1] http://www.hercules.com/us/DJ-Music/bdd/p/62/dj-console-
rmx/
[2] 
http://ts.hercules.com/eng/index.php?pg=view_files&gid=2&fid=28&pid=215&cid=1



More information about the xorg mailing list