On Fri, Nov 27, 2009 at 4:18 AM, Jarod Wilson <jarod@wilsonet.com> wrote:
On 11/26/2009 03:56 AM, Jorn wrote:


I have an Antec Fusion case with Imon 00:38 remote and lcd.  I have Ubuntu
9.10, LIRC 0.8.6 and latest version of XBMC installed.

After a lot of browsing through several forums I finally got the remote to
work as I want.  I changed the original remote to the MCE remote and remote
and volume knob work perfectly.

However, when using XBMC, after a short period of time the remote stops
responding. XBMC log tells me that the connection to LIRC Failed. If I try
irw I get connection refused.

I noticed that all of a sudden lirc1 has been added to my devices, where
there only was lirc0 when it worked. After rebooting all is back to normal
to start with, but it happens again every time.

It happens randomly, not invoked by a specific key or combination, and it
happens with both the original and the MCE remote. I can't tell if it
happens in other applications as I only use XBMC. I don't use the LCD and
haven't touched it.

Any ideas how to solve this ?

Quite honestly, that sounds like a hardware problem, not a driver problem. Seems the device dropped off the face of the earth, then reappeared, and looked like it was a new device instead of the same device... Look in your system logs and/or dmesg ringbuffer to see what kind of related information is there that might shed some further light on what's going on.

It does seem to be hardware related, but strangely in windows I don't seem to have any problems with the remotes.  I've looked into some logs but don't know which information could
be useful (been using Linux for a couple of months), but here's output from dmesg right after closing xbmc when the remote stops functioning :

[    6.101971] lirc_dev: IR Remote Control driver registered, major 61
[    6.103069] lirc_imon: Driver for SoundGraph iMON MultiMedia IR/Display, v0.6
[    6.103086] lirc_dev: lirc_register_driver: sample_rate: 0
[    6.103105] lirc_imon: Registered iMON driver (lirc minor: 0)
[    6.108030] lirc_imon: iMON device (15c2:0038, intf0) on usb<3:3> initialized
[    6.112206] lirc_imon: iMON device (15c2:0038, intf1) on usb<3:3> initialized
[    6.112219] usbcore: registered new interface driver lirc_imon
[   57.561879] lirc_imon: IR port opened
[  275.355947] lirc_dev: lirc_register_driver: sample_rate: 0
[  275.355985] lirc_imon: Registered iMON driver (lirc minor: 1)
[  275.361767] lirc_imon: iMON device (15c2:0038, intf0) on usb<3:4> initialized
[  275.364177] lirc_imon: iMON device (15c2:0038, intf1) on usb<3:4> initialized
[  275.370353] lirc_imon: IR port closed

After a few minutes, following is added :

[  480.420575]  [<f8ac35c5>] lirc_unregister_driver+0x25/0x160 [lirc_dev]
[  480.420581]  [<f8ad8144>] deregister_from_lirc+0x14/0x50 [lirc_imon]
[  480.420590]  [<f8ad8311>] imon_disconnect+0x111/0x160 [lirc_imon]
[  480.420649] INFO: task lircd:839 blocked for more than 120 seconds.
[  480.420652] lircd         D c081c5c0     0   839      1 0x00000000
[  480.420676]  [<f8ac35c5>] lirc_unregister_driver+0x25/0x160 [lirc_dev]
[  480.420682]  [<f8ad8144>] deregister_from_lirc+0x14/0x50 [lirc_imon]
[  480.420687]  [<f8ad8487>] ir_close+0x57/0x90 [lirc_imon]
[  480.420690]  [<f8ac3196>] irctl_close+0x66/0xc0 [lirc_dev]

Does this shed some light on the problem ?

Jarod Wilson