Preventing the kernel from responding to input devices
- From: Tony Houghton <h@xxxxxxxxxxx>
- Date: Sun, 19 Apr 2009 19:47:44 +0100
Is there a way to stop the kernel from responding to certain input
devices? I've got a DVB card with a remote control and the kernel thinks
it's a keyboard, outputting key events on /dev/console, and worse, it
now shuts down if I press the Power button, which has only started
happening recently (since kernel 2.6.29 I think).
This means I can't use the power button to do anything else useful in
applications. The keyboard events are also a nuisance because I find it
best to read the input device directly to deal with debounce and repeat
instead of pretending it's a keyboard, so if I want it to respond to the
real keyboard too it gets two events for one press of certain keys. I've
worked around that by specifiying the keyboard device in xorg.conf but I
have to reconfigure it every so often when the event device numbers
change.
I've tried removing the device's keyboard-related properties in the HAL
configuration, but it didn't stop the key press problem. I haven't tried
removing the power button property so far.
--
TH * http://www.realh.co.uk
.
- Follow-Ups:
- Re: Preventing the kernel from responding to input devices
- From: Tony Houghton
- Re: Preventing the kernel from responding to input devices
- From: wisdomkiller & pain
- Re: Preventing the kernel from responding to input devices
- Prev by Date: Re: LV's not mounted during boot
- Next by Date: Mozilla strange behaviour during autodetection of character encodings
- Previous by thread: LV's not mounted during boot
- Next by thread: Re: Preventing the kernel from responding to input devices
- Index(es):
Relevant Pages
|