Re: khbud stuck in D state

Andrew Morton <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sun, 18 Nov 2007 22:18:17 -0500 (EST) Alan Stern <[email protected]> wrote:

> On Sun, 18 Nov 2007, Andrew Morton wrote:
> 
> > On Sun, 18 Nov 2007 12:12:56 -0500 (EST) Alan Stern <[email protected]> wrote:
> > 
> > > On Sun, 18 Nov 2007, Andrew Morton wrote:
> > > 
> > > > On Sun, 18 Nov 2007 01:51:12 -0800 Andrew Morton <[email protected]> wrote:
> > > > 
> > > > > Running RH 2.6.23.1-49.fc8 on a new laptop (lenovo t61p).  Unplugged the
> > > > > serial mouse, plugged it into the other port, plugged my camera into the
> > > > > original port and found everything in USB land to be dead.
> 
> > > Is this still not working?
> > 
> > It only happened the once.
> 
> Which makes it kinda hard to debug.  :-)
> 
> > > Does it work any better with a vanilla 
> > > 2.6.23.1 kernel?  What does CONFIG_USB_DEBUG reveal?
> > 
> > Dunno, I haven't got onto building a kernel for this thing yet.  I'm still
> > at the "gee I'm glad I thought of enbling AHCI in the BIOS but gee I'm sad
> > I had to patch the X server" stage.  Next comes wireless...
> 
> About all I can say is that the problem seems to be caused by a missing 
> hardware I/O completion event.  Maybe an interrupt wasn't delivered 
> properly, or maybe the USB controller didn't update the in-memory data 
> structures properly, ...
> 

Here's a reproducible one: when I hotplug a USB mouse it doesn't do
anything.  But as soon as I run `lsusb' the mouse cursor starts to work.

Unplug the mouse, dmesg says

	usb 5-1: USB disconnect, address 6

Plug the mouse in, dmesg says

	<nothing>

Run lsusb, dmesg says

	usb 5-1: new low speed USB device using uhci_hcd and address 7
	usb 5-1: configuration #1 chosen from 1 choice
	input: Microsoft Microsoft Wireless Optical Mouse 1.00 as /class/input/input16
	input: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse 1.00] on usb-0000:00:1d.0-1

and volia.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.