Bug 258647 - MTP device is not recognized on Amarok
Summary: MTP device is not recognized on Amarok
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 2.4.0
Assignee: Rafael Fernández López
URL:
Keywords:
: 256310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-03 04:10 UTC by balustre
Modified: 2011-03-14 01:56 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description balustre 2010-12-03 04:10:06 UTC
Version:           2.3.2 (using KDE 4.5.3) 
OS:                Linux

Open Amarok and plug the mtp device (sansa in MTP mode, or Creative Zen Vision)
The device doesn't appear in amarok.

Reproducible: Always



Expected Results:  
The device appears and transfers can be made.

The problem seems to happen on Fedora 14. Not sure if it's related to the distribution.

Some additional info :
mtp-detetc : http://pastebin.com/0XhMSNv2 
/var/log/messages : http://pastebin.com/T3jGdKcn
amarok --debug : http://pastebin.com/N4VRFn8d
Comment 1 balustre 2010-12-03 04:14:32 UTC
On Gnome, the device can be mounted with gphoto2 (the files on the Creative appear) and is working with Gnomad2.

(gnomad2, gphoto2, gvfs-gphoto2, libgphoto2 are installed)
Comment 2 Myriam Schweingruber 2010-12-03 13:53:00 UTC
Sansa clip works fine here in both MTP and MSC mode, using Amarok 2.4-git of today with KDE 4.5.4 in Kubuntu 10.10. This could indeed be a problem with the underlying Solid structure, I will ask a Fedora person to look into that.
Confirmed by two users with Fedora, see also this thread in the forum: http://forum.kde.org/viewtopic.php?f=115&t=91409
Comment 3 Rex Dieter 2010-12-03 14:22:10 UTC
Hard to say, I don't think any of our fedora kde-sig'ers have this (or similar) devices to test.  I'll ask around.

(That said, fwiw, I *do* have an ipod touch, that I've never had amarok recognize either, but that's very likely a separate issue)
Comment 4 balustre 2010-12-03 14:34:22 UTC
As I reported in the KDE thread given above : 

$ solid-hardware query 'IS PortableMediaPlayer'
udi = '/org/freedesktop/Hal/devices/usb_device_41e_413e_61053C97CD697773_if0'

$ solid-hardware query "[ PortableMediaPlayer.supportedProtocols == 'mtp' AND PortableMediaPlayer.supportedDrivers == 'libmtp' ]"

This gives nothing. I'm not sure, but shouldn't it return the PortableMediaPlayer ?

$ solid-hardware details /org/freedesktop/Hal/devices/usb_device_41e_413e_61053C97CD697773
udi = '/org/freedesktop/Hal/devices/usb_device_41e_413e_61053C97CD697773'
  parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_02_1'  (string)
  vendor = 'Creative Technology, Ltd'  (string)
  product = 'Creative Zen Vision:M'  (string)

$ solid-hardware details /org/freedesktop/Hal/devices/usb_device_41e_413e_61053C97CD697773_ifo
udi = '/org/freedesktop/Hal/devices/usb_device_41e_413e_61053C97CD697773_ifo'
  parent = ''  (string)
  vendor = ''  (string)
  product = ''  (string)
Comment 5 Lukáš Tinkl 2010-12-04 17:23:47 UTC
Reassigning to ereslibre, he is the udev/PortableMediaPlayer author.
Comment 6 Myriam Schweingruber 2010-12-12 22:11:17 UTC
*** Bug 256310 has been marked as a duplicate of this bug. ***
Comment 7 balustre 2011-02-16 19:11:54 UTC
It seems the problem has been solved with amarok2.4.0 (i tried on F14).

Now the Creative Zen appears in the collections and I can transfer songs, but whatever I do, the progress bar is stucked at 89% at the end of a tranfer (even if the transfer has been completed).

Moreover, if i try to transfer more songs, amarok says that "other copies are running". So i have to unmount the creative and start a new transfer.
Comment 8 consigliog 2011-02-17 00:46:25 UTC
On amarok 2.4 (Fedora 14) mtp device samsung YP-T10 is recognizable and explorable (i can see files inside), but i can't still transfer any files.
Comment 9 Myriam Schweingruber 2011-03-14 01:56:49 UTC
(In reply to comment #8)
> On amarok 2.4 (Fedora 14) mtp device samsung YP-T10 is recognizable and
> explorable (i can see files inside), but i can't still transfer any files.

Could you please open a new bug for this? The description doesn't fit and I think this is a different problem.