[linux-dvb] Re: IR device changes after reboot

Patrick Dixon patrick at dixon.flyer.co.uk
Mon Mar 12 10:22:06 CET 2007


Have a look at 'Make the LIRC Device Static' here:-

http://parker1.co.uk/mythtv_tips.php

regards
Patrick

Paul Wilson wrote:
> this is my output from udevinfo
> I'm running on FC6  which has some files called : /etc/udev/rules.d
>
> So can someone give me a leg-up to piece this all together, thanks
>
> udevinfo -a -p /class/input/event3
>
> Udevinfo starts with the device specified by the devpath and then
> walks up the chain of parent devices. It prints for every device
> found, all possible attributes in the udev rules key format.
> A rule to match, can be composed by the attributes of the device
> and the attributes from one single parent device.
>
>  looking at device '/class/input/input3/event3':
>    KERNEL=="event3"
>    SUBSYSTEM=="input"
>    SYSFS{dev}=="13:67"
>
>  looking at parent device '/class/input/input3':
>    ID=="input3"
>    BUS=="input"
>    DRIVER==""
>    SYSFS{uniq}==""
>    SYSFS{phys}=="pci-0000:01:08.0/ir0"
>    SYSFS{name}=="cx88 IR _digitalnow DNTV Live_ "
>
> Paul
> ==
>
> On 12/03/2007 4:54 PM, Paul Wilson wrote:
>> Is there any way to lock down or predict what device my CX-88 IR 
>> input class is going to use.
>> My device event# seems to change after every reboot which means I 
>> need to manual re-configure my lircd device settings
>>
>> eg
>> input: cx88 IR (digitalnow DNTV Live!  as /class/input/input3
>> which means I need to set my config as follows
>> cat /etc/sysconfig/lircd
>> LIRCD_OPTIONS="-H dev/input -d /dev/input/event3"
>>
>> After a reboot with no h/w changes this swithes to input3/event3
>>
>> This is driving me nuts as I have to check this after each reboot to 
>> see if this has changed.
>>
>>
>> Paul
>>
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>





More information about the linux-dvb mailing list