Remote control commands not processed

Bug #459021 reported by Jarno Suni
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
lirc (Mandriva)
New
Undecided
Unassigned
lirc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: lirc

I am using "VLSystem Mplay Blast" remote control. irw displays no commands when I press buttons of the remote.

See also http://ubuntuforums.org/showthread.php?p=8148347

ProblemType: Bug
Architecture: i386
Date: Fri Oct 23 15:05:55 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/lircd
Package: lirc 0.8.6-0ubuntu2
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: lirc
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Jarno Suni (jarnos) wrote :
Revision history for this message
Jarno Suni (jarnos) wrote :

It worked in 9.04, so this is a regression in 9.10, probably due to new kernel.

Revision history for this message
mvisa (mikko-puolikuu) wrote :

I can confirm this. Imon VFD/IR receiver (ffdc) worked on jaunty just fine. Now after upgrade to karmic it does not work with the same config files (hardware.conf/lircd.conf). Theres no errors anywhere, just no reaction to any keys, tested with irw, mode2, vdr, ...

Revision history for this message
mvisa (mikko-puolikuu) wrote :

Booting into jaunty's latest kernel fixes this. Something wrong with lirc kernel drivers it seems.

Revision history for this message
Jarno Suni (jarnos) wrote :

How did you boot Jaunty's kernel in Karmic?

Revision history for this message
mvisa (mikko-puolikuu) wrote :

Simply selecting it in grub menu, it was not removed by the upgrade process.

Revision history for this message
Jarno Suni (jarnos) wrote :

Unless you did partial upgrade. Or clean install.

Revision history for this message
gnarlie (mikael-soderholm) wrote :

I can confirm this after upgrading to karmic. Everything looks ok but lirc receives nothing from the remote.

Revision history for this message
mvisa (mikko-puolikuu) wrote :

The command "mode2" gives some codes (lircd not running of course) but lircd running + irw nothing.

Revision history for this message
mvisa (mikko-puolikuu) wrote :

Loading lirc_dev and lirc_imon with debug enabled I get this in syslog while using irw to test:

Nov 8 12:38:50 lotus kernel: [225336.409001] intf0 decoded packet: 01 00 00 80 00 00 00 00
Nov 8 12:38:50 lotus kernel: [225336.409025] lirc_dev (lirc_imon[0]): poll called
Nov 8 12:38:50 lotus kernel: [225336.409027] lirc_dev (lirc_imon[0]): poll result = POLLIN|POLLRDNORM
Nov 8 12:38:50 lotus kernel: [225336.409039] lirc_dev (lirc_imon[0]): read called
Nov 8 12:38:50 lotus kernel: [225336.409042] lirc_dev (lirc_imon[0]): read result = OK (0)
Nov 8 12:38:50 lotus kernel: [225336.409050] lirc_dev (lirc_imon[0]): poll called
Nov 8 12:38:50 lotus kernel: [225336.409052] lirc_dev (lirc_imon[0]): poll result = 0
Nov 8 12:38:50 lotus kernel: [225336.480996] intf0 decoded packet: 01 00 00 80 00 00 00 00
Nov 8 12:38:50 lotus kernel: [225336.481014] lirc_dev (lirc_imon[0]): poll called
Nov 8 12:38:50 lotus kernel: [225336.481017] lirc_dev (lirc_imon[0]): poll result = POLLIN|POLLRDNORM
Nov 8 12:38:50 lotus kernel: [225336.481028] lirc_dev (lirc_imon[0]): read called
Nov 8 12:38:50 lotus kernel: [225336.481031] lirc_dev (lirc_imon[0]): read result = OK (0)
Nov 8 12:38:50 lotus kernel: [225336.481039] lirc_dev (lirc_imon[0]): poll called
Nov 8 12:38:50 lotus kernel: [225336.481041] lirc_dev (lirc_imon[0]): poll result = 0

So something happens, but irw does not output any codes still.

Revision history for this message
John Dilmore (launchpad-ubuntu-yahoo) wrote :

Probably this workaround might solve the issue:

http://xbmc.org/forum/showthread.php?t=60860

Revision history for this message
mvisa (mikko-puolikuu) wrote :

I don't really see how removing the lirc_imon module from loading when that module is the one that drives my IR receiver.

Revision history for this message
gnarlie (mikael-soderholm) wrote :

lirc 0.8.4 from jaunty doesn't work either. I'm suspecting kernel breakage.

Revision history for this message
Jarno Suni (jarnos) wrote :
Revision history for this message
gnarlie (mikael-soderholm) wrote :

