You are not logged in.

#1 2006-03-28 06:28:57

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

ipod nano and udev mounting not working

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

#2 2006-03-28 06:41:36

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,906
Website

Re: ipod nano and udev mounting not working

Using_udev_to_map_multiple_entries_to_a_device

Helped me get me mp3player working ;-)

Are you a member of storage ?


Mr Green

Offline

#3 2006-03-28 08:39:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ipod nano and udev mounting not working

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

#4 2006-03-28 08:43:28

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: ipod nano and udev mounting not working

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

#5 2006-03-28 08:50:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,906
Website

Re: ipod nano and udev mounting not working

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

#6 2006-03-28 09:05:36

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: ipod nano and udev mounting not working

Mr Green wrote:

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

#7 2006-03-28 09:10:54

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,906
Website

Re: ipod nano and udev mounting not working

# 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

#8 2006-03-28 09:16:47

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: ipod nano and udev mounting not working

Mr Green wrote:
# 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

#9 2006-03-28 10:03:40

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,906
Website

Re: ipod nano and udev mounting not working

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

#10 2006-03-28 10:41:41

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: ipod nano and udev mounting not working

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

#11 2006-03-28 11:10:37

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: ipod nano and udev mounting not working

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

#12 2006-03-28 11:59:27

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: ipod nano and udev mounting not working

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

Board footer

Powered by FluxBB