You are not logged in.
Pages: 1
I run KDE, but I can't seem to unmount my iPod.
When I right click it and choose eject, it only says that it has been umounted but couldn't eject it. And it still says it's connected on my iPod.
Offline
Offline
He wasn't asking how to mount his iPod. He was asking how to unmount it.
I have the same problem with mine.
When I right click on the icon for my mounted iPod on my KDE desktop and choose "Safely Remove" I get this error message:
"The device was successfully unmounted, but could not be ejected."
A similar problem was addressed in this thread: http://bbs.archlinux.org/viewtopic.php?pid=301637
But the solution that was given there (add my user to the disk group) doesn't work for me.
I can get the iPod to eject as root from the terminal with
eject /dev/sdb2
so I'm guessing the problem has something to do with my user's permissions.
Anyone know how to fix this?
Offline
[luiz@pearl ~]$ eject /dev/ipod
eject: unable to eject, last error: Invalid argument
[luiz@pearl ~]$ sudo eject /dev/ipod
[luiz@pearl ~]$
My udev rules:
BUS=="usb", SYSFS{product}=="iPod", KERNEL=="sd?2", NAME="%k", SYMLINK+="ipod", MODE="0660", GROUP="storage"
BUS=="usb", ATTRS{serial}=="5B811E00B426", KERNEL=="sd?1", NAME="%k", SYMLINK+="pendrive", MODE="0660", GROUP="storage"
The strangest thing is that I can unmount my /dev/pendrive as a regular user just fine.
Offline
I remember having this problem, and I think the way I finally did it was not satisfactory, but it worked. You can have /usr/bin/eject have setuid root. (But setting programs setuid root can be dangerous!) The relevant command is 'chmod +s /usr/bin/eject. The effect is of course that the eject now will have root privileges, regardless of who runs it.
A "better" way would be to modify the udev rule to have permissions "0666" on ipod's inode.
BTW I don't have setuid bit set on eject now, and I use gnome, and ejecting works fine. Also, when I run amarok (within
gnome), the "disconnect" command works fine.
EDIT: Oh, and I think if you're willing to ignore that error message about ejecting, you can safely unplug your ipod if it's unmounted.
Last edited by bender02 (2008-02-19 00:41:48)
Offline
EDIT: Oh, and I think if you're willing to ignore that error message about ejecting, you can safely unplug your ipod if it's unmounted.
That's pretty much what I do and I haven't had any issues with my iPod doing this.
Offline
for kde users that use amarok this is what i did: in the post-disconnect command for my ipod i simply put this: "kdesu eject %d" (w/o the " "). Of course i still need to enter a password but it works w/o having to use setuid on the eject command. To get to the post-disconnect command simply click settings/configure amarok/media devices/ then at the top to the right of the plugins drop down is a icon to configure the device. This is where you enter that post command. Hope this helps someone else.
Last edited by BKJ (2008-09-26 01:10:13)
Offline
Pages: 1