LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   "unable to eject" error when trying to safely remove ipod shuffle in slack 12 (http://www.linuxquestions.org/questions/slackware-14/unable-to-eject-error-when-trying-to-safely-remove-ipod-shuffle-in-slack-12-a-566623/)

mattydee 07-04-2007 01:46 PM

"unable to eject" error when trying to safely remove ipod shuffle in slack 12
 
I get:
Code:

The device was successfully unmounted but could not be ejected
when right clicking and selecting "safely remove".

Anyone know what is causing this behavior?

Note: The problem does not occur with a regular usb stick, just with the ipod shuffle.

UPDATE: This is probably a permissions problem since I get no errors as root... udev? groups?

randomsel 07-04-2007 02:21 PM

it says the ipod shuffle is unmounted, so it's safe to remove the device. I think the "could not be ejected" message pertains to CD and DVD drives. As far as I know, there's no way to eject an ipod tho it would be cool depending on the velocity :D

mattydee 07-04-2007 02:27 PM

Quote:

Originally Posted by randomsel
it says the ipod shuffle is unmounted, so it's safe to remove the device. I think the "could not be ejected" message pertains to CD and DVD drives. As far as I know, there's no way to eject an ipod tho it would be cool depending on the velocity :D

That would be cool indeed, until someone looses an eye!

I'd like to get rid of that error message if I could though. If I could let KDE know that I don't want to use my iPod as projectile...

gnashley 07-04-2007 03:47 PM

Some USB devices are able to be ejected, meaning that the light will go off when the device is unmounted -under Windows it will do this I mean. Linux doesn't support this USB feature so eject will fail or do nothing except unmount the device.

Yalla-One 07-04-2007 04:35 PM

Quote:

Originally Posted by gnashley
Some USB devices are able to be ejected, meaning that the light will go off when the device is unmounted -under Windows it will do this I mean. Linux doesn't support this USB feature so eject will fail or do nothing except unmount the device.

My experience differs slightly from this - as unmounting the iPod still has the iPod display the big "DO NOT DISCONNECT" warning in the window, but when I su root and do eject /dev/ipod30gb, it actually goes normal mode again, just as when Windows-users do a "remove media" or whatever its called from the status bar.

So there clearly is a way to eject the iPod without shooting it half-way through the room, but instead politely telling it (albeit only as root) that "Thank you very much - I'm done with your services now"..

-y1

Mr.X 07-04-2007 10:23 PM

After botching the post multiple times, this should provide good instructions:

http://gentoo-wiki.com/HOWTO_Using_a..._with_the_iPod

mattydee 07-05-2007 09:10 PM

Quote:

Originally Posted by Mr.X
After botching the post multiple times, this should provide good instructions:

http://gentoo-wiki.com/HOWTO_Using_a..._with_the_iPod

I've read through the page but no joy...

Can't seem to make udev assign the ipod to /dev/ipod instead of /dev/sd*

I'm fed up with it now, so I'll try later. Thanks for your help everyone.

rworkman 07-06-2007 01:23 AM

SUBSYSTEM=="usb", SYSFS{manufacturer}=="Apple*", SYSFS{product}=="iPod*", \
GROUP:="plugdev", MODE="0664", SYMLINK+="ipod"

Try that for the rule instead of the one they mention, and use udevtrigger instead of udevstart afterward.
If you'd prefer that the device gets some other group instead of users, then change that.

mattydee 07-06-2007 02:39 PM

Quote:

Originally Posted by rworkman
SUBSYSTEM=="usb", SYSFS{manufacturer}=="Apple*", SYSFS{product}=="iPod*", \
GROUP:="plugdev", MODE="0664", SYMLINK+="ipod"

Try that for the rule instead of the one they mention, and use udevtrigger instead of udevstart afterward.
If you'd prefer that the device gets some other group instead of users, then change that.

Hmm... still nothing. Should that be SUBSYSTEM=="usb_device" ? And is the back slash a typo?

randomsel 07-06-2007 02:48 PM

backslash is so that it'll take this line and the next as one line

rworkman 07-06-2007 06:03 PM

Yes, remove the backslash and place it all on one line, or paste it exactly as you see it into the rules file.

About SUBSYSTEM, that is correct (the "usb" portion). The only change that *might* be needed is to make it SUBSYSTEMS (not the plural rather than singular) - I'd have to see the udevinfo output to recall which is correct, but trial and error should be the easiest way for you to figure it out :)


All times are GMT -5. The time now is 05:17 AM.