Blacklisting an Input Device

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


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,

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


More information about the xorg mailing list