|
From: Rick S. <ric...@ho...> - 2007-05-02 00:10:28
|
hi.
i am trying to get two serial devices working with lirc. one device is on
ttyS0 and is an ir receiver. the other is on ttyS1 and is an ir
transmitter. i have the first device working but cannot figure out how to
load the lirc_serial module a second time to support the emitter on ttyS0.
i apollogise in advance as part of my problem may be due to my ignorance of
the modprobe.d interface in my linux distro ubuntu edgy eft.
so far i have tried to create an lirc file in /etc/modprobe.d as follows:
alias char-major-61 lirc_serial
alias char-major-61 lirc_serial_2
options lirc_serial irq=4 io=0x3f8
install lirc_serial /bin/setserial /dev/ttyS0 uart none ;\
/sbin/modprobe --ignore-install lirc_serial
options lirc_serial_2 irq=3 io=0x2f8
install lirc_serial_2 /bin/setserial /dev/ttyS1 uart none ;\
/sbin/modprobe --ignore-install lirc_serial
after i did depmod -a and attempted to modprobe lirc_serial and
lirc_serial_2. i used -v with modprobe and i could see it was running the
right setserial command so it seemed to work, but i end up with only a
/dev/lirc0 and i was expecting to have /dev/lirc1 as well. in addition
lsmod | grep lirc shows this:
lirc_serial 14592 0
lirc_dev 16244 1 lirc_serial
any help would be appreciated.
rick
_________________________________________________________________
Win a webcam! Nominate your friends Windows Live Space in the Windows Live
Spaces Sweetest Space Contest and you both could win!
http://www.microsoft.com/canada/home/contests/sweetestspace/default.aspx
|