mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #05094
[Bug 789819] Re: Lirc mceusb resume problem
So three problems here:
1) During resume, we see this:
kernel: [ 29.950131] usb 4-3: USB disconnect, address 2
This is your mceusb device. For some reason, your USB chipset isn't
being suspended correctly, and its causing a full disconnect and
reconnect of at least mceusb device. That's bad (and not mceusb's
fault).
2) lirc is being restarted, rather than simply left running. The lirc daemon should be able to handle a lirc device coming and going from underneath it without requiring a restart like this, best as I can recall. But I think its some Ubuntu "feature-add" udev rule that restarts lircd when a new device is connected -- see item #1, the reconnect looks like a new device being connected.
3) When lirc is being restarted, its calling show_protocols before everything is actually wired up, which is indeed the bug I referenced earlier that a fix for has already been sent upstream.
kernel: [ 30.053825] Pid: 1693, comm: cat Tainted: P W 2.6.38-10-generic #44-Ubuntu System manufacturer System Product Name/E35M1-I DELUXE
kernel: [ 30.053832] RIP: 0010:[<ffffffffa03d76e7>] [<ffffffffa03d76e7>] show_protocols+0xf7/0x130 [rc_core]
At this point, nothing more that I can do. The fix for #3 was sent upstream and the stable team cc'd, so in theory, that patch will eventually make it into a stable series kernel and then into an Ubuntu kernel. Item #2 requires someone in Ubuntu-land who knows better what's going on to evaluate, and #1, not sure, probably requires someone in usb-land upstream to fix suspend and resume with your particular usb chipset.
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/789819
Title:
Lirc mceusb resume problem
Status in “lirc” package in Ubuntu:
New
Bug description:
Binary package hint: lirc
Dear All
I've XBMC 10.1 running on Ubuntu 11.04. I'm using a mceusb dongle
I've installed lirc and my harmony remote works fine.
The main problem is after the suspend the remote is not able to resume
the pc and if I manually do it lirc is not working anymore.
with ubuntu 10.10 the problem was solved using the following howto:
http://wiki.xbmc.org/?title=Automati..._resume_script
but it looks like it's not working on 11.04.
I've tried to:
1. stop lirc
2. rmmod --force lirc_dev
3. rmmod --force mceusb
but it looks like I ca't "ERROR resource busy" or sometime the command hang.
Thank you
L.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/789819/+subscriptions
References