LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-14-2007, 06:42 AM   #1
Thoddy
Member
 
Registered: Jul 2003
Location: Bremen, Germany
Distribution: Ubuntu 9.10
Posts: 106

Rep: Reputation: 15
Question 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!
 
Old 07-14-2007, 08:54 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 07-14-2007, 09:18 AM   #3
Thoddy
Member
 
Registered: Jul 2003
Location: Bremen, Germany
Distribution: Ubuntu 9.10
Posts: 106

Original Poster
Rep: Reputation: 15
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

Last edited by Thoddy; 07-14-2007 at 09:56 AM.
 
Old 07-14-2007, 05:09 PM   #4
Thoddy
Member
 
Registered: Jul 2003
Location: Bremen, Germany
Distribution: Ubuntu 9.10
Posts: 106

Original Poster
Rep: Reputation: 15
Smile

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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samsung YH-925 MP3, MTP-detect problem Sander50 Linux - Hardware 0 01-24-2007 09:15 AM
LXer: Device Profile: Samsung LMD10A-51W portable digital TV LXer Syndicated Linux News 0 01-13-2007 06:54 AM
Dell DJ Ditty not recognizedd as a mtp device on FC5 arielc Linux - Hardware 1 08-17-2006 06:32 PM
Samsung CDR/RW - crashes when i try to mount wi77ard Linux - Hardware 0 02-11-2004 07:45 PM
SAMSUNG CD-R/RW SW-408B Hangs my sistem when i mount it mkaman Linux - Hardware 13 02-11-2004 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration