Version: 2.3.1-GIT (using KDE 4.4.95) OS: Linux When I plug my iPhone 3GS, amarok says it has zero tracks and it does not let me manipulate / view / add tracks to the device. FYI, Clementine shows me the correct number of tracks, and so do Rhythmbox and gtkpod. Reproducible: Always
I am confirming this too. After upgrading to maverick, my pod touch is recognized as an "apple ipod", but with 0 track ! It used to work fine in lucid+locally compiled amarok git but NOT anymore with maverick+amarokgit (also tried regular maverick amarok). I don't get it...I remember someone patching it in amarok 2.2 (Martin ?), it would be great if they tried again in maverick to find out what is going wrong. And of course : ifuse+libgpod+libimobiledevice+gvfs properly installed (and it does WORK fine in rhythmbox)
Could be related to this problem: http://git.reviewboard.kde.org/r/100012/
Thanx Myriam, but applying the patch didn't solve the problem :( still "Apple Ipod" with zero track when I used to get my itouch properly named with its entire collection...
Could you please try again with the latest git checkout?
(In reply to comment #4) > Could you please try again with the latest git checkout? Well, my git clone was in sync when I applied the patch yesterday, but I can try again tonight
Well, there have been commits after your comment...
Well, it doesn't work either with latest git... By the way, my 3rd Gen ipod nano is not recognized AT ALL
Now realizing that my kde packages are all half broken (using Gnome & updated to Maverick RC on friday). Maybe I should try reinstalling all kde packages tomorrow ;) (it seems half broken in the repo with unmet dependancies for kdebase-workspace-bin) I'll let you know how it goes when I install all packages properly
Well, with everything (all necessary kde packages) installed from Maverick repos & compiled again, it just doesn't work :( Ipod touch ==> Apple ipod with zero track Ipod Nano 3rd gen ==> not even mounted This sucks badly... (just like when I installed amarok from Maverick repo by the way) Amarok is my #1 music collection application, I don't feel like using Banshee/rhythmbox...
part of my amarok debug traces : couldn't it be libmtp messing around the ipod touch ? "amarok: [MtpHandler]" Initializing MTP stuff "amarok: [MtpHandler]" Getting list of raw devices Device 0 (VID=05ac and PID=1293) is UNKNOWN. Please report this VID/PID and the device model to the libmtp development team "amarok: [MtpHandler]" Error is: 0 "amarok: [MtpHandler]" Got mtp list, connecting to device using thread "amarok: END__: virtual void ConnectionAssistant::tellIdentified(const QString&) - Took 0.24s" "amarok: BEGIN: virtual bool MtpConnectionAssistant::identify(const QString&)" "amarok: " Supported Protocols: ("mtp") "amarok: END__: virtual bool MtpConnectionAssistant::identify(const QString&) - Took 0.00079s" "amarok: [MediaDeviceMonitor]" Device identified with udi: "/org/freedesktop/Hal/devices/usb_device_5ac_1293_c5a4ba59d9bee960ba70dab3fb3d8859a5587772_if1" "amarok: BEGIN: virtual void ConnectionAssistant::tellIdentified(const QString&)" "amarok: BEGIN: Collections::MtpCollection::MtpCollection(MediaDeviceInfo*)" "amarok: [MtpCollection]" Getting mtp info "amarok: [MtpCollection]" Getting udi "amarok: [MtpCollection]" constructing handler "amarok: BEGIN: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*)" QObject::connect: Cannot connect Meta::MediaDeviceHandler::incrementProgress() to (null)::incrementProgress() QObject::connect: Cannot connect Meta::MediaDeviceHandler::endProgressOperation(QObject*) to (null)::endProgressOperation(QObject*) "amarok: END__: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*) - Took 9.4e-05s" "amarok: BEGIN: Meta::MtpHandler::MtpHandler(Collections::MtpCollection*)" "amarok: END__: Meta::MtpHandler::MtpHandler(Collections::MtpCollection*) - Took 5.2e-05s" "amarok: END__: Collections::MtpCollection::MtpCollection(MediaDeviceInfo*) - Took 0.00046s" "amarok: [MtpHandler]" Initializing MTP stuff "amarok: [MtpHandler]" Getting list of raw devices Device 0 (VID=05ac and PID=1293) is UNKNOWN. Please report this VID/PID and the device model to the libmtp development team "amarok: [MtpHandler]" Error is: 0 "amarok: [MtpHandler]" Got mtp list, connecting to device using thread "amarok: END__: virtual void ConnectionAssistant::tellIdentified(const QString&) - Took 0.0014s" "amarok: BEGIN: virtual bool MtpConnectionAssistant::identify(const QString&)" "amarok: " Not a PMP "amarok: END__: virtual bool MtpConnectionAssistant::identify(const QString&) - Took 0.00076s" "amarok: BEGIN: virtual bool MtpConnectionAssistant::identify(const QString&)" "amarok: " Not a PMP "amarok: END__: virtual bool MtpConnectionAssistant::identify(const QString&) - Took 0.00055s" "amarok: END__: void MediaDeviceMonitor::checkDevicesFor(ConnectionAssistant*) - Took 0.26s" "amarok: END__: void MediaDeviceMonitor::registerDeviceType(ConnectionAssistant*) - Took 0.26s" "amarok: BEGIN: bool Meta::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_t*)" "amarok: [MtpHandler]" Opening raw device number: 1 "amarok: BEGIN: bool Meta::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_t*)" "amarok: [MtpHandler]" Opening raw device number: 1 usb_claim_interface(): Périphérique ou ressource occupé LIBMTP PANIC: Unable to initialize device "amarok: [MtpHandler]" Unable to open raw device: 1 "amarok: END__: bool Meta::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_t*) - Took 0.00056s" "amarok: [CollectionManager]" Initialising "ipod-collection" "amarok: BEGIN: void MediaDeviceMonitor::registerDeviceType(ConnectionAssistant*)" "amarok: BEGIN: void MediaDeviceMonitor::checkDevicesFor(ConnectionAssistant*)" "amarok: BEGIN: QStringList MediaDeviceMonitor::getDevices()" "amarok: BEGIN: void MediaDeviceCache::refreshCache()" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::PortableMediaPlayer with udi = "/org/freedesktop/Hal/devices/usb_device_5ac_1293_c5a4ba59d9bee960ba70dab3fb3d8859a5587772_if0" "amarok: [MediaDeviceCache]" Device name is = "iPod Touch 2nd Gen" and was made by "Apple" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::PortableMediaPlayer with udi = "/org/freedesktop/Hal/devices/usb_device_5ac_1293_c5a4ba59d9bee960ba70dab3fb3d8859a5587772_if1" "amarok: [MediaDeviceCache]" Device name is = "iPod Touch 2nd Gen" and was made by "Apple" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::StorageAccess with udi = "/org/freedesktop/Hal/devices/volume_part3_size_1024" "amarok: [MediaDeviceCache]" Device name is = "Volume" and was made by "" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::StorageAccess with udi = "/org/freedesktop/Hal/devices/volume_uuid_7d2d1396_c167_4840_864d_0b4bf4396abe" "amarok: [MediaDeviceCache]" Device name is = "Volume (swap)" and was made by "" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::StorageAccess with udi = "/org/freedesktop/Hal/devices/volume_uuid_5698ad48_15a7_4278_abef_62c8fa8754ce" "amarok: [MediaDeviceCache]" Device name is = "Volume (ext4)" and was made by "" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::StorageAccess with udi = "/org/freedesktop/Hal/devices/volume_uuid_10a6c337_9b26_4ee2_a5bc_f9701788e1b0" "amarok: [MediaDeviceCache]" Device name is = "Volume (ext4)" and was made by "" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::StorageDrive with udi = "/org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L632H" "amarok: [MediaDeviceCache]" Device name is = "CDDVDW TS-L632H" and was made by "TSSTcorp" "amarok: [MediaDeviceCache]" Found Solid::DeviceInterface::StorageDrive with udi = "/org/freedesktop/Hal/devices/storage_serial_WDC_WD1600BEVT_22ZCT0_WD_WXE608DV8029" "amarok: [MediaDeviceCache]" Device name is = "WDC WD1600BEVT-2" and was made by "ATA" "amarok: END__: void MediaDeviceCache::refreshCache() - Took 0.011s" "amarok: END__: QStringList MediaDeviceMonitor::getDevices() - Took 0.011s" "amarok: BEGIN: virtual bool IpodConnectionAssistant::identify(const QString&)" "amarok: " Device udi: "/org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L632H" "amarok: " Device name: "TSSTcorp - CDDVDW TS-L632H" "amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const" "amarok: [MediaDeviceCache]" Not able to convert to StorageAccess or not accessible, returning empty "amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 9.1e-05s" "amarok: " Mount point: "" "amarok: " vendor: "TSSTcorp" , product: "CDDVDW TS-L632H" "amarok: END__: virtual bool IpodConnectionAssistant::identify(const QString&) - Took 0.00042s" "amarok: BEGIN: virtual bool IpodConnectionAssistant::identify(const QString&)" "amarok: " Device udi: "/org/freedesktop/Hal/devices/storage_serial_WDC_WD1600BEVT_22ZCT0_WD_WXE608DV8029" "amarok: " Device name: "ATA - WDC WD1600BEVT-2" "amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const" "amarok: [MediaDeviceCache]" Not able to convert to StorageAccess or not accessible, returning empty "amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 7.4e-05s" "amarok: " Mount point: "" "amarok: " vendor: "ATA" , product: "WDC WD1600BEVT-2" "amarok: END__: virtual bool IpodConnectionAssistant::identify(const QString&) - Took 0.00027s" "amarok: [MediaDeviceMonitor]" Device already identified with udi: "/org/freedesktop/Hal/devices/usb_device_5ac_1293_c5a4ba59d9bee960ba70dab3fb3d8859a5587772_if0" "amarok: [MediaDeviceMonitor]" Device already identified with udi: "/org/freedesktop/Hal/devices/usb_device_5ac_1293_c5a4ba59d9bee960ba70dab3fb3d8859a5587772_if1" "amarok: BEGIN: virtual bool IpodConnectionAssistant::identify(const QString&)" "amarok: " Device udi: "/org/freedesktop/Hal/devices/volume_uuid_10a6c337_9b26_4ee2_a5bc_f9701788e1b0" "amarok: " Device name: "/home" "amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const" "amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 5.8e-05s" "amarok: " Mount point: "/home" "amarok: " vendor: "ATA" , product: "WDC WD1600BEVT-2" "amarok: END__: virtual bool IpodConnectionAssistant::identify(const QString&) - Took 0.00027s" "amarok: BEGIN: virtual bool IpodConnectionAssistant::identify(const QString&)" "amarok: " Device udi: "/org/freedesktop/Hal/devices/volume_uuid_5698ad48_15a7_4278_abef_62c8fa8754ce" "amarok: " Device name: "/" "amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const" "amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 5.3e-05s" "amarok: " Mount point: "/" "amarok: " vendor: "ATA" , product: "WDC WD1600BEVT-2" "amarok: END__: virtual bool IpodConnectionAssistant::identify(const QString&) - Took 0.0041s" "amarok: END__: void MediaDeviceMonitor::checkDevicesFor(ConnectionAssistant*) - Took 0.016s" "amarok: END__: void MediaDeviceMonitor::registerDeviceType(ConnectionAssistant*) - Took 0.016s" "amarok: [CollectionManager]" Initialising "daap-collection" "amarok: BEGIN: virtual void Collections::DaapCollectionFactory::init()" "amarok: END__: virtual void Collections::DaapCollectionFactory::init() - Took 0.0069s" "amarok: END__: void CollectionManager::loadServices(const QList<KSharedPtr<KService> >&) - Took 1.3s" "amarok: END__: void CollectionManager::init() - Took 1.3s" "amarok: [PluginManager]" "amarok: END__: static Plugins::Plugin* Plugins::PluginManager::createFromService(KSharedPtr<KService>) - Took 0.032s" "amarok: " Got hold of a valid plugin "amarok: " Got hold of a valid factory "amarok: END__: void ServicePluginManager::collect() - Took 1.5s" "amarok: END__: static ServicePluginManager* ServicePluginManager::instance() - Took 1.6s" "amarok: BEGIN: Playlist::ModelStack::ModelStack()" "amarok: BEGIN: Playlist::Model::Model(QObject*)" "amarok: END__: Playlist::Model::Model(QObject*) - Took 4.5e-05s" "amarok: BEGIN: Playlist::Controller::Controller(Playlist::AbstractModel*, Playlist::AbstractModel*, QObject*)" "amarok: END__: Playlist::Controller::Controller(Playlist::AbstractModel*, Playlist::AbstractModel*, QObject*) - Took 8.4e-05s" "amarok: END__: Playlist::ModelStack::ModelStack() - Took 0.00081s" "amarok: BEGIN: void StatusBar::updateTotalPlaylistLength()" "amarok: END__: void StatusBar::updateTotalPlaylistLength() - Took 0.0002s" "amarok: BEGIN: Playlist::Actions::Actions()" "amarok: BEGIN: void Playlist::Actions::playlistModeChanged()" "amarok: [Playlist::Actions]" Dynamic mode: false "amarok: END__: void Playlist::Actions::playlistModeChanged() - Took 0.00011s" "amarok: BEGIN: void Playlist::Actions::restoreDefaultPlaylist()" "amarok: BEGIN: KConfigSyncRelStore::KConfigSyncRelStore()" "amarok: END__: KConfigSyncRelStore::KConfigSyncRelStore() - Took 6.7e-05s" LIBMTP PANIC: could not inspect object property descriptions! LIBMTP PANIC: could not inspect object property descriptions! LIBMTP PANIC: could not inspect object property descriptions! Object::connect: No such signal Podcasts::SqlPodcastProvider::playlistAdded( Playlists::PlaylistPtr ) in /home/manu/kde/src/amarok/src/playlistmanager/PlaylistManager.cpp:116 Object::connect: No such signal Podcasts::SqlPodcastProvider::playlistRemoved( Playlists::PlaylistPtr ) in /home/manu/kde/src/amarok/src/playlistmanager/PlaylistManager.cpp:118 "amarok: BEGIN: void Playlists::SqlUserPlaylistProvider::checkTables()" "amarok: END__: void Playlists::SqlUserPlaylistProvider::checkTables() - Took 0.00044s" Object::connect: No such signal Playlists::SqlUserPlaylistProvider::playlistAdded( Playlists::PlaylistPtr ) in /home/manu/kde/src/amarok/src/playlistmanager/PlaylistManager.cpp:116 Object::connect: No such signal Playlists::SqlUserPlaylistProvider::playlistRemoved( Playlists::PlaylistPtr ) in /home/manu/kde/src/amarok/src/playlistmanager/PlaylistManager.cpp:118 "amarok: BEGIN: virtual void Playlists::PlaylistFileProvider::loadPlaylists()" "amarok: " keys () "amarok: [MtpHandler]" Correct device found "amarok: END__: bool Meta::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_t*) - Took 0.29s"
YES ! I found a way to solve this !!! 1/ Reverting back to Lucid's packages libtmp8 & libmtp-dev 2/ Installing libimobiledevice0 from Lucid just brings my ipod touch back in amarok with all its tracks ! At least I can now patiently wait for the "real" fix to come up
Please report this also downstream as it is distribution related.
Do you need both reverts ? Ie is it working with libimobiledevice from lucid and the mtp stuff from maverick and vice versa ?
Yes Christophe, both reverts are necessary : actually, libimobiledevice0 is not really a revert, it's just meant to be useless.
On the libmtp side, I think it might come from this : http://libmtp.cvs.sourceforge.net/viewvc/libmtp/libmtp/ChangeLog?revision=1.494&view=markup libmtp's apple devices support interfering with ifuse/libgpod in amarok I'm still puzzled by libimobiledevice0 vs libimobiledevice though
Here is the link to the downstream report: https://bugs.launchpad.net/bugs/655908
I am using the Gnome and with amarok the iPhone 3GS 4.1 shows up but with 0 tracks.
Same problem here with fresh Kubuntu 10.10 install. My iPhone 3G pops up in Amarok 2.3.2 with "Apple iPhone" as name, 0 tracks. Impossible to add tracks to the iPhone.
Added the revert workaround to the Ubuntu Wiki with a few (hopefully) easy commands: https://help.ubuntu.com/community/PortableDevices/iPhone#Amarok
Since this is distribution related, closing as downstream, there is really not much we can do about.
Hm, forgot to change the status, sorry for the noise.
Same problem here, but the workaround doesn't work. iPod Classic Ubuntu 10.10 Amarok 2.4
I have since my comment #17 upgraded to Fedora 14 and alas now I can see my iPhone + iPod:s all tracks
I just want to confirm, that the ipod touch 3G is not even recognized in debain squeeze (stable at this time). The solution to revert to lucid libraries as described above also works in debian squeeze. Amarok 2.4 can copy and delete files to and from ipod touch. I summarize the necessary steps below. I am using debian squeeze (stable) with kde 4.5.3 from http://qt-kde.debian.net/ and amarok 2.4 from squeeze backports (http://backports.debian.org/). Amarok 2.4 at first didn't recognize the ipod as well as kde solid (no entry under KDE System Control -> Hardware -> external media). Then I found http://forum.kde.org/viewtopic.php?f=115&t=84307&start=15 where a guy using Ubuntu Maverick had the same Problem. The solution was to revert the maverick libraries back to libimobiledevice.so.0.9.7 and libmtp.so.8.3.2 from ubuntu lucid. I did the same thing, just replaced the debian squeeze libraries libmtp.so.8.3.3 and libimobiledevice.so.1.0.2 with the above libraries from http://packages.ubuntu.com/lucid/i386/libimobiledevice0/download and copied the file /usr/share/hal/fdi/information/20thirdparty/31-apple-mobile-device.fdi from libmtp8_1.0.2-1ubuntu1_i386.deb and voila: amarok recognizes the ipod touch. BUT: kde solid still is not aware of the ipod touch. The device does not show up under external media. So there is something broken with the above libraries and Amarok does not seem to use kde solid for the detection of ipod touch devices! I hope this clarifies some of the above mentioned issues Cheers ari
I have some problems with the solution to this bug. First, I can't even seem to apply it. The libimobiledevice0 package in 10.04 conflicts heavily with the libimobiledevice1 package in 10.10. So I don't know how the people in this bug managed to downgrade to lucid's packages, because it's no longer even possible. Instead of applying the complete workaround, I only downgraded libmtp8 which resulted in amarok not even detecting my iphone. I've also tried installing 10.04 to take advantage of the older libmtp8 / libimobiledevice0 packages, which didn't help at all. I then installed 11.04 to take advantage of amarok 2.4.3 which appears completely unavailable on anything before 11.04. 2.4.3 also displays an empty collection on my iphone. For the record, on various versions (between 10.04 and 11.04) I've managed to get gtkpod, banshee, and rhythmbox to recognize the collection on my iphone. I have an iphone 4 (iOS 4.2.1) and I'm now using Ubuntu 10.04.
Git commit c408df382f35a2ed4480a095735982dd6031b2e0 by Matěj Laitl. Committed on 22/10/2011 at 14:44. Pushed by laitl into branch 'master'. Properly recognize iPod 3G in MediaDeviceCache (extend iPod Touch 3G quirk) We already had special case for devices whose product attribute contained "iPod" in slotAddSolidDevice(), extend this special case also for devices whose product attribute contains "iPhone". This could fix bug 281738 and should end up in Amarok 2.5 beta 1, so please test and reopen the bug if it still appeard in beta 1. REVIEW: 102864 BUG: 281738 CCBUG: 245648 CCMAIL: manuwagner2009@gmail.com M +2 -0 ChangeLog M +4 -3 src/MediaDeviceCache.cpp http://commits.kde.org/amarok/c408df382f35a2ed4480a095735982dd6031b2e0