On Tue, 2003-08-12 at 05:02, David Brownell wrote:
> I won't send information saying how to apply patches, build
> kernels, install them, etc; that's widely available.  But
> here's the diagnostic patch I described.  Apply, run; and
> send the resulting kernel messages.
> 
> - Dave
> ===== drivers/usb/core/message.c 1.34 vs edited =====
> --- 1.34/drivers/usb/core/message.c   Mon Aug 11 07:56:25 2003
> +++ edited/drivers/usb/core/message.c Tue Aug 12 07:54:19 2003
> @@ -1055,6 +1055,7 @@
>       }
>       if ((!cp && configuration != 0) || (cp && configuration == 0)) {
>               warn("selecting invalid configuration %d", configuration);
> +             usb_show_device(dev);
>               return -EINVAL;
>       }
>  

After applying the patch this shows in dmesg.

  Length              = 18
  DescriptorType      = 01
  USB version         = 1.10
  Vendor:Product      = 062a:0000
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 2.04
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0022
  bNumInterfaces      =   01
  bConfigurationValue =   00
  iConfiguration      =   00
  bmAttributes        =   a0
  bMaxPower            =  100mA
 
  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   03:01:02
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0004
      bInterval           =   0a

Please instruct me about what to do next.

Thanks,
Warren Togami
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to