Thanks for the new logs files.
Unfortunately they don't help me.  They look normal
as far as hub detection and configuration,
so I don't know where/how to begin debugging this
(without a problem monitor/hub).

For Ken's monitor/hub problem, it looked to me like
usb_hub_configure() was failing {quietly} for some
unknown reason.  The attached patch just makes
failures in usb_hub_configure() be loud instead of
quiet.  Ken, please let us know what this says,
if anything.

~Randy
-- 
___________________________________________________
|Randy Dunlap     Intel Corp., DAL    Sr. SW Engr.|
|randy.dunlap.at.intel.com            503-696-2055|
|NOTE:  Any views presented here are mine alone   |
|and may not represent the views of my employer.  |
|_________________________________________________|
--- usb-240t1-ac7/hub.c Sat May 20 11:23:54 2000
+++ usb/hub.c   Wed May 31 11:21:26 2000
@@ -123,16 +123,21 @@
        int i;
 
        /* Get the length first */
-       if (usb_get_hub_descriptor(dev, buffer, 4) < 0)
+       if (usb_get_hub_descriptor(dev, buffer, 4) < 0) {
+               err ("TEST: get_hub_desc length failed");
                return -1;
+       }
 
        header = (struct usb_descriptor_header *)buffer;
        bitmap = kmalloc(header->bLength, GFP_KERNEL);
-       if (!bitmap)
+       if (!bitmap) {
+               err ("TEST: kmalloc(bitmap) failed");
                return -1;
+       }
 
        if (usb_get_hub_descriptor(dev, bitmap, header->bLength) < 0) {
                kfree(bitmap);
+               err ("TEST: get_hub_desc (%d) failed", header->bLength);
                return -1;
        }
 
@@ -182,8 +187,10 @@
 
        kfree(bitmap);
 
-       if (usb_get_hub_status(dev, buffer) < 0)
+       if (usb_get_hub_status(dev, buffer) < 0) {
+               err ("TEST: get_hub_status failed");
                return -1;
+       }
 
        hubsts = (struct usb_hub_status *)buffer;
        dbg("local power source is %s",

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to