[mythtv-users] LIRC no errors but no traffic

Jason jason at wkrp.com
Tue Oct 19 03:02:42 UTC 2010


I'm trying to use lirc and having a heck of a time.  I'm using a PCI 
serial card and trying to use ports ttyS1 & S2.

setserial -g /dev/ttyS*
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0xef00, IRQ: 22
/dev/ttyS2, UART: 16550A, Port: 0xee00, IRQ: 22
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

I have an IR blaster that puts out the visible light to make this setup 
a little easier.  If I set the UART to 16550 on S1 I can echo characters 
to the port and see the traffic.

My lirc-serial.conf looks like this

alias char-major-61 lirc_serial
options lirc_serial share_irq=1 irq=22 io=0xef00

I had to turn on IRQ sharing otherwise it was giving me the error:  
lirc_serial: IRQ 22 busy

Here is my hardware.conf.
------
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
#REMOTE="Windows Media Center Transceivers/Remotes (all)"
#REMOTE_MODULES="lirc_dev lirc_mceusb"
#REMOTE_DRIVER=""
#REMOTE_DEVICE="/dev/lirc0"
#REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
#REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="Serial Port (UART)"
TRANSMITTER_MODULES="lirc_dev lirc_serial"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF="directtv/general.conf"
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

----

Here is a ps:

ps -aef | grep lirc
root     17584     1  0 22:48 ?        00:00:00 /usr/sbin/lircd 
--output=/var/run/lirc/lircd --device=/dev/lirc0

lsmod | grep lir
lirc_serial            10618  0
lirc_dev                9393  1 lirc_serial

irsend LIST "" ""
irsend: directtv
irsend: mceusb

- not sure why both show up since the mceusb is commented out.

and finally when I send the irsend command:

irsend --device=/dev/lircd SEND_ONCE directtv exit

I went with directtv because it's a config that should work to test with.

I just get this in syslog.
Oct 18 22:58:36 mythtvserver lircd-0.8.7-pre3[17584]: accepted new 
client on /var/run/lirc/lircd
Oct 18 22:58:36 mythtvserver lircd-0.8.7-pre3[17584]: removed client

So it seems like it's working but I get no traffic on the transmitter.  
Does anyone have any ideas?

Thank you,

Jason Portwood
jason at wkrp.com



More information about the mythtv-users mailing list