[mythtv-users] LIRC and MythBuntu 10.10

Greg Hormann ghormann at alumni.indiana.edu
Sat Apr 16 13:43:47 UTC 2011


On Fri, Apr 15, 2011 at 1:47 PM, Jarod Wilson <jarod at wilsonet.com> wrote:
> Well, if its *just* a small patch for lirc_serial, it might have a
> better shot than the much more involved imon fixes I asked them to
> take in. Then again, Ubuntu 11.04 ought to be released Real Soon
> Now, and should have a fully functional lirc_serial. Or not. It
> looks like that fix went in post-2.6.37, and 11.04 is shipping with
> a 2.6.37.x-based kernel. So it would seem a 2.6.37.x stable tree
> backport of that patch is probably in order. Sigh. I think there
> are probably a few others I should send to the 37 stable tree to
> head off another 6 months of already-fixed IR issue reports from
> Ubuntu users...
>

I also tried the latest lirc_serial.ko via media build.  Found another
"common" error.  Googling doesn't provide a solution that appears to
work for my situation.  There are some new messages in dmesg, but I
thought they might just be debugging code.

ghormann at tvServer:/usr/local/bin$ sudo ./change_sa_chan.sh 123
irsend: command failed: SEND_ONCE SA4250 1
irsend: hardware does not support sending
irsend: command failed: SEND_ONCE SA4250 2
irsend: hardware does not support sending
irsend: command failed: SEND_ONCE SA4250 3


lircd-0.8.7-pre3[2546]: lircd(default) ready, using /var/run/lirc/lircd
lircd-0.8.7-pre3[2546]: accepted new client on /var/run/lirc/lircd
lircd-0.8.7-pre3[2546]: error processing command: SEND_ONCE SA4250 1
lircd-0.8.7-pre3[2546]: hardware does not support sending
lircd-0.8.7-pre3[2546]: removed client
lircd-0.8.7-pre3[2546]: accepted new client on /var/run/lirc/lircd
lircd-0.8.7-pre3[2546]: error processing command: SEND_ONCE SA4250 2
lircd-0.8.7-pre3[2546]: hardware does not support sending
lircd-0.8.7-pre3[2546]: removed client

ghormann at tvServer:/usr/local/bin$ ls -ld /dev/lirc*
crw-rw-rw- 1 root root 249, 0 2011-04-16 09:13 /dev/lirc0
lrwxrwxrwx 1 root root     19 2011-04-16 09:13 /dev/lircd -> /var/run/lirc/lircd
ghormann at tvServer:/usr/local/bin$ ls -ld /var/run/lirc/lircd*
srw-rw-rw- 1 root root 0 2011-04-16 09:13 /var/run/lirc/lircd
-rw-r--r-- 1 root root 5 2011-04-16 09:13 /var/run/lirc/lircd.pid


ghormann at tvServer:/usr/local/bin$ irsend list "" ""
irsend: Scientific_Altana_Explorer_8300_HD
irsend: SA4250
irsend: grayHauppauge
irsend: SAE8000


# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

##Chosen IR Transmitter
#TRANSMITTER="None"
#TRANSMITTER_MODULES=""
#TRANSMITTER_DRIVER=""
#TRANSMITTER_DEVICE=""
#TRANSMITTER_SOCKET=""
#TRANSMITTER_LIRCD_CONF=""
#TRANSMITTER_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="Serial Port (UART) : Scientific Atlanta Cable box"
TRANSMITTER_MODULES="lirc_dev lirc_serial"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF="/etc/lirc/lircd.conf.blaster"
#TRANSMITTER_LIRCD_CONF="scientificatlanta/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=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""


ghormann at tvServer:/usr/local/bin$ dmesg | grep lirc | tail -20
[ 1417.848386] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848388] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848422] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848424] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848429] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848432] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848437] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848439] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848444] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848447] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848452] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848454] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848459] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848461] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848467] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848469] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848549] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848552] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0
[ 1417.848576] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]): poll called
[ 1417.848579] lirc_serial lirc_serial.0: lirc_dev (lirc_serial[0]):
poll result = 0


More information about the mythtv-users mailing list