LinHES Forums
http://forum.linhes.org/

IR Blaster Tx LED stays lit at boot
http://forum.linhes.org/viewtopic.php?f=17&t=12331
Page 1 of 1

Author:  az_myth [ Wed Oct 25, 2006 10:41 pm ]
Post subject:  IR Blaster Tx LED stays lit at boot

I upgraded my kernel to 2.6.17 and I'm having a slight
issue with my IR Blaster for MythTV. The blaster works
when I run the change_chan.sh script. The only problem
is that the IR Blaster stays lit all the time and then
when I do the change_chan.sh it flickers. In the
previous kernel, the LED was off then flickered when a
command was sent to it. I would guess it's not good
for the LED to be always on. The IR Blaster is on
COM1.

Once I re-installed the kernel I recompiled lirc 0.80
as I followed the steps from lircsetup.com.

./configure --with-port=0x3f8 --with-irq=4
--with-transmitter --enable-sandboxed
--with-driver=serial

then

./configure --enable-sandboxed --with-driver=atiusb

In my rc.local, I have.

/sbin/modprobe lirc_atiusb
/sbin/modprobe lirc_serial
/usr/local/sbin/lircd --device=/dev/lirc0
--output=/dev/lircd
/usr/local/sbin/lircd --driver=default
--device=/dev/lirc1 --output=/dev/lircd1
--pidfile=/var/run/lircd1.pid

and in my modprobe.conf, I have

alias char-major-61-0 lirc_atiusb
alias char-major-61-1 lirc_serial
options lirc_serial irq=4 io=0x3f8
####IR setup####
install lirc_atiusb; /sbin/modprobe --ignore-install
lirc_atiusb
install lirc_serial setserial /dev/ttyS0 uart none;
/sbin/modprobe --ignore-install lirc_serial

As a test, I commented out some of these lines to pin
point where the issue was and the LED stayed lit on
this command.

/sbin/modprobe lirc_serial

I coomented out this line and rebooted and ran the
following command

/sbin/modprobe -v -n lirc_serial

Which gave

install setserial /dev/ttyS0 uart none; /sbin/modprobe
--ignore-install lirc_serial

Note, I'm not using Knoppmyth as I've built Myth on a different distro (PCLinuxOS). I'm posting here because of the knowledge I've seen on these boards. Does anyone know what's causing the problem?

Thanks

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/