On Wed, 27 Dec 2006, Pete Zaitcev wrote: > On Wed, 27 Dec 2006 20:07:28 -0500, Carlos Moffat <[EMAIL PROTECTED]> wrote: > > > If I do: > > > > eject /dev/sda > > > > immediately, or within a minute or so, the iPod is ejected correctly (at > > least it thinks so :) ). If I wait a few minutes, a get 4 or so > > > > usb 4-4: reset high speed USB device using ehci_hcd and address 4 > > > > before > > > > sd 2:0:0:0: scsi: Device offlined - not ready after error recovery > > As far as I can tell, many iPods have extremely screwy microcode. > I tried to tinker with it, but it's pretty hopeless. Look at this: > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154955 > > The only reliable solution is to mark iPods as "not removable" > We probably should do it to your model as well. > > The 60GB iPod Video and further were seen working reliably, but > there's not guarantee for it to continue.
The overall situation is very confusing. Quite apart from any possible bugs in the iPod firmware, we have the fact that at least two different drivers are involved (ub and usb-storage) and that the "eject" application itself wasn't (and presumably still isn't) entirely complete: In the cdrom part of the program, it would try various combinations of an "Eject" SG_IOCTL, a START-STOP command, and/or a PREVENT-ALLOW command -- but then once it had gotten the device into a state where it would be willing to eject, the program didn't issue another "Eject" ioctl! It wouldn't be surprising to see a similar mistake in the direct-access portion. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel