You are not logged in.

#1 2007-03-16 21:35:19

banana989
Member
Registered: 2004-06-03
Posts: 60

Automount iPod

Howdy, I've read all over here trying to figure out how to auto mount my iPod shuffle but had no luck. I can mount it with

mount -t vfat /dev/sda /mnt/ipod

but I really dont like to do that evertime i want to put music on it... thanks !

Last edited by banana989 (2007-03-16 21:35:38)

Offline

#2 2007-03-16 21:48:39

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

Re: Automount iPod

For system iPod is just a flash drive. Get KDE or GNOME or set up some standalone automounter - everything should work


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

Offline

#3 2007-03-16 21:59:30

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: Automount iPod

I'm using Amarok w/ XFCE. I have Dbus & Hal running but still get no automount.

Offline

#4 2007-03-16 22:26:05

CavalierBob
Member
From: San Francisco Bay Area
Registered: 2006-07-20
Posts: 110

Re: Automount iPod

See if my post here might give you some ideas:

http://bbs.archlinux.org/viewtopic.php?id=28218

I'd guess you need a udev rule, but I'm just guessing. I don't know if you NEED the ipod group, but I got the info from the Gentoo wiki and it did work for me (on Gnome).

Bob

Offline

#5 2007-03-24 22:10:04

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: Automount iPod

Allrighty- its been awhile but I finally tried the method listed in the above post ... no luck .


here is my dmesg :

scsi 4:0:0:0: Direct-Access     Apple    iPod             2.70 PQ: 0 ANSI: 2
SCSI device sda: 495616 2048-byte hdwr sectors (1015 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 495616 2048-byte hdwr sectors (1015 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
 sda: unknown partition table
sd 4:0:0:0: Attached scsi removable disk sda
usb-storage: device scan complete

I noticed that my XFCE desktop does "see" my Ipod however I can't access it. The message is this when   I click or attempt to mount the icon :

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration fiel ( rejected method had interface "org.freedesktop.Hal.Device.Volume member "Mount" error name "(unset)" destination "org.freedesktop.Hal" )

Last edited by banana989 (2007-03-24 22:19:05)

Offline

#6 2007-03-24 22:33:49

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: Automount iPod

I tried adding " /dev/sda /mnt/ipod hfsplus ......(blah blah  " to my fstab. Now I'm getting the error

mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Last edited by banana989 (2007-03-24 22:34:16)

Offline

#7 2007-03-24 23:20:44

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

Re: Automount iPod

You have to mount /dev/sda2, not /dev/sda. iPods are multipartition devices with first partition being storage for bootloader and official firmware. Second partition is music and data. Third partition can be linux root partition (yes, iPods can run linux!)


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

Offline

#8 2007-03-24 23:31:12

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: Automount iPod

I don't have any other partitions that show , in fact- i just ran fdisk -l /dev/sda and then p ... which resulted in telling me a bunch o crap.

The iPod was formatted on a real mac, could this be the problem ?

Offline

#9 2007-03-25 07:53:28

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

Re: Automount iPod

So called MacPods have sda2 formatted in HFS, but otherwise should be similar


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

Offline

#10 2007-03-25 15:51:45

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: Automount iPod

banana989 wrote:

I don't have any other partitions that show , in fact- i just ran fdisk -l /dev/sda and then p ... which resulted in telling me a bunch o crap.

The iPod was formatted on a real mac, could this be the problem ?

You can't mount your ipod with the -t vfat switch then.. and as Stalwart said mount your ipod on /dev/sdf2 as it's a multipartition device.

I just got and Ipod nano last week and set it up for the first time.. here's my setup if it will help you..

KDE with hal & dbus..  I told the kde popup to do nothing as I want amarok to do the work (not open in konq).

In amarok my device is detected at /dev/sdf2 as soon as I plug in. (I think I had to autodetect devices or something the first time)

my options in amarok are ..
Pre-connect command: pmount %d
Post-connect: kdeeject -q %d

you can also use eject.. to get either to work properly I had to set the setuid permission bit on /bin/eject or else you can only eject as root (might not be the best method).  Just a heads up that if you don't eject the device and just unmount it then you will continue to see the "do not unplug" screen on the ipod.

Another thing that may help you later.. if you have a newer iPod and want to get the cover artwork to show.. you should install gtkpod then set your device verison so it can rebuild the cover database.  It's a known bug with amarok and I found this solution on the amarok forums wink


good luck

Offline

#11 2007-03-25 16:45:08

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 686

Re: Automount iPod

If your iPod is fomatted by a Mac (and its file system is HFS+), then you need support for this kind of partition in the kernel. For no apparent reason it is deactivated in the kernel. See this thread, it may solve your problem: http://bbs.archlinux.org/viewtopic.php?id=29965

Last edited by mutlu_inek (2007-03-25 16:46:07)

Offline

#12 2007-04-07 18:55:57

javajunky
Member
Registered: 2006-11-13
Posts: 39

Re: Automount iPod

Not sure if you sorted this out in the end, but  my Ipod works just fab with Archlinux, I started off with the problem you originallylisted:
"A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration fiel ( rejected method had interface "org.freedesktop.Hal.Device.Volume member "Mount" error name "(unset)" destination "org.freedesktop.Hal" )"

I fixed it by adding my user to the 'storage' group..hope this helps a little wink (nothing to do with HFS for me, as mine isn't mac formatted)

Offline

#13 2007-04-08 02:56:58

matahari
Member
From: Bandung, Indonesia
Registered: 2007-04-04
Posts: 59

Re: Automount iPod

yup thats the way to go if you use gnome,kde,xfce just  add yourself to storage group (this is why: /etc/dbus-1/system.d/hal.conf) and start hal daemon for all this automounting drama.

Offline

Board footer

Powered by FluxBB