[linux-dvb] Cinergy T2 + udev rules

Johannes Stezenbach js at linuxtv.org
Wed Aug 3 01:56:03 CEST 2005


On Sun, Jul 31, 2005 Matteo Azzali wrote:
> I realized a little (and temporary) howto to use the T2 remote with lirc 
> (gentoo distro,udev)
> that you can find here:   
> http://forums.gentoo.org/viewtopic-p-2580909.html#2580909
> But I found that pointing lirc to eventX node can give troubles (in my 
> case for plugging/unplugging
> the joypad, that move the remote from event3 to even2,and return to event3).
> 
> So I tried to make an udev rule to get a "stable" symlink to the node 
> (event2 or event3).
> 
> I followed this guide : http://www.reactivated.net/writing_udev_rules.html
> 
> but does not seem that the remote of the cinergy T2 has attributes 
> exported in sysfs.
> I checked the source in search of KERNEL, SUBSYTEM or DRIVER name (sorry 
> for caps,
> they are capped everywhere I readed), but did not found.

You could use a PROGRAM rule (man udev) to find the cinergyT2 device
in /proc/bus/input/devices. However, I'm not sure if this will
confuse some software which looks at the "Handlers" field and
expects the device to be named like this...

HTH,
Johannes




More information about the linux-dvb mailing list