[linux-dvb] [PATCH] proper vendor/device ID for the CinergyT2 input device

Tino Keitel tino.keitel at tikei.de
Thu Jan 11 11:17:43 CET 2007


Hi folks,

I noticed that udev does not create a symlink for the CinergyT2 remote input
device in /dev/input/by-id, which is required if I want to have a
unique device name for lircd.

The attached patch tries to achive this. However, udev still omits the
input device for /dev/input/by-id symlinks. I think something is still
not reported correctly.

However, I added another udev rule (attached) to generate symlinks that
only contain the vendor and device IDs, which works for me together
with the kernel patch.

Regards,
Tino

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cinergyT2-input-device-ids.diff
Type: text/x-diff
Size: 596 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070111/2a77dfe4/cinergyT2-input-device-ids.bin
-------------- next part --------------
SUBSYSTEM!="input",                     GOTO="input-by-id2-end"
ACTION!="add",                          GOTO="input-by-id2-end"
# ignore the mid-level drivers
KERNEL=="input[0-9]*",                  GOTO="input-by-id2-end"

KERNEL=="event*", \
        SYMLINK+="input/by-id2/$SYSFS{idVendor}-$SYSFS{idProduct}"
LABEL="input-by-id2-end"



More information about the linux-dvb mailing list