LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Samsung YP-K3 > MTP Device < How to mount!? (https://www.linuxquestions.org/questions/linux-hardware-18/samsung-yp-k3-mtp-device-how-to-mount-569262/)

Thoddy 07-14-2007 06:42 AM

Samsung YP-K3 > MTP Device < How to mount!?
 
Hi guys,

I just received a Samsung YP-K3JA (it's an MTP MP3 Player) that is correctly recognized in my system (I can see it System > Preferences > Hardware Information on my Ubuntu 7.04 system) with bus type: USB.

But unlike other Mass Storage Devices or MP3-Players this one is not automatically mounted!?

I assume all the information I need to mount it is somewhere in the /proc/bus/usb/devices file... but what do I have to do to mount it? Where is the deveice located? It's none of the /dev/sd* devices...

Please help! :)

jschiwal 07-14-2007 08:54 AM

You don't mount it. You need to install the libmtp package and either use the commands like mtp-getfile directly, or use a program such as amarok that can connect to an mtp device and get or send files.

Thoddy 07-14-2007 09:18 AM

Quote:

Originally Posted by jschiwal
You don't mount it. You need to install the libmtp package and either use the commands like mtp-getfile directly, or use a program such as amarok that can connect to an mtp device and get or send files.

OK, mtp-getfile needs [source] and [destination] as arguments. What are these and how do I find out what they are? How do I know the name of the device, etc. ??

What I tried so far:
  • gnomad2 - used 'apt-get install gnomad2' to install, which automatically installed libmtp5. But gnomad2 does not find any device!?
  • amarok - used 'apt-get install amarok' to install, which also installed a whole bunch of other things and libraries. But amarok also does find any deveice! Neither MTB, USB, iPod or iRiver...
  • usbview - gives me alist of devices that are present at my USB ports: including the MP3 Player with vendor id, product id, serial number and so on...
  • lsusb - however, does not find anything!
  • /etc/udev/rules.d/libmtp.rules - I added a line identifying my player with vendor id (04e8) and product id (5081), the information I found with usbview... did I miss something?

I also read somewhere that amarok may have been compiled without MTP support. Should I try to uninstall it and reinstall from source with the corresponding options? But I doubt this is the problem since gnomad2 is compiled with MTP support (auto-installed the lib as a dependency) and does not find my device...

Trying 'mtp-detect' gives the follwong output:

$ mtp-detect
This is not a Microsoft MTP descriptor...
Device response to read device property 0xee:
fffffff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00b0: 0000 0000 0000 0000 0000 0000 0000 ..............
No MTP devices.
No devices.


'dmesg | tail' gives me this:

$ dmesg | tail
[10708.717461] usb 3-5: new high speed USB device using ehci_hcd and address 16
[10709.074039] usb 3-5: configuration #1 chosen from 1 choice
[10917.380537] usb 3-5: usbfs: USBDEVFS_CONTROL failed cmd mtp-detect rqt 192 rq 1 len 1024 ret -110



--- EDIT ---

Just found out another thing: 'mtp-hotplug' does not seem to look for my type of device!? The K5 is in the list, the K3 is not...

$ mtp-hotplug | grep K5
# Samsung YP-K5


$ mtp-hotplug | grep K3

Thoddy 07-14-2007 05:09 PM

Quote:

Originally Posted by Thoddy
Just found out another thing: 'mtp-hotplug' does not seem to look for my type of device!? The K5 is in the list, the K3 is not...

$ mtp-hotplug | grep K5
# Samsung YP-K5


$ mtp-hotplug | grep K3



YES!!

It's the version of the libmtp - the version you get for Feisty Fawn (i.e. Ubuntu 7.04) is too old to know the YP-K3!

I found a newer version here: http://ftp.uni-koeln.de/debian/pool/main/libm/libmtp/

So install the libmtp5_0.1.5-2_i386.deb and mtp-tools_0.1.5-2_i386.deb from this server.

AFTER THAT try with 'mtp-detec', should find a device.

THEN do 'apt-get install amarok'

You-re done! :)

btw: does anyone know if it is possible to support MTP devices in Songbird? I would love that one better... but the iPod add-on does not work... ;)

Anyway: player is found! Wahoo!


All times are GMT -5. The time now is 08:19 PM.