[mythtv-users] How to make sure devices are always in the same order.

Michael T. Dean mtdean at thirdcontact.com
Mon Jul 3 17:06:39 UTC 2006


On 07/03/2006 11:27 AM, Matthias Thyroff wrote:
> Am Montag, 3. Juli 2006 17:22 schrieb Jean-Yves Avenard:
>   
>> When the PC boot, most of the time, the IR card is seen as
>> /dev/input/adapter0), but some other time, after a reboot it will be
>> seen as /dev/input/adapter2 or adapter3..
>>
>> Running lirc daemon means that from time to time my keyboard will then
>> stop working.
>>
>> What could I di to force the devices to be recognized in the same
>> order all the time so this doesn't happen.
> I did have a  similar problem, with a dvb-s and a dvb-t card, which were 
> recognized as adapter 0 or 1 as the machine wanted at boot. 
>
> So I included their drivers in /etc/modprobe/blacklist, i.e. they are not 
> loaded automatically anymore (I am on Ubuntu Dapper, your system might be 
> different), and included the modprobe commands for them in /etc/rc.local. Now 
> they are loaded and numbered in the order they appear in rc.local. 
>
> There might be a more elegent way, though - I would be curious to know it, 
> let's see what comes up.

Proper udev configuration - http://reactivated.net/writing_udev_rules.html

http://www.gossamer-threads.com/lists/mythtv/users/208646#208646

Mike


More information about the mythtv-users mailing list