On Sat, 11 Nov 2006 [EMAIL PROTECTED] wrote:

>  Reran data. Lsusb results in with dmesg data. Wasn't sure when to kill
> the cat process so left it running until the data was all collected.
> Better too much data than too little. The dmesg now has some interesting
> failure comments from 18.2.

Attached are two small patches, one for 2.6.15 and the other for 2.6.18.  
They will add a bunch of debugging information to the system log when the
scanner is turned on.  Please try running your test again (with each
kernel) and post the resulting logs.

usbmon isn't needed for this test.

Alan Stern
--- 2.6.15-orig/drivers/usb/host/uhci-q.c       2006-11-12 10:52:57.000000000 
-0500
+++ 2.6.15/drivers/usb/host/uhci-q.c    2006-11-12 10:56:38.000000000 -0500
@@ -1370,6 +1370,12 @@
        urbp = urb->hcpriv;
        if (!urbp)                      /* URB was never linked! */
                goto done;
+       if (errbuf) {
+               debug = 3;
+               uhci_show_qh(urbp->qh, errbuf, ERRBUF_LEN, 0);
+               lprintk(errbuf);
+               debug = 1;
+       }
        list_del_init(&urbp->urb_list);
 
        if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS)
--- 2.6.18-orig/drivers/usb/host/uhci-q.c       2006-11-12 10:58:00.000000000 
-0500
+++ 2.6.18/drivers/usb/host/uhci-q.c    2006-11-12 11:00:00.000000000 -0500
@@ -1221,6 +1221,12 @@
        if (!urbp)                      /* URB was never linked! */
                goto done;
        qh = urbp->qh;
+       if (errbuf) {
+               debug = 3;
+               uhci_show_qh(qh, errbuf, ERRBUF_LEN, 0);
+               lprintk(errbuf);
+               debug = 1;
+       }
 
        /* Remove Isochronous TDs from the frame list ASAP */
        if (qh->type == USB_ENDPOINT_XFER_ISOC) {
-------------------------------------------------------------------------
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