Ubuntu 10.4 Lucid Kernel 2.6.32-24-generic-pae No wake from USB

Bug #614632 reported by Dion
60
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

Package - LIRC
Release - Ubuntu 10.04 LTS
Version - 0.8.6-0ubuntu4.1
Expected Result - Able to resume from S3 by USB

Actual Result -

No power is provided to the USB IR transceiver, when you press any button on the remote once it is in an S3 state you get nothing. It appears as though all power has been cut to the USB ports.

If I revert to an earlier Kernel it works fine and you can r esume by USB IR transceiver from S3

sudo apt-get install linux-image-2.6.32-22-generic linux-headers-2.6.32-22-generic

As a second note when you revert Kernels you get no sound on resume and to get sound back you need to reboot. I have tried restarting alsa by command but this does not work.

Chuck Short (zulcss)
affects: libvirt (Ubuntu) → linux (Ubuntu)
Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi Dion,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 614632

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Dion (limenet) wrote :

Hi there, thanks for getting back to me I will try the mainline kernel but I think it has the same bug.

There is an active thread on another forum which seems to suggest it is an upstream kernel issue

http://forum.xbmc.org/showthread.php?t=76944&page=3

http://marc.info/?l=linux-usb&m=127970476426245&w=2

One other question as follows,

1) I was reading that the daily builds do not include a desktop is that correct?

Thanks!

Revision history for this message
Dion (limenet) wrote :

Looks like this has been committed to the upstream kernel

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=commitdiff;h=9ba6cac516c3ed804241b7ced552a3ad60a21a06;hp=768c810fdef3421ad80a2637b789b3f79d80e9cb

Its also being discussed on the XBMC thread.....

Any ideas if this patched is being loaded in maverick / lucid?

Thanks!

Revision history for this message
Holger Reichelt (holger-dooy) wrote :

I can confirm that this is a big regression since the implementation of this patch: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=commit;h=5f677f1d45b2bf08085bbba7394392dfa586fa8e Meanwhile the author of this patch commit a fix (see post above). Please apply this patch to the next Lucid kernel.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Dion (limenet) wrote :

Any ideas if this is being dropped into maverick / lucid?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
status: Incomplete → Opinion
Revision history for this message
Holger Reichelt (holger-dooy) wrote :

The issue has been adressed in the latest pre-proposed kernel 2.6.32-25.43~pre201008210902 from here: https://launchpad.net/~kernel-ppa/+archive/pre-proposed

With this kernel USB wakeup is functional again. Chances are that we will see this kernel in the main repo soon.

Revision history for this message
Dion (limenet) wrote :

Hi there, I have tried the the above mentioned proposed Kernel and it works now!

Any ideas when this will be added to the main repo?

And does anyone know if this bug is in the maverick builds?

Thanks!

Revision history for this message
Brendan Cully (bcully) wrote :

2.6.32-25.43~pre201008210902 solved the problem for me as well.

Revision history for this message
Matt (mattjs12) wrote :

Same problem for me with lirc_mceusb IR transceiver.
Also prevents all my USB mice from waking the system too.
Confirm lucid 2.6.32-22 was the last kernel it worked on.

kernel 2.6.32-25-generic #43~pre201008250901 works

Also
kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32.17.8-lucid/ worked
But
kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.33.5-lucid/ failed
So I hope its not going to regress again going to .33!

Revision history for this message
Brendan Cully (bcully) wrote :

I upgraded to maverick, and it's broken again in 2.6.35-22-generic!

Revision history for this message
hads (hads) wrote :

This appears to have regressed in Lucid.

2.6.32-32-generic is working.

2.6.32-33-generic is not.

Revision history for this message
fnu (fnu) wrote :

I can confirm this issue, usb wakeup from S3 with "mceusb" did work up to 2.6.32-32. With 2.6.32-33 and 2.6.32-34, last tested today, no wakup possible from S3.

It seems that all standby power to the USB ports is switched of by these kernel versions going to S3 status. Therefore need to stick at kernel version 2.6.32.32 and will not benefit from any security patches within newer kernel packages ....

Revision history for this message
hads (hads) wrote :

2.6.32-34-generic was working for me, after upgrading to 2.6.32-35-generic I have lost the ability to resume from mceusb again.

Revision history for this message
fnu (fnu) wrote :

Same here, 2.6.32-35 doesn't bring back mceusb wakeup functionality. last kernel working for me, 2.6.32-32.

Revision history for this message
fnu (fnu) wrote :

Since 2.6.32-32 does really become outdated and none of the following kernels brought the abilty back, I went out and found a proper solution her:

http://ubuntuforums.org/showthread.php?t=1655836

There're maybe mor sophisticated solutions out, but I just add to the existing lien in "/etc/rc.local":

# Enable USB Wakeup
echo USB0 > /proc/acpi/wakeup

These lines:

mce_id="0815" # The id for the MCE receiver.
for i in /sys/bus/usb/devices/?-?/idProduct
do
        id=`cat $i`
        if [ $id = $mce_id ]
        then
                wakeup=`echo $i | sed 's/idProduct/power\/wakeup/'`
                echo enabled > $wakeup
        fi
done

And tested it succesfully with 2.6.32-40-generic & 2.6.32-40-preempt.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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