ubuntu 11.04 - lirc init script sets invalid ir protocol for imon driver (imon Looks like you're trying to use an IR protocol this device does not support)

Bug #824369 reported by Ash
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
lirc (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have the following VFD + IR device...
Bus 002 Device 002: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

With the following installed versions...
kernel: 2.6.38-10-generic
lircd: 0.8.7
...and configured using the devinput driver (config generated via "dpkg-reconfigure lirc") I get this error in syslog and lirc fails to work:

kernel: [ 20.254591] imon 2-7:1.0: Looks like you're trying to use an IR protocol this device does not support
kernel: [ 20.254597] imon 2-7:1.0: Unsupported IR protocol specified, overriding to iMON IR protocol

Running lircd manually works...
sudo /usr/sbin/lircd -n --output=/var/run/lirc/lircd --driver=devinput --device=/dev/input/by-path/pci-0000:00:0b.0-usb-0:7:1.0-event

So to get lirc working when launched via the init script I have to comment out the in_kernel_support() function so that it doesn't try setting the incorrect protocol.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lirc (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Ellis (danellisuk) wrote :

I have been trying to diagnose an issue where my MythTV box (with an iMon LCD) occasionally hangs on shutdown. I have tracked the issue down to the lirc init script, and the line it freezes on is:-

  in_kernel_support "enable"

I still haven't figured out what this is function is doing yet, but searching has brought me here, and I also notice the following lines in dmesg:-

  imon 6-3:1.0: Looks like you're trying to use an IR protocol this device does not support
  imon 6-3:1.0: Unsupported IR protocol specified, overriding to iMON IR protocol

My device is "15c2:0038 SoundGraph Inc. GD01 MX VFD Display/IR Receiver" running on Ubuntu 11.04.

Revision history for this message
YorTheGreat (jord-swart) wrote :

I have been trying to find out why my mythbox hangs on every shutdown. Checked a lot of components (even switching to GDM from KDM) to no avail.

Today I've found that it was the lirc process that hung. Disabling the in_kernel_support in the stop part of the stop/start script fixed the issue (like described here).

However: unlike the OP I am on 11.10 with all the latest patches installed.

Bug has been very annoying and almost made me switch to another distro. It would be nice if someone could fix it.

Revision history for this message
AlastairP (alastairp) wrote :

After a few years of happy Mythtv use I finally upgraded from Ubuntu 8.04 to 11.10 and came across this problem where my Antec Fusion case with this IMON unit (the non-remote control version) would not shut down after I got everything installed.

Was pulling my hair out for ages until I finally stumbled on this bug report. I have commented out the suggested section and now it shuts down nicely.

Thanks so much to the previoous posters for finding a workaround!

Revision history for this message
Andreas (bolli1983) wrote :

Thank you for providing a workaround, that was driving me nuts.

Revision history for this message
Alec Leamas (leamas-alec) wrote :

The new lirc version 0.9.4c (zesty) sports a much-simplified systemd setup which lacks this kind of initialization. Could you make a check with this new package? Please note that the update requires major configuration changes

Builds for currently supported version at: https://launchpad.net/~leamas-alec/+archive/ubuntu/lirc-0.9.4

Changed in lirc (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lirc (Ubuntu) because there has been no activity for 60 days.]

Changed in lirc (Ubuntu):
status: Incomplete → Expired
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.