On Monday 05 January 2004 14:29, Software wrote:
Hello,
last weekend i switched my vdr-pc to kernel 2.6.0. Now i have an echo of
the pressed remote keys on the
terminal window.
With kernel 2.4.21 i <simple> rmmod keybdev.o module and the echo was
gone...
What should i do under a 2.6. kernel?
Apply this patch to the remote plugin:
http://endriss.escape.bei.t-online.de/vdr/misc/remote-0.2.0_kernel-2.6_grab_device.diff
The EVIOCGRAB ioctl of kernel 2.6 is used to lock the event device.
This code will be included in the next release of the remote plugin.
IMHO it was a bad idea[tm] to treat all remote controls as keyboards, and
let the keyboard driver access these devices...
has it ever been discussed to add a device type flag (KEYBOARD, REMOTE
or SENDS_TTY_EVENTS/NO_TTY_EVENTS -- anything like this)?