HowFlow


HowFlow — If you're on kernel 2.6.25 and experience problems with your USB devices, you should upgrade to version 2.6.25.1.

Share it!   Posted by aroedl aroedl 8 months ago

Problem description

USB controllers are going into a suspend mode when there are no devices plugged in. In kernel 2.6.25, there is a but that prevents the controller to resume correctly. Here is the commit log from version 2.6.25.1:

    USB: OHCI: fix bug in controller resume

    commit: 0d22f65515307c878ddd20b1305cce925ca9516c

    This patch (as1063) fixes a bug in the way ohci-hcd resumes its
    controllers.  It leaves the Master Interrupt Enable bit turned off.

    If the root hub is resumed immediately this won't matter.  But if the
    root hub is suspended (say because no devices are plugged in), it won't
    ever wake up by itself.

    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    CC: David Brownell <david-b@pacbell.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Solution

You should upgrade to 2.6.25.1. If you’ve never patched your Linux kernel before, here is a step-to-step guide:


cd /usr/src

wget http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.25.1.bz2

bunzip2 patch-2.6.25.1.bz2

cd linux

patch --dry-run -p1 <../patch-2.6.25.1   # This is the dry run. Check for potential error messages

patch -p1 <../patch-2.6.25.1

make oldconfig    # for good measure

Your kernel is now patched. Now you should build and install the kernel as usual.

Click here for more Linux tricks, tips and howtos.



Please log in or sign up and vote for this trick if it was helpful for you.
Don't forget to subscribe to our RSS Feed RSS/Atom feed to get the latest tricks.