On Thu, 22 Dec 2005 09:38:29 -0500 (EST)
Alan Stern <[EMAIL PROTECTED]> wrote:

> On Wed, 21 Dec 2005, Stephen Hemminger wrote:
> 
> > My new UPS Belkin F6H375-USB is not correctly picked up by linux
> > USB (2.6.15-rc6). The machine is AMD x86_64.  It doesn't seem to work
> > with 2.6.14 either, haven't gone back older than that.
> > 
> > dmesg 
> > usb 2-2: new full speed USB device using uhci_hcd and address 5
> > usb 2-2: khubd timed out on ep0in len=0/64
> > usb 2-2: khubd timed out on ep0in len=0/64
> > usb 2-2: khubd timed out on ep0in len=0/64
> > usb 2-2: device descriptor read/64, error -110
> 
> Can you try applying this diagnostic patch?  It should help tell whether
> the problem is in the UPS or in uhci-hcd.
> 
> When you run the test, don't plug in any USB devices other than the UPS.

The machine has a external hub with USB keyboard and mouse.

> 
> Index: linux-2.6.15-rc5/drivers/usb/host/uhci-q.c
> ===================================================================
> --- linux-2.6.15-rc5.orig/drivers/usb/host/uhci-q.c
> +++ linux-2.6.15-rc5/drivers/usb/host/uhci-q.c
> @@ -1372,6 +1372,17 @@ static int uhci_urb_dequeue(struct usb_h
>               goto done;
>       list_del_init(&urbp->urb_list);
>  
> +     {
> +             static int cnt;
> +
> +             if (errbuf && cnt < 2) {
> +                     ++cnt;
> +                     uhci_show_qh(urbp->qh, errbuf, ERRBUF_LEN, 0);
> +                     printk(KERN_DEBUG "URB unlink:\n");
> +                     lprintk(errbuf);
> +             }
> +     }
> +
>       if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS)
>               unlink_isochronous_tds(uhci, urb);
>       uhci_unlink_generic(uhci, urb);


URB unlink:
[ffff81003e752300] link (3e7521c2) element (3c8cc050)
  0: [ffff81003c8cc050] link (00000001) e3 LS IOC Active Length=0
MaxLen=3 DT0 EndPt=1 Dev=3, PID=69(IN) (buf=3c956000)

URB unlink:
[ffff81003e752300] link (3e7521c2) element (3c8cc050)
  0: [ffff81003c8cc050] link (00000001) e3 LS IOC Active Length=0
MaxLen=3 DT0 EndPt=1 Dev=3, PID=69(IN) (buf=3c956000)

hub 1-0:1.0: state 5 ports 8 chg 0000 evt 0004
ehci_hcd 0000:00:10.4: GetStatus port 2 status 001803 POWER sig=j CSC
CONNECT hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:10.4: GetStatus port 2 status 001402 POWER sig=k CSC
hub 1-0:1.0: state 5 ports 8 chg 0000 evt 0004
ehci_hcd 0000:00:10.4: GetStatus port 2 status 001803 POWER sig=j CSC
CONNECT hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:10.4: port 2 low speed --> companion
ehci_hcd 0000:00:10.4: GetStatus port 2 status 003802 POWER OWNER sig=j
CSC hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
uhci_hcd 0000:00:10.0: port 2 portsc 0193,00
hub 2-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301
usb 2-2: new low speed USB device using uhci_hcd and address 5
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: device descriptor read/64, error -110
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: device descriptor read/64, error -110
usb 2-2: new low speed USB device using uhci_hcd and address 6
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: device descriptor read/64, error -110
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: khubd timed out on ep0in len=0/64
usb 2-2: device descriptor read/64, error -110
usb 2-2: new low speed USB device using uhci_hcd and address 7
usb 2-2: khubd timed out on ep0out len=0/0
usb 2-2: khubd timed out on ep0out len=0/0
usb 2-2: device not accepting address 7, error -110
usb 2-2: new low speed USB device using uhci_hcd and address 8
usb 2-2: khubd timed out on ep0out len=0/0
usb 2-2: khubd timed out on ep0out len=0/0
usb 2-2: device not accepting address 8, error -110


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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