You are not logged in.
Pages: 1
i am trying to automount ipod nano with udev.
here is what i have in /etc/udev/rules.d/10-ipod.rules
BUS=="scsi", SYSFS{vendor}="Apple*", SYSFS{model}="iPod*", KERNEL="sd?2", SYMLINK+="ipod"
and this is in my fstab:
/dev/ipod /mnt/ipod vfat sync,nodev,nosuid,user,rw,noauto 0 0
i pod is not being mounted when i plug it in. what is wrong? can anybody help?
Offline
Using_udev_to_map_multiple_entries_to_a_device
Helped me get me mp3player working ;-)
Are you a member of storage ?
Mr Green
Offline
A rule like that doesn't mount anything - it justs create the /dev/ipod node. Automounting can be done in various ways - udev can do it on its own, or you can use ivman, gnome volume manager, etc. I've never bothered with it myself, but if you do a search around the forum, you'll find some options.
Offline
thanks, but my first concern is to get this device working.
here is the problem:
I i have a windows formatted nano, trying to connect to gtkpod on archlinux 0.7.1
this is in my fstab:
/dev/ipod /mnt/ipod vfat sync,nodev,nosuid,user,rw,noauto 0 0
this is in my /etc/udev/rules.d/10-ipod.rules:
BUS=="scsi", SYSFS{vendor}="Apple*", SYSFS{model}="iPod*", KERNEL="sd?2", NAME="%k", SYMLINK+="ipod", MODE="0660", GROUP="users"
i appearently don't have a iTunesDB on it, coz that's what gtkpod complains about. also when i try to create on form the file menu
"create iPod directories" it gives me permisson denied. if i start gtkpod as root it doesn't give errors but it also doesn' write anything to the ipod.
what can i do to make this thing work?
any help is greatly appreciated,
Thank you,
Offline
check /mnt/ipod is does have root:root .... as I say you need to be in storage group to allow write access
As Tomk states you can use ivman pmount hal dbus etc.... but udev should do the trick....
just checked .... pmount /dev/mp3player mounts my mp3player & I have write access
HTH
Mr Green
Offline
check /mnt/ipod is does have root:root .... as I say you need to be in storage group to allow write access
As Tomk states you can use ivman pmount hal dbus etc.... but udev should do the trick....
just checked .... pmount /dev/mp3player mounts my mp3player & I have write access
HTH
vladuz@box:~$ "groups"
wheel audio optical storage vladuz
vladuz@box:~$ ls -l /mnt/
total 24K
drwxr-xr-x 49 vladuz vladuz 4.0K Mar 25 07:48 ablage
drwxr-xr-x 2 root root 4.0K Jan 24 13:25 cd
drwxr-xr-x 2 root root 4.0K Jan 24 13:25 dvd
drwxr-xr-x 2 root root 4.0K Jan 24 13:25 fl
drwxr-xr-x 2 root root 4.0K Mar 28 00:54 ipod
drwxr-xr-x 7 vladuz vladuz 4.0K Jan 26 22:11 storage
i have all that. should i even tried to change the permission of /mnt/ipod to my username but even that doesn't let me write. still same error permission denied.
Offline
# Symlink MP3 player
BUS=="usb", SYSFS{serial}=="23DE9085F47DCB84", KERNEL=="sd?", NAME="%k", SYMLINK
+="mp3player", GROUP="storage"
BUS=="usb", SYSFS{serial}=="23DE9085F47DCB84", KERNEL=="sd?1", NAME="%k", SYMLIN
K+="mp3player", GROUP="storage"
That me rule for my very*100 cheap mp3player note group ....
HTH
Mr Green
Offline
# Symlink MP3 player BUS=="usb", SYSFS{serial}=="23DE9085F47DCB84", KERNEL=="sd?", NAME="%k", SYMLINK +="mp3player", GROUP="storage" BUS=="usb", SYSFS{serial}=="23DE9085F47DCB84", KERNEL=="sd?1", NAME="%k", SYMLIN K+="mp3player", GROUP="storage"
That me rule for my very*100 cheap mp3player note group ....
HTH
this is mine
BUS=="scsi", SYSFS{vendor}="Apple*", SYSFS{model}="iPod*", KERNEL="sd?2", NAME="%k", SYMLINK+="ipod", MODE="0660", GROUP="storage"
and it still gives me the permisson error when trying to sync
Offline
Emm I do not what else to say other than do a bit of googling ....
Seems ipod is mounted ok .... not sure about your rule or fstab entry .... mine is working here
http://gentoo-wiki.com/HOWTO_Using_an_i … ntoo_Linux
Something there may help
Mr Green
Offline
does anybody else have an idea?
I can't believe it's so hard to get this ipod thing working.
I am just wondering why no one else is having the same issue, i mean this must have been discussed before, but i can't find the same problem in the forum.
Offline
Just for anyones info, vladuz976 is also getting some assistance on the mailing list.
http://www.archlinux.org/pipermail/arch … 09381.html
The udev rule above is a working one that I use for my iPod. No need to change it. It is not intended to do automounting, i just posted it as an extra to make manual mounting easier.
For automounting, you need to use ivman or something similar. Worry about that after the ipod is working. If you follow the instructions listed on my email posts, everything should be fine.
James
Offline
if anybody is intersted or has the same problem i had. iphitus's suggestion in the mailing list did it.
here it goes:
/etc/udev/rules.d/10-ipod.rules:
BUS=="scsi", SYSFS{vendor}="Apple*", SYSFS{model}="iPod*", KERNEL="sd?2", NAME="%k", SYMLINK+="ipod", MODE="0660", GROUP="storage"
/etc/fstab:
/dev/ipod /mnt/ipod vfat noatime,noauto,user,umask=000,quiet,exec 0 0
run mount /mnt/ipod and everthing works fine in gtkpod.
Thanks a lot for the help everyone.
Offline
Pages: 1