On Sun, 30 Nov 2003, Bruno GRIEDER wrote: > Alan, > > Thanks for your reply ( and sorry for the spelling mistakes). > > Please find below the requested information: > > lsusb -v with kernel 2.4 showing 2 bulk endpoints on interface 0 > lsusb -v with kernel 2.6 pre 9 showing 0 endpoint on interface 0 > > /var/log/syslog on kernel 2.6 pre 9 when the device is plugged > /var/log/kernel/info on kernel 2.6 pre 9 when the device is plugged > /var/log/kernel/errors on kernel 2.6 pre 9 when the device is plugged > > Best Regards > > Bruno Grieder
Are the 2.4 and 2.6 runs made using the same computer and same hardware, just different operating systems? Is the device plugged in to the same port each time? I ask because the descriptors shown below aren't the same. Are you using the same lsusb program for both tests? You're getting different values for the configuration's wTotalLength and the interface's bNumEndpoints, bInterfaceClass, bInterfaceSubClass, and bInterfaceProtocol. This makes it look like two completely different descriptor sets, as though one test was run at full speed and the other at high speed. > Kernel 2.4 lsusb -v showing 2 endpointis on interface 0 <snip> > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 32 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0x80 > MaxPower 500mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 0 > bInterfaceProtocol 255 > iInterface 0 <snip> > Kernel 2.6: lsusb -v showing 0 endpoints on interface 0 <snip> > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0x80 > MaxPower 500mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 0 > bInterfaceClass 254 > bInterfaceSubClass 1 > bInterfaceProtocol 0 > iInterface 0 > unknown descriptor type: 07 21 01 13 05 00 04 If that's a descriptor at all, it's a vendor-specific one and it didn't show up in the previous output. Where are your copies of /proc/bus/usb/devices with the device plugged in under 2.4 and 2.6? The logs look pretty normal. Except for one apparently unrelated item: > kernel 2.6: /var/log/kernel/errors > > Nov 28 21:50:08 localhost kernel: sr0: CDROM (ioctl) reports ILLEGAL > REQUEST. > Nov 29 00:59:57 localhost kernel: uhci.c: 48c0: host controller halted. > very bad That should never happen! Do you think it has anything to do with your problem? From the timestamp it occurred about 5 minutes _before_ you plugged in your device. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel