On Sun, 18 Sep 2005 11:33:26 +0200, Jan Dittmer <[EMAIL PROTECTED]> wrote:
> >>[4296299.892000] usb 5-4.1.2: new high speed USB device using ehci_hcd and > >>address 11 > >>[4296301.980000] ub: cmd #0 cmd status (-104) > >>[4296301.980000] ub(5.11): GetMaxLUN returned 0, using 1 LUNs > >>[4296303.980000] ub: cmd #1 cmd status (-104) > >>[4296304.199000] Initializing USB Mass Storage driver... > usbmon-inq.txt captures the attaching of the device and around 5 > syslog messages. It seems that I have to ditch the toggle resets, at least for the time being. Please try the attached patch and let me know if it helps. -- Pete --- linux-2.6.14-rc1/drivers/block/ub.c 2005-09-13 10:44:11.000000000 -0700 +++ linux-2.6.14-rc1-lem/drivers/block/ub.c 2005-09-20 12:42:39.000000000 -0700 @@ -2213,8 +2223,10 @@ static int ub_probe(struct usb_interface * This is needed to clear toggles. It is a problem only if we do * `rmmod ub && modprobe ub` without disconnects, but we like that. */ +#if 0 /* iPod Mini fails if we do this (big white iPod works) */ ub_probe_clear_stall(sc, sc->recv_bulk_pipe); ub_probe_clear_stall(sc, sc->send_bulk_pipe); +#endif /* * The way this is used by the startup code is a little specific. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel