On Mon, Feb 04, 2008 at 04:45:45PM -0500, Alan Stern wrote: > On Mon, 4 Feb 2008, Fabio Venturi wrote: > > > > It's probably the result of a bug in the mp3 player's firmware. The > > > patch below might work around the bug, try it and see. > > > > > > Alan Stern > > > > > > > > > Index: usb-2.6/drivers/usb/core/quirks.c > > > =================================================================== > > > --- usb-2.6.orig/drivers/usb/core/quirks.c > > > +++ usb-2.6/drivers/usb/core/quirks.c > > > @@ -28,6 +28,9 @@ > > > * devices is broken... > > > */ > > > static const struct usb_device_id usb_quirk_list[] = { > > > + /* Action Semiconductor flash disk */ > > > + { USB_DEVICE(0x10d6, 0x1101), .driver_info = > > > USB_QUIRK_STRING_FETCH_255}, > > > + > > > /* CBM - Flash disk */ > > > { USB_DEVICE(0x0204, 0x6025), .driver_info = USB_QUIRK_RESET_RESUME }, > > > /* HP 5300/5370C scanner */ > > > > I applied the patch manually since the command 'patch' reject it, > > then i recompiled the kernel (make clean && make mrproper etc. etc.), > > rebooted the new kernel, but nothing change: > > > > Feb 4 22:13:51 silverstar usb 1-5: new high speed USB device using > > ehci_hcd and address 5 > > Feb 4 22:13:51 silverstar usb 1-5: config 1 interface 0 altsetting 0 > > endpoint 0x83 has an invalid bInterval 200, changing to 11 > > Feb 4 22:13:52 silverstar usb 1-5: configuration #1 chosen from 1 > > choice > > Feb 4 22:13:52 silverstar usb 1-5: USB disconnect, address 5 > > > > over and over.... > > Can you post the usbmon output for the patched kernel? > > > If it's a firware bug, what I have to do? > > That remains to be seen... > > > How is it possible that the device works if present at boot, > > otherwise it does not? > > I don't know. It may be a matter of how much time passes between when > the device is plugged in and when the system starts trying to enumerate > it. > > Alan Stern
Here is the output of usbmon with the patched kernel: dbc5a240 618286932 C Ii:1:001:1 0:2048 1 = 08 dbc5a240 618286948 S Ii:1:001:1 -115:2048 4 < dbac73c0 618286961 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618286966 C Ci:1:001:0 0 4 = 01050100 dbac73c0 618286969 S Co:1:001:0 s 23 01 0010 0003 0000 0 dbac73c0 618286972 C Co:1:001:0 0 0 dbac73c0 618286975 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618286977 C Ci:1:001:0 0 4 = 01050000 dbac73c0 618312903 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618312907 C Ci:1:001:0 0 4 = 01050000 dbac73c0 618338926 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618338931 C Ci:1:001:0 0 4 = 01050000 dbac73c0 618364921 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618364928 C Ci:1:001:0 0 4 = 01050000 dbac73c0 618390903 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618390909 C Ci:1:001:0 0 4 = 01050000 dbac73c0 618390917 S Co:1:001:0 s 23 03 0004 0003 0000 0 dbac73c0 618390920 C Co:1:001:0 0 0 dbac73c0 618441903 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618442239 C Ci:1:001:0 0 4 = 03051000 dbac73c0 618492896 S Co:1:001:0 s 23 01 0014 0003 0000 0 dbac73c0 618492902 C Co:1:001:0 0 0 dbac73c0 618493148 S Ci:1:000:0 s 80 06 0100 0000 0040 64 < dbac73c0 618493727 C Ci:1:000:0 0 18 = 12010002 ff000040 d6100022 00010102 0301 dbac73c0 618493736 S Co:1:001:0 s 23 03 0004 0003 0000 0 dbac73c0 618493739 C Co:1:001:0 0 0 dbac73c0 618543904 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 618544206 C Ci:1:001:0 0 4 = 03051000 dbac73c0 618594897 S Co:1:001:0 s 23 01 0014 0003 0000 0 dbac73c0 618594904 C Co:1:001:0 0 0 dbac73c0 618594909 S Co:1:000:0 s 00 05 000b 0000 0000 0 dbac73c0 618595068 C Co:1:000:0 0 0 dbac73c0 618606900 S Ci:1:011:0 s 80 06 0100 0000 0012 18 < dbac73c0 618607189 C Ci:1:011:0 0 18 = 12010002 ff000040 d6100022 00010102 0301 dbac73c0 618607203 S Ci:1:011:0 s 80 06 0200 0000 0009 9 < dbac73c0 618607314 C Ci:1:011:0 0 9 = 09022700 0101ee80 96 dbac73c0 618607323 S Ci:1:011:0 s 80 06 0200 0000 0027 39 < dbac73c0 618607439 C Ci:1:011:0 0 39 = 09022700 0101ee80 96090400 00030805 50000705 01020002 00070582 02000200 dbd15140 618607660 S Ci:1:011:0 s 80 06 0300 0000 00ff 255 < dbd15140 618607814 C Ci:1:011:0 0 4 = 04030904 dbd15140 618607825 S Ci:1:011:0 s 80 06 0302 0409 00ff 255 < dbd15140 618608439 C Ci:1:011:0 0 52 = 34034100 63007400 69006f00 6e007300 20004d00 74007000 20004400 65007600 dbd15140 618608448 S Ci:1:011:0 s 80 06 0301 0409 00ff 255 < dbd15140 620000257 C Ci:1:011:0 -71 64 = 40034100 63007400 69006f00 6e007300 20005300 65006d00 69006300 6f006e00 dbc5a240 620000273 C Ii:1:001:1 0:2048 1 = 08 dbc5a240 620000279 S Ii:1:001:1 -115:2048 4 < dbd15140 620000359 S Ci:1:011:0 s 80 06 0301 0409 0002 2 < dbd15140 620000493 C Ci:1:011:0 -71 0 dbd15140 620000510 S Ci:1:011:0 s 80 06 0303 0409 00ff 255 < dbd15140 620000746 C Ci:1:011:0 -71 0 dbd15140 620000765 S Ci:1:011:0 s 80 06 0303 0409 0002 2 < dbd15140 620000995 C Ci:1:011:0 -71 0 dbd15140 620001951 S Co:1:011:0 s 00 09 0001 0000 0000 0 dbd15140 620002121 C Co:1:011:0 -71 0 dbd15140 620002270 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbd15140 620002286 C Ci:1:001:0 0 4 = 00010100 dbd15140 620002298 S Co:1:001:0 s 23 01 0010 0003 0000 0 dbd15140 620002310 C Co:1:001:0 0 0 dbac73c0 620002722 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 620002738 C Ci:1:001:0 0 4 = 00010000 dbac73c0 620027900 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 620027968 C Ci:1:001:0 0 4 = 00010000 dbac73c0 620054016 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 620054078 C Ci:1:001:0 0 4 = 00010000 dbac73c0 620079902 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 620079967 C Ci:1:001:0 0 4 = 00010000 dbac73c0 620105913 S Ci:1:001:0 s a3 00 0000 0003 0004 4 < dbac73c0 620105978 C Ci:1:001:0 0 4 = 00010000 Thank you again for the help, Fabio - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html