|
From: Nick M. <kno...@gm...> - 2007-05-02 03:40:19
|
On 02/05/07, Rick Sterling <ric...@ho...> wrote: > > Nick, > > First off, thanks for answering my question. > > >In the past when controlling 2 different serial devices with the > >lirc_serial kernel module you had to build a second instance of the > >modules with non-conflicting name and major/minor device numbers. > >Please see > >http://losdos.dyndns.org:8080/public/mythtv-info/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html > >for more information. > > I think is the route I will have to go as my disto only produces one > lirc_serial module. I checked out the link and noted the --with-major=72 > option used to compile the serial driver. I take it 72 is a safe major > number to use? It still appears to be - I used this method to run 2 serial devices with LIRC over a year ago now. You can check the current major/minor listing for 2.6.x kernels at ftp://ftp.kernel.org/pub/linux/docs/device-list/devices-2.6+.txt. Majors 60-63 are reserved for local use - LIRC uses 61, so you could use 62. I note from the device list that 72 is actually allocated to other 'real' devices, but as long as you don't use them, you should be OK. Nick -- MythTV Official wiki: http://mythtv.org/wiki/ MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users "An investment in knowledge always pays the best interest." - Benjamin Franklin |