solved this by installing jaunty, my last dist-upgrade on ubuntu, ever.

Revision history for this message
Håvard Berland (berland) wrote :

I have tried this with both 32-bit and 64-bit Ubuntu 9.10 (same computer), and the problem only exist for 32-bit. Lirc 0.8.6.0ubuntu2. Kernel 2.6.31-14-generic.

Revision history for this message
Håvard Berland (berland) wrote :

Also, this bug was not present in Ubuntu 9.10 Alpha 4 on the same machine (32-bit).

Changed in lirc (Ubuntu):
status: New → Confirmed
Revision history for this message
Håvard Berland (berland) wrote :

Funny thing, when I reinstalled 64-bit to circumvent this bug, the LCD display refuses to work, though it worked in 9.10 32-bit (when IR remote did not work). I don't know if these are related.

My hardware is:
Bus 003 Device 004: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

Revision history for this message
n3utrino (gabe-kaelin) wrote :

Same problem here.

dmesg gives
....
[ 88.751807] intf0 decoded packet: 80 0f 04 22 00 00 9e ae
[ 89.096017] intf0 decoded packet: 80 0f 84 22 00 00 9e ae
[ 89.432221] intf0 decoded packet: 80 0f 04 22 00 00 9e ae
[ 89.536285] intf0 decoded packet: 80 0f 04 22 00 00 9e ae
[ 89.640352] intf0 decoded packet: 80 0f 04 22 00 00 9e ae
.....

And so on. But nothing appears in irw.

Mythbuntu 9.10 64-bit
15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

LCD is working.

Revision history for this message
n3utrino (gabe-kaelin) wrote :

I found a solution working for me.

1. sudo service stop lirc
2. sudo irrecord -d /dev/lirc0 irrecord.out
3. record some buttons
4. copy recorded irrecord.out to /etc/lirc/lircd.conf
5. sudo service start lirc
6. irw
7. push some buttons and it works.

My conclusion is that you need a valid lircd conf to get output from lircd
hope that helps someone

Revision history for this message
MrIcka (icka-) wrote :

n3utrino: That don't work for me...

xbmc@xbmc:~$ sudo service lirc stop
 * Stopping remote control daemon(s): LIRC [ OK ]
xbmc@xbmc:~$ sudo irrecord -d /dev/ttyUSB0 irrecord.out

irrecord - application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(<email address hidden>)

irrecord: could not get hardware features
irrecord: this device driver does not support the LIRC ioctl interface
irrecord: major number of /dev/ttyUSB0 is 188
irrecord: LIRC major number is 61
irrecord: check if /dev/ttyUSB0 is a LIRC device
irrecord: could not init hardware (lircd running ? --> close it, check permissions)

Revision history for this message
Inferno84 (inferno84) wrote :

The problem seems to be kernel related. This remote works (again) perfectly on kernel version 2.6.32-24 (MythBuntu 10.04 and 10.10), and fails to work if 2.6.35 variants (10.10, current version) of kernel are used.

Here is my 'uname -a' on the newest working kernel:

<code>
rolf@pianoWhite:~$ uname -a
Linux pianoWhite 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux
</code>

The bug has to be kernel related. I can reproduce this problem every time just by choosing differently in the grub menu. If any additional info is still needed, just ask.

Revision history for this message
MrIcka (icka-) wrote :

Yes, same here... works on 2.6.32-24 but don't work on 2.6.32-25. I'm running XBMC Live (Ubuntu 10.10)

Revision history for this message
Thomas Tvivlaren (thomastvivlaren) wrote :

I use the same remote control, i.e. "VLSystem_MPlay_Blast", for XBMC on Ubuntu 10.10. It stopped working about half a year ago (I was on 10.04 then). I had almost given up on this one but tonight I thought I should give it another go.

Just now I tried irrecord and got the same message as Mricka above, i.e.:

"irrecord - application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(<email address hidden>)

irrecord: could not get hardware features
irrecord: this device driver does not support the LIRC ioctl interface
irrecord: major number of /dev/ttyUSB0 is 188
irrecord: LIRC major number is 61
irrecord: check if /dev/ttyUSB0 is a LIRC device
irrecord: could not init hardware (lircd running ? --> close it, check permissions)"

What really surprised me though was that after that XBMC started working with the remote. Anyone with an idea about why that is? It's a bit late but I will try tomorrow again and see if I can repeat this.

Revision history for this message
Jarno Suni (jarnos) wrote :

This seems to be fixed in ubuntu 12.04. Keys have different names, though.

Changed in lirc (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.