[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ipod



peter lesterhuis wrote:

I followed the thread about the useability of ipods with linux. I
> just bought an ipod (nano 3rd gen, 4 Gb) for my daughter's birthday.
> When I connected the ipod to my box the filesystem of the hard disk
> was not recognized. I  rebooted into WinXP, which configured the
> filesystem into vfat. Back to fedora8 the ipod was being recognized:
> an icon appeared on the desktop, the mountpoint seemed to be
> /media/IPOD.  The problem is that I can't get gtkpod to load the
> ipod. When I start gtkpod this message pops up:
>
> Error initialising iPod: Couldn't find the iPod firewire ID
> Newly mounted iPod at '/media/IPOD' could not be loaded into gtkpod.
>
> The ipod is connected via usb, not firewire. Included with the ipod
> was only a cable with a usb-plug.  How can I get gtkpod to work,
> using this connection?  I tried amarok, but here the same problem.
The underlying problem is that libgpod (the library both amarok and
gtkpod use to read and write the ipod's database) can't seem to get
the (strangely named) FireWireGUID for the ipod.  This is needed to
properly write the database for all the newer ipods (nano video,
classic, touch, and iphone).

There is a tool in libgpod that ideally will run when the ipod is
connected and fetch this info from the ipod so that amarok, gtkpod,
etc, can properly write the db.  For some reason, that seems to not
have worked in your case.  If there's a reproducible bug there, I'd
love to help get it fixed.

As Richard suggested, it might be interesting to run  "tailf
/var/log/messages" and then plug the ipod in, to see if there are any
errors.

The other thing to try is to run ipod-read-sysinfo-extended.  The
arguments for the program are <dev> <mountpoint>.  The device will be
something like /dev/sdb.  You can look at the output of dmesg|tail
after you've plugged your ipod in to see what device name it has.  You
do want to use the raw device like sdb rather than sdb1 or sdb2, etc.
The mountpoint would be /media/IPOD in your case.  So the command
might be:

ipod-read-sysinfo-extended /dev/sdb /media/IPOD

That will attempt to read the FireWireGUID from the ipod and save it
as a file on the ipod so that amarok, gtkpod, and other libgpod using
apps can get at it easily.  If you get any errors running that, please
post them.

Thanks for your answer.
This is the output of /var/log/messages after plugging in the ipod:
tail -f /var/log/messages
Jan 13 15:32:05 cello automount[2298]: create_tcp_client:321: hostname lookup failed: Operation not permitted Jan 13 15:32:05 cello automount[2298]: lookup_mount: exports lookup failed for iTunes_Control Jan 13 15:32:05 cello automount[2298]: lookup_mount: lookup(file): key "iPod_Control" not found in map Jan 13 15:32:05 cello automount[2298]: lookup_mount: lookup(file): key "iTunes" not found in map Jan 13 15:32:05 cello automount[2298]: lookup_mount: lookup(file): key "iTunes_Control" not found in map Jan 13 16:38:21 cello kernel: drivers/input/misc/ati_remote.c: Weird data, len=5 20 d5 54 bd 4e 00 ... Jan 13 16:58:26 cello kernel: ati_remote 4-2:1.0: Unknown input from channel 0x08: data 4d,54 Jan 13 17:10:41 cello kernel: ati_remote 4-2:1.0: Unknown input from channel 0x09: data 4e,54
Jan 13 17:11:44 cello yum: Updated: k9copy - 1.2.2-1.lvn8.i386
Jan 13 17:12:37 cello kernel: drivers/input/misc/ati_remote.c: Weird data, len=5 20 d5 d4 e5 49 00 ... Jan 13 17:14:22 cello kernel: usb 1-4: new high speed USB device using ehci_hcd and address 7 Jan 13 17:14:22 cello kernel: usb 1-4: configuration #1 chosen from 2 choices Jan 13 17:14:22 cello kernel: scsi5 : SCSI emulation for USB Mass Storage devices Jan 13 17:14:27 cello kernel: scsi 5:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0 Jan 13 17:14:27 cello kernel: sd 5:0:0:0: [sdg] 950209 4096-byte hardware sectors (3892 MB)
Jan 13 17:14:27 cello kernel: sd 5:0:0:0: [sdg] Write Protect is off
Jan 13 17:14:27 cello kernel: sd 5:0:0:0: [sdg] Assuming drive cache: write through Jan 13 17:14:27 cello kernel: sd 5:0:0:0: [sdg] 950209 4096-byte hardware sectors (3892 MB)
Jan 13 17:14:27 cello kernel: sd 5:0:0:0: [sdg] Write Protect is off
Jan 13 17:14:27 cello kernel: sd 5:0:0:0: [sdg] Assuming drive cache: write through
Jan 13 17:14:27 cello kernel:  sdg: sdg1
Jan 13 17:14:27 cello kernel: sd 5:0:0:0: [sdg] Attached SCSI removable disk Jan 13 17:14:27 cello kernel: sd 5:0:0:0: Attached scsi generic sg8 type 0 Jan 13 17:14:28 cello gnome-keyring-daemon[2864]: adding removable location: volume_uuid_3141_5926 at /media/IPOD
Jan 13 17:14:28 cello hald: mounted /dev/sdg1 on behalf of uid 500

After the command "ipod-read-sysinfo-extended /dev/sdg /media/IPOD" there is this error:
"Couldn't read xml sysinfo from /dev/sdg


Are you running the command as Root?

-Max


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]