On Fri, 30 Jun 2006, Foli Ayivoh wrote:

> Alan Stern wrote:
> > On Wed, 28 Jun 2006, Andrew Morton wrote:
> > 
> > > Begin forwarded message:
> > > 
> > > Date: Tue, 27 Jun 2006 20:18:45 +0200
> > > From: Foli Ayivoh <[EMAIL PROTECTED]>
> > > To: lkml <linux-kernel@vger.kernel.org>
> > > Subject: Problems with [USB] on Kernel 2.6.x [1/3]
> > > 
> > > 
> > > Two issues on USB:
> > > 
> > > First:
> > > USB-HDD boot device hangs
> > > Tested with Kernel 2.6.16.13-4 (SuSE), Kernel 2.6.17, Kernel 2.6.17-mm2, 
> > > Kernel 2.6.17-mm3
> > > it works, it hangs, it gets reseted, it works again until next hang, and 
> > > on ...
> > > The only hint in dmesg is:
> > > usb 1-2.7: reset high speed USB device using ehci_hcd and address 6
> > > The USB-HDD device works fine if connected as USB-HDD device, not as 
> > > USB-HDD _boot_ device,
> > > tested with Kernel 2.6.16.13-4 (SuSE) on different mainboard, booting not 
> > > tested
> > 
> > There has been at least one other similar report, about a USB mass storage 
> > device that did not work properly in the boot environment but did work 
> > properly afterward.  We couldn't figure out what was wrong.
> > 
> > Please try turning on CONFIG_USB_STORAGE_DEBUG and rebuilding your boot 
> > kernel.  Then the dmesg may contain something more useful.
> > 
> > > Second:
> > > Not ending USB device disconnect and reconnect
> > > Tested with Kernel 2.6.16.13-4 (SuSE), it works fine
> > > Tested with Kernel 2.6.17, Kernel 2.6.17-mm2, Kernel 2.6.17-mm3
> > > dmesg shows:
> > > usb 2-1.1: new low speed USB device using ohci_hcd and address 100
> > > usb 2-1.1: new device found, idVendor=046a, idProduct=0023
> > > usb 2-1.1: new device strings: Mfr=0, Product=0, SerialNumber=0
> > > usb 2-1.1: configuration #1 chosen from 1 choice
> > > input: HID 046a:0023 as /class/input/input195
> > > input: USB HID v1.11 Keyboard [HID 046a:0023] on usb-0000:00:02.0-1.1
> > > /home/testit/kernel-source/linux-2.6.17/drivers/usb/input/hid-core.c: 
> > > ctrl urb status -110 received
> > > input: HID 046a:0023 as /class/input/input196
> > > input: USB HID v1.11 Device [HID 046a:0023] on usb-0000:00:02.0-1.1
> > > usb 2-1.1: reset low speed USB device using ohci_hcd and address 100
> > > usb 2-1.1: failed to restore interface 0 altsetting 0 (error=-110)
> > > usb 2-1.1: USB disconnect, address 100
> > > usb 2-1.1: new low speed USB device using ohci_hcd and address 101
> > > ...
> > > and on
> > 
> > It sounds like this keyboard just isn't working right.  You can get more 
> keyboard runs well on Kernel 2.6.16.13-4 (SuSE) !    <<<===========
> > information by setting CONFIG_USB_DEBUG.
> > 
> > Alan Stern
> > 
> > 
> Hello Alen,
> 
> I hope this will help!?
> 
> Tested with Kernel 2.6.17 with usb debug on,
> one second(time) out of Kernel /var/log/messages:

I didn't mean for you to use both CONFIG settings for the same test!  The
CONFIG_USB_STORAGE_DEBUG setting was only for debugging the USB drive
failure at boot time.  For future testing of the keyboard, you should turn
off CONFIG_USB_STORAGE_DEBUG.

Here's what you can do next:  Use the usbmon facility to see what the 
keyboard is doing.  The instructions for usbmon are in the kernel source 
file Documentation/usb/usbmon.txt.  You will need to set CONFIG_DEBUG_FS 
and CONFIG_USB_MON in order to use usbmon.

Then you will have to do something like this:

        mount -t debugfs none /sys/kernel/debug
        modprobe usbmon
        cat /sys/kernel/debug/usbmon/2t >kbdlog

_before_ the keyboard is plugged in, so that the log file will contain all 
the messages.  This means you will probably need to use a network login 
to start the test (unless you can use a non-USB keyboard).

Do this under both 2.6.16 and 2.6.17 so that I can compare the results and 
see what the differences are.

Alan Stern



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to