You are not logged in.

#1 2007-07-06 03:18:23

willy
Member
Registered: 2006-01-19
Posts: 53

Safely remove ipod

Hi,

I have some problem ejecting ipod through usb using amarok. The post-disconnect command is 'kdeeject -q %d'. I read through the forum and did some googling and found some stuff:

1. as long as ipod is already unmounted, even though  ipod screen says Do not disconnect, you can still disconnect ipod
2. There is something wrong with eject

I am using the latest version of amarok, hal and dbus. It will be great if someone can explain these stuffs to me and if possible give some solution to 'eject' ipod. Thanks in advance.

Offline

#2 2007-07-06 11:59:18

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Safely remove ipod

I put "eject /dev/sdb" in post-disconnect command - it soft-ejects ipod properly


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#3 2007-07-06 14:28:24

willy
Member
Registered: 2006-01-19
Posts: 53

Re: Safely remove ipod

I tried that in konsole

Error: could not determine real path of the device: No such file or directory

I have check /dev and sdb is listed in it.

after you 'eject' your ipod, does the ipod still says "Do not disconnect" ?

Last edited by willy (2007-07-06 14:29:52)

Offline

#4 2007-07-06 14:34:44

emmybear
Member
Registered: 2007-04-20
Posts: 38

Re: Safely remove ipod

Try it as root.

Offline

#5 2007-07-06 14:57:56

Login_Here
Member
Registered: 2007-06-27
Posts: 24

Re: Safely remove ipod

willy wrote:

after you 'eject' your ipod, does the ipod still says "Do not disconnect" ?

Yes it does, but it's safe to remove the iPod anyway.

Offline

#6 2007-07-07 21:01:37

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Safely remove ipod

willy wrote:

I tried that in konsole

Error: could not determine real path of the device: No such file or directory

I have check /dev and sdb is listed in it.

after you 'eject' your ipod, does the ipod still says "Do not disconnect" ?

No, it switches to "charging only mode", like if it's connected to 220V->USB charger


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#7 2007-07-08 13:27:36

willy
Member
Registered: 2006-01-19
Posts: 53

Re: Safely remove ipod

emmybear wrote:

Try it as root.

Still the same.

I read in some forum that the ipod is actually searching for itunes in the computer, that's why it cannot be ejected. I installed vmware and put itunes(and windows) in it and it can eject ipod from the computer successfully.. I'll stick to it now until I find a solution. Thanks for the help guys.

Last edited by willy (2007-07-09 04:06:48)

Offline

#8 2007-07-08 16:50:25

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Safely remove ipod

willy wrote:
emmybear wrote:

Try it as root.

Still the same.

I read in some forum that the ipod is actually searching for itunes in the computer, that's why it cannot be ejected.

Bullshit


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#9 2007-12-01 18:00:38

scoon
Member
From: Philadelphia,PA
Registered: 2007-05-21
Posts: 18

Re: Safely remove ipod

Hey there,

As root and after eject do: rmmod sbp2     I connect via firewire and after doing that, the ipod says that it is safe to disconnect.

-scoon


foo...

Offline

#10 2007-12-01 19:54:52

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Safely remove ipod

That eject command will only work if you ipod really is at /dev/sdb, otherwise, god only knows wtf you're trying to eject - could be your root partition for all anyone here knows.  The best solution for this is to create a persistent device for your ipod.  Search for udev and ipod - there are tons of posts on the forum for this, including the solutions many people have come up with, including my own, but it basically boils down to this:

1. add a persistent device rule to udev for your ipod.  There are tons of resources for how to do this on the net.  The one I use is

SUBSYSTEMS=="scsi", ATTRS{vendor}=="Apple", KERNEL=="sd?2", ATTRS{model}=="iPod*", NAME="%k", SYMLINK+="ipod", GROUP:="ipod", OPTIONS="last_rule"

but your will very likely need to be different.

2. add yourself to a group that has access to the ipod.  In my case, I used the group "ipod" to keep things clean in case the naming of a standard group ever changes.  You can avoid this bit of paranoia and just use a standard group you're already a member of.

3. log out or reboot and see what happens next time you plug your ipod in - sounds obvious, but the number of times I have seen issues TSed to death, only to be told by the question poster that they value their uptime more than the time of the people struggling in vain to help them is innumerable.

4. I use pmount, but you can setup any of several automounting scripts/daemons or amarok's kde hooks.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

Board footer

Powered by FluxBB