Hilo,

> -----Original Message-----
> From: Alastair Foster [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 03, 2001 12:21 PM
> To: [EMAIL PROTECTED]
> Subject: [Linux-usb-users] Two Quick Questions
> 
> I've got two quick (or maybe not so quick) questions for you guys:
> 
> 1 - What does the following kernel debug message mean?
> "Mar  3 19:20:15 localhost kernel: usb.c: selecting invalid 
> configuration 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
It means that in usb_set_configuration() in
linux/drivers/usb.c, the new configuration value (1) could not
be found in the device's descriptors.


> Mar  3 19:20:17 localhost kernel: usbdevfs: USBDEVFS_BULK failed dev
>    2 ep 0x83 len 2054 ret -110"
> Is there an obvious cause, or could it mean anything?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No obvious cause to me.  It means ETIMEDOUT, i.e., the
USB transfer timed out.  The device didn't respond.


> 2 - The device I am attempting to access has three configuration
> settings:
~~~~~~~~~~~~~~~~~~~~~~~~~~
Can you post the complete descriptor dump...at least the
numeric fields?  You can x-out the strings if you need
to hide them.

> "Mar  3 19:20:09 localhost kernel:   Alternate Setting:  0 
> Mar  3 19:20:09 localhost kernel:     bLength             =    9 
> Mar  3 19:20:09 localhost kernel:     bDescriptorType     =   04 
> Mar  3 19:20:09 localhost kernel:     bInterfaceNumber    =   00 
> Mar  3 19:20:09 localhost kernel:     bAlternateSetting   =   00 
> Mar  3 19:20:09 localhost kernel:     bNumEndpoints       =   03 
> Mar  3 19:20:09 localhost kernel:     bInterface 
> Class:SubClass:Protocol =  00:00:00 
> Mar  3 19:20:09 localhost kernel:     iInterface          =   00 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   01 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        =   03
> (Interrupt) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0010 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   0a 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   02 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        = 
>   02 (Bulk) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0040 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   83 (in) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        = 
>   02 (Bulk) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0040 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01 
> Mar  3 19:20:09 localhost kernel:   Alternate Setting:  1 
> Mar  3 19:20:09 localhost kernel:     bLength             =    9 
> Mar  3 19:20:09 localhost kernel:     bDescriptorType     =   04 
> Mar  3 19:20:09 localhost kernel:     bInterfaceNumber    =   00 
> Mar  3 19:20:09 localhost kernel:     bAlternateSetting   =   01 
> Mar  3 19:20:09 localhost kernel:     bNumEndpoints       =   03 
> Mar  3 19:20:09 localhost kernel:     bInterface 
> Class:SubClass:Protocol = 00:00:00 
> Mar  3 19:20:09 localhost kernel:     iInterface          =   00 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   01 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        =   03
> (Interrupt) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0010 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   0a 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   02 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        = 
>   02 (Bulk) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0040 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   03 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        = 
>   02 (Bulk) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0040 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01 
> Mar  3 19:20:09 localhost kernel:   Alternate Setting:  2 
> Mar  3 19:20:09 localhost kernel:     bLength             =    9 
> Mar  3 19:20:09 localhost kernel:     bDescriptorType     =   04 
> Mar  3 19:20:09 localhost kernel:     bInterfaceNumber    =   00 
> Mar  3 19:20:09 localhost kernel:     bAlternateSetting   =   02 
> Mar  3 19:20:09 localhost kernel:     bNumEndpoints       =   03 
> Mar  3 19:20:09 localhost kernel:     bInterface 
> Class:SubClass:Protocol = 00:00:00 
> Mar  3 19:20:09 localhost kernel:     iInterface          =   00 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   01 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        =   03
> (Interrupt) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0010 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   0a 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   02 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        = 
>   02 (Bulk) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0040 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   83 (in) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        =   01
> (Isochronous) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 03f0 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01 
> Mar  3 19:20:09 localhost kernel:   Alternate Setting:  3 
> Mar  3 19:20:09 localhost kernel:     bLength             =    9 
> Mar  3 19:20:09 localhost kernel:     bDescriptorType     =   04 
> Mar  3 19:20:09 localhost kernel:     bInterfaceNumber    =   00 
> Mar  3 19:20:09 localhost kernel:     bAlternateSetting   =   03 
> Mar  3 19:20:09 localhost kernel:     bNumEndpoints       =   03 
> Mar  3 19:20:09 localhost kernel:     bInterface 
> Class:SubClass:Protocol = 00:00:00 
> Mar  3 19:20:09 localhost kernel:     iInterface          =   00 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   01 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        =   03
> (Interrupt) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0010 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   0a 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   82 (in) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        = 
>   02 (Bulk) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 0040 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01 
> Mar  3 19:20:09 localhost kernel:     Endpoint: 
> Mar  3 19:20:09 localhost kernel:       bLength             =    7 
> Mar  3 19:20:09 localhost kernel:       bDescriptorType     =   05 
> Mar  3 19:20:09 localhost kernel:       bEndpointAddress    = 
>   03 (out) 
> Mar  3 19:20:09 localhost kernel:       bmAttributes        =   01
> (Isochronous) 
> Mar  3 19:20:09 localhost kernel:       wMaxPacketSize      = 03f0 
> Mar  3 19:20:09 localhost kernel:       bInterval           =   01"
> 
> I note that profile 1 has three out endpoint addresses, but 
> no in endpoint
> addresses. What does this mean in practise? Does it mean that no data
> can be written to the device?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Control endpoint 0 is always available for input/output.


> -- 
> Alastair Foster
> http://users.netaccess.co.nz/ala/
> 021 250 6482


~Randy_________________________________________
|NOTE: Any views presented here are mine alone|
|& may not represent the views of my employer.|
-----------------------------------------------


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to