You are not logged in.
Pages: 1
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
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
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
Try it as root.
Offline
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
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
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
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
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
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
Pages: 1