While inverstigating, why usb_reset_device() doesn't work for me, if found 
out that the OnSpec 90C36-LC1 can't handle usb_set_interface(). Since it 
only has one interface (any only 1 alt-setting), i guess the asic designers 
were to lazy to implement this.

For the first connection of a device to the USB, usb_set_interface() is 
never called (unless the class driver does so).

Shouldn't it be removed for hub.c's usb_reset_device(), or at least only be 
called when bAlternateSetting != 0 ?

I stumbled over the, because rmmod/insmod'ing usb-uhci successfully reset 
the device, while usb_reset_device() didn't !

btw. CompactFlash and SmartMedia slots now working (read-only).

-sda


Jan 12 15:57:52 ice kernel:   Length              = 18
Jan 12 15:57:52 ice kernel:   DescriptorType      = 01
Jan 12 15:57:52 ice kernel:   USB version         = 1.10
Jan 12 15:57:52 ice kernel:   Vendor:Product      = 0c0b:a109
Jan 12 15:57:52 ice kernel:   MaxPacketSize0      = 8
Jan 12 15:57:52 ice kernel:   NumConfigurations   = 1
Jan 12 15:57:52 ice kernel:   Device version      = 17.08
Jan 12 15:57:52 ice kernel:   Device Class:SubClass:Protocol = ff:00:00
Jan 12 15:57:52 ice kernel:     Vendor class
Jan 12 15:57:52 ice kernel: Configuration:
Jan 12 15:57:52 ice kernel:   bLength             =    9
Jan 12 15:57:52 ice kernel:   bDescriptorType     =   02
Jan 12 15:57:52 ice kernel:   wTotalLength        = 0020
Jan 12 15:57:52 ice kernel:   bNumInterfaces      =   01
Jan 12 15:57:52 ice kernel:   bConfigurationValue =   01
Jan 12 15:57:52 ice kernel:   iConfiguration      =   00
Jan 12 15:57:52 ice kernel:   bmAttributes        =   c0
Jan 12 15:57:52 ice kernel:   MaxPower            =  100mA
Jan 12 15:57:52 ice kernel:
Jan 12 15:57:52 ice kernel:   Interface: 0
Jan 12 15:57:52 ice kernel:   Alternate Setting:  0
Jan 12 15:57:52 ice kernel:     bLength             =    9
Jan 12 15:57:52 ice kernel:     bDescriptorType     =   04
Jan 12 15:57:52 ice kernel:     bInterfaceNumber    =   00
Jan 12 15:57:52 ice kernel:     bAlternateSetting   =   00
Jan 12 15:57:52 ice kernel:     bNumEndpoints       =   02
Jan 12 15:57:52 ice kernel:     bInterface Class:SubClass:Protocol =   ff:00:00
Jan 12 15:57:52 ice kernel:     iInterface          =   00
Jan 12 15:57:52 ice kernel:     Endpoint:
Jan 12 15:57:52 ice kernel:       bLength             =    7
Jan 12 15:57:52 ice kernel:       bDescriptorType     =   05
Jan 12 15:57:52 ice kernel:       bEndpointAddress    =   01 (out)
Jan 12 15:57:52 ice kernel:       bmAttributes        =   02 (Bulk)
Jan 12 15:57:52 ice kernel:       wMaxPacketSize      = 0040
Jan 12 15:57:52 ice kernel:       bInterval           =   00
Jan 12 15:57:52 ice kernel:     Endpoint:
Jan 12 15:57:52 ice kernel:       bLength             =    7
Jan 12 15:57:52 ice kernel:       bDescriptorType     =   05
Jan 12 15:57:52 ice kernel:       bEndpointAddress    =   82 (in)
Jan 12 15:57:52 ice kernel:       bmAttributes        =   02 (Bulk)
Jan 12 15:57:52 ice kernel:       wMaxPacketSize      = 0040
Jan 12 15:57:52 ice kernel:       bInterval           =   00


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

Reply via email to