Select Page

When connecting the iPod, Amarok marks the error:

Connection to iPhone, iPad or iPod failed. ("Connecting to iPhone, iPad or iPod touch failed."
--
determined mount-point path to /tmp/kde-USUARIO/amarok/imobiledevice_uuid_XXXXUUIDXXXX
created /tmp/kde-USUARIO/amarok/imobiledevice_uuid_XXXXUUIDXXXX directory
calling `ifuse "-u" "XXXXUUIDXXXX" "-ofsname=afc://XXXXUUIDXXXX" "/tmp/kde-USUARIO/amarok/imobiledevice_uuid_XXXXUUIDXXXX"` with timeout of 10s
ifuse: usbmuxd_get_device_list: error opening socket!
ifuse: No device found, is it connected?
ifuse: If it is make sure that your user has permissions to access the raw usb device.
ifuse: If you're still having issues try unplugging the device and reconnecting it.
ifuse:
command exited with non-zero return code 1
Failed to mount iPhone on /tmp/kde-USUARIO/amarok/imobiledevice_uuid_XXXXUUIDXXXX

amarok –debug does not bring any useful errors, but if the iPod was connected before starting Amarok, it suffers a segment violation.  The backtrace tells us that the problem is with libgpod:

#6  0x0000003c8803348d in type_check_is_value_type_U (type=133143986208) at gtype.c:4107
#7 g_type_check_value_holds (value=value@entry=0x1fcf5e0, type=type@entry=34428496) at gtype.c:4156
#8 0x00007f38f2296d0a in playcounts_plist_read (fimp =, fimp =, plist_data=0x2134570) at itdb_itunesdb.c:1178
#9 playcounts_init (fimp = 0x1fc1600) at itdb_itunesdb.c:1319
#10 itdb_parse_internal (itdb=itdb@entry=0x1fe3950, compressed=compressed@entry=1, error=error@entry=0x7fffe3defac0) at itdb_itunesdb.c:3309

gtkpod also dies with SEGFAULT while trying to read iPod.  Apparently, the problem happens when libgpod tries to read the replay statistics in ‘iTunes_Control/iTunes/PlayCounts.plist‘, and it's fixed upstream from the 2013, but for some reason it is not like that in the repositories.  In theory, compiling libgpod by hand should fix it.  O, if you don't care about the playback statistics on your iPod, you can delete or rename their file as workaround - after mounting your iPod:

ifuse /mnt/pda
mv /mnt/pda/iTunes_Control/iTunes/PlayCounts.plist /mnt/pda/iTunes_Control/iTunes/PlayCounts.plist.bak

And matter fixed.