On Sat, 5 Aug 2006 11:14:47 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote:

> > I think a few people have posted the same problem before but I cannot
> > find any answer on this...I am still having problem with ejecting ipod
> > after a few verions of kernel 2.6 and keep getting "reset high speed USB
> > device using ehci_hcd"
> 
> You must be using the wrong word.  "Eject" means "remove something from 
> something else".  For example, you can eject a floppy disk from its drive, 
> or you can eject a memory card from a card reader.  But what can you eject 
> from an iPod?

When iPod receives an eject command, it shuts down and displays the
"OK to disconnect" graphic.

> Do you mean that the "eject" command gets errors when you run it for the 
> iPod?  The real problem is that you shouldn't be using the "eject" command 
> at all.

Bull!

> With the iPod, there is nothing to eject.  Even worse, when the iPod 
> receives a SCSI eject command, it usually crashes!

Well, yeah, this is what -71 is. However, when exactly the same
eject binary is used with ub, everything works fine. Funny, isn't it?

> > I collected some date and hopefully it will be useful to nail down the
> > problem.
> 
> The problem is the iPod.

No, the problem is in our SCSI stack.

> > [EMAIL PROTECTED] ~ # date; eject -v -s /dev/sda2
> 
> You've got a big error right there.  /dev/sda2 refers to a single
> partition on the iPod, not the entire device itself.

It's completely all right to supply a partition to eject(1).
The eject(1) finds the full device, and unmounts everything
mounted on it.

> > Aug  4 20:59:38 kafai-lap usb-storage: Command START_STOP (6 bytes)
> > Aug  4 20:59:38 kafai-lap usb-storage:  1b 00 00 00 01 00
> 
> This command tells the iPod to eject its medium.  It causes the iPod to 
> crash.

I think you're too hasty here.

Alan, look at this:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193296

There was also an earlier bug, which has a lot of context about
the way eject actually works. Martin's use of -s is a smart way
to do it. Notice that for the majority of users in that bug, there
is no -71. It only started happening recently.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154955

-- Pete

-------------------------------------------------------------------------
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

Reply via email to