LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-04-2007, 12:46 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
"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?

Last edited by mattydee; 07-04-2007 at 01:04 PM.
 
Old 07-04-2007, 01:21 PM   #2
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
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
 
Old 07-04-2007, 01:27 PM   #3
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Original Poster
Rep: Reputation: 39
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
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...
 
Old 07-04-2007, 02:47 PM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,752

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
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.
 
Old 07-04-2007, 03:35 PM   #5
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
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
 
Old 07-04-2007, 09:23 PM   #6
Mr.X
LQ Newbie
 
Registered: Dec 2006
Location: Sector 001
Distribution: Slackware 12.1
Posts: 9

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

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

Last edited by Mr.X; 07-04-2007 at 09:40 PM.
 
Old 07-05-2007, 08:10 PM   #7
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Original Poster
Rep: Reputation: 39
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.
 
Old 07-06-2007, 12:23 AM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
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.
 
Old 07-06-2007, 01:39 PM   #9
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Original Poster
Rep: Reputation: 39
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?
 
Old 07-06-2007, 01:48 PM   #10
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
backslash is so that it'll take this line and the next as one line
 
Old 07-06-2007, 05:03 PM   #11
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing "Safely Remove" drummerdan Slackware 13 03-19-2006 10:59 PM
Can't "Safely Remove" usb stick: KDE, SUSE 10.0 m29389 Suse/Novell 8 11-15-2005 11:35 PM
eject -v says "unable to open /dev/hdc" Simon Bridge Slackware 2 11-05-2005 01:55 AM
How do I resolve "db4 error(16) from dbenv->remove"? dot hog Red Hat 5 10-17-2003 12:35 PM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration