PDA

View Full Version : amarok 1.4 and iPod support



tonyingesson
2nd April 2006, 10:28 PM
In amarok 1.3.8 the iPod support worked like a charm for me, but on my brand new FC5 installation with 1.4 I can only seem to mount it as a VFAT drive and the mount options only list VFAT and iRiver stuff. What happened?

:confused:

scoon
3rd April 2006, 02:20 PM
Hey there,

Did you install gstreamer-plugins-ugly-0.10.2-2.fc5 rpm for mp3 support ?

-scoon

tonyingesson
3rd April 2006, 02:36 PM
Yes, I did that shortly after the installation. The mp3 support works without any problems in amarok. I've got the 0.10.2-1.lvn5 version from livna.

scoon
3rd April 2006, 03:01 PM
Hey there,

I guess then I don't quite understand what the problem is. Can you be more specific ? I have hc5 and amarok w/ my 4th gen ipod working fine.

-scoon

tonyingesson
3rd April 2006, 03:24 PM
I can't get much more specific than this; in amarok 1.3.8 I could easily mount the iPod as an iPod, not VFAT drive. In 1.4 that option is gone, I can only mount VFAT and iRiver devices. The whole iPod option is missing entirely. amarok consequently detects the iPod as a VFAT device. Which means that it doesn't read the database on the iPod, it just mounts it like any hard drive/FAT device, so there's no point in copying files to the iPod since it wouldn't recognize them anyway.

scoon
3rd April 2006, 03:43 PM
Hey there,

Does anything get logged when you try to mount it as a regular user (ie: not thru amarok) ? If so, is it an error. If no error, make certain that no settings got changed in amarok during your upgrade.

-scoon

tonyingesson
3rd April 2006, 04:01 PM
The iPod automounts when I plug it in, here's the log:

usb 1-2: new full speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
Vendor: Apple Model: iPod Rev: 1.62
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 39063023 512-byte hdwr sectors (20000 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 39063023 512-byte hdwr sectors (20000 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
sda: sda1 sda2
sd 1:0:0:0: Attached scsi removable disk sda
sd 1:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
audit(1144075896.466:121): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hda5 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
audit(1144075896.466:122): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hdd1 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
audit(1144075897.306:123): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hda5 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
audit(1144075897.306:124): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hdd1 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
SELinux: initialized (dev sda2, type vfat), uses genfs_contexts
audit(1144075898.050:125): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hda5 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
audit(1144075898.050:126): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hdd1 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
audit(1144076034.307:127): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hda5 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
audit(1144076034.307:128): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hdd1 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
SELinux: initialized (dev sda2, type vfat), uses genfs_contexts
audit(1144076041.211:129): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hda5 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir
audit(1144076041.211:130): avc: denied { getattr } for pid=2163 comm="hald" name="/" dev=hdd1 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir

Mounting it is no problem and it works in GTKPOD, although I'm having some issues with that which is why I'd prefer to use amarok instead. Just now I also tried plugging it in on another machine with FC5 and amarok 1.4. Same thing, I can only choose between VFAT and iRiver. I've also tried plugging in a friend's 4G iPod, exact same thing again.

scoon
3rd April 2006, 05:21 PM
Hey there,

Now I understand. The same thing is happening to me as well. I don't know what the gtkpod issues are but I am def not having any problems with it. At work, I use my ipod as my only source of music and have amarok use it as my collection source.

-scoon

tonyingesson
3rd April 2006, 11:13 PM
If it happened to you as well, it seems to be a reoccuring problem (since I've tested it on two different computers with two different iPods). Anyone else with info on this problem?

EDIT; Does anyone know of a way to install amarok 1.3.8 in FC5? I tried a FC4 rpm since that's the only thing I could find, but I ran into dependency problems.

jdhorne
5th April 2006, 04:58 AM
I think it's compiled without iPod support.

I dug around a bit after experiencing the same thing, and discovered that the iPod module for amarok wasn't part of the RPM. I bet you don't have the file /usr/share/amarok_ipod-mediadevice.desktop, whereas you DO have /usr/share/amarok_vfat-mediadevice.desktop. That's what I found on my own system.

I eventually downloaded the source and compiled Amarok on my own, just for this feature. I wonder why it wasn't included by default?

tonyingesson
5th April 2006, 12:11 PM
Thanks, then I think I know the answer. I was thinking that there was something wrong with my configuration somehow. I've resolved most of the issues I had with GTKPOD by now, but I still think it's a shame that this feature has disappeared in amarok 1.4.

scoon
5th April 2006, 02:17 PM
Well maybe since this is beta they opted not to include it. Maybe they will once the release candidate is out.

-scoon

** PS ** I just grabbed the src rpm, and it is true, ipod support is NOT included.