Reply
Newbie
Posts: 15
Registered: ‎04-13-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

Hi there,

at first I have to say that I am a bit pissed. I mean, I dont wanna change the world or something, just wanted to add mp3s to my player.....

Ok, here we go. I am using Ubuntu 7.10 and connect the player while I am holding the left button (isnt it possible to do it a bit more complicat??) but when I am now enter the command: 

 

mtp-detect
libmtp version: 0.2.1

Attempting to connect device(s)
Detect: No Devices have been found

 

So amarok is finding a player but doesnt connect.

Is there please somebody u can maybe helpl me?

 

thx 

 

Newbie
Posts: 15
Registered: ‎04-13-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

same "advantage" with the new version:

 

mtp-detect
libmtp version: 0.2.6.1

Attempting to connect device(s)
Detect: No Devices have been found

Btw. installed before the last firmware last Friday 

SanDisk User
Posts: 26
Registered: ‎01-18-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

[ Edited ]

If you keep the left button clicked when plugging the device you have it started in MSC mode.

No wonder the PC won't find any MTP devices: since you start the View in MSC mode there are actually no MTP devices connected.

 

Therefore: if you plug the View keeping the left button clicked (and the hold slider on "hold" ) you just start the View as though it is a normal "pendrive" or any other USB mass device. Just open Nautilus or any other file manager you are using, and transfer the files manually.

 

If you want to use the View in MTP mode (such as in Amarok and other MTP compatible programs) you don't need to keep the left button clicked: just plug the View as it is.

 

Message Edited by Sciamano on 04-13-2008 10:56 AM
Newbie
Posts: 15
Registered: ‎04-13-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

thank u, seems to work now.

But anyway, it looks a bit difficult theirfor that u just wanna update your player with stuff..... 

SanDisk User
Posts: 30
Registered: ‎04-08-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

Just make sure you use always the same way of connecting, whether it be MSC or MTP because data transferred with one mode won't show up either at all or not recognizeable in the other, i.e. MTP transferred data shows up with some numbering scheme within a certain folder on my View while MSC transferred content does not show up at all when connected in MTP mode.

 

Programs I found to be working with libmtp 2.6.1 up to now: amarok and gnomad2 unfortunately not rhythmbox but hardy should have some improvements regarding that (so two weeks to wait...). Someone else mentioned qlix as an mtp interface program but I did not try that one yet.

 

Also I could not get playlists to work yet in MTP (in MSC it is seemingly not possible at all), so there is probably still a shortcoming of libmtp or the interfacing programs in that matter. 

SanDisk User
Posts: 26
Registered: ‎01-18-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy


monktbd wrote:

Just make sure you use always the same way of connecting, whether it be MSC or MTP because data transferred with one mode won't show up either at all or not recognizeable in the other, i.e. MTP transferred data shows up with some numbering scheme within a certain folder on my View while MSC transferred content does not show up at all when connected in MTP mode.



That's true, although all the media should still show up correctly on the View


Also I could not get playlists to work yet in MTP (in MSC it is seemingly not possible at all), so there is probably still a shortcoming of libmtp or the interfacing programs in that matter.


 

There is no way to create playlist in linux as of now.

SanDisk User
Posts: 30
Registered: ‎04-08-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy


Sciamano wrote:

monktbd wrote:

Just make sure you use always the same way of connecting, whether it be MSC or MTP because data transferred with one mode won't show up either at all or not recognizeable in the other, i.e. MTP transferred data shows up with some numbering scheme within a certain folder on my View while MSC transferred content does not show up at all when connected in MTP mode.



That's true, although all the media should still show up correctly on the View


Also I could not get playlists to work yet in MTP (in MSC it is seemingly not possible at all), so there is probably still a shortcoming of libmtp or the interfacing programs in that matter.


 

There is no way to create playlist in linux as of now.


Regarding the media:
 
 Yes it does show correctly on the View itself but if you want to delete content that you transferred with different modes with your computer then you will be able to only within the mode you transferred that file.
e.g. you transferred file A in MTP and file B in MSC then you will not be able to delete file B in MTP mode and will have trouble deleting file A in MSC.
 
 
Regarding the playlist:
 
I can create and transfer playlist with e.g. amarok in MTP that also show up when I connect the player with gnomad2, so not only the songs in the playlist get transferred just fine but also the playlist information and you can actually read it back fine as well but it just does not show up on the View itself although it has to be there somewhere. 
So either libmtp uses a different format than what the View expects or the View does not see the playlist information for whatever reason. So currently it does not work but it seems to me that there are not many additional steps that need to be taken and those steps are probably not on the Sandisk side (unless they want to implement MSC .m3u playlists which I would be very happy with of course).
Newbie
Posts: 15
Registered: ‎04-13-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

Hi again,

can please somebody help me with this error. Btw, I am using the latest (2.6.1) mtp version:

 

[code]

======== DEBUG INFORMATION  =======
Version:    1.4.8
Engine:     xine-engine
Build date: Mar 11 2008
CC version: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
KDElibs:    3.5.8
Qt:         3.3.7
TagLib:     1.4.0
CPU count:  2
NDEBUG:     true
==== file `which amarokapp` =======
/usr/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped


==== (gdb) bt =====================
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1265199392 (LWP 10894)]
[New Thread -1319961712 (LWP 11010)]
[New Thread -1311569008 (LWP 11009)]
[New Thread -1301288048 (LWP 11008)]
[New Thread -1269929072 (LWP 11007)]
[New Thread -1278321776 (LWP 11006)]
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb67976db in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2  0x0804d431 in Amarok::Crash::crashHandler ()
#3  <signal handler called>
#4  0xb331e9e7 in ptp_mtp_getobjectproplist () from /usr/lib/libmtp.so.6
#5  0xb330e2b2 in ?? () from /usr/lib/libmtp.so.6
#6  0x082a1e80 in ?? ()
#7  0xffffffff in ?? ()
#8  0xbfdd4a48 in ?? ()
#9  0x00023948 in ?? ()
#10 0xb3306c84 in ?? () from /usr/lib/libmtp.so.6
#11 0xb33288bc in ?? () from /usr/lib/libmtp.so.6
#12 0x0862a318 in ?? ()
#13 0x08623f80 in ?? ()
#14 0x082a1e80 in ?? ()
#15 0xb7fba660 in ?? () from /lib/ld-linux.so.2
#16 0xb3316139 in ptp_free_devicepropdesc () from /usr/lib/libmtp.so.6
#17 0xb331272a in LIBMTP_Get_Connected_Devices () from /usr/lib/libmtp.so.6
#18 0xb3312874 in LIBMTP_Get_First_Device () from /usr/lib/libmtp.so.6
#19 0xb33543fb in MtpMediaDevice:Smiley SurprisedpenDevice ()
   from /usr/lib/kde3/libamarok_mtp-mediadevice.so
#20 0xb7ce46cc in MediaDevice::connectDevice () from /usr/lib/libamarok.so.0
#21 0xb7ce4db8 in MediaBrowser::connectClicked () from /usr/lib/libamarok.so.0
#22 0xb7ce7e4a in MediaBrowser::qt_invoke () from /usr/lib/libamarok.so.0
#23 0xb622a9c0 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb622b338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb65bf907 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#26 0xb62c8f8c in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#27 0xb750d671 in KToolBarButton::mouseReleaseEvent ()
   from /usr/lib/libkdeui.so.4
#28 0xb6261681 in QWidget::event () from /usr/lib/libqt-mt.so.3
#29 0xb75881c1 in KToolBarButton::event () from /usr/lib/libkdeui.so.4
#30 0xb61c1af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#31 0xb61c3cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0xb730ccd2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0xb615427d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#34 0xb6152ee2 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#35 0xb6150fcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#36 0xb61681a4 in QEventLoop:Smiley TonguerocessEvents () from /usr/lib/libqt-mt.so.3
#37 0xb61dc1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0xb61dbfde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#39 0xb61c3699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#40 0x0804bfa2 in ?? ()
#41 0xbfdd57a0 in ?? ()
#42 0xbfdd5934 in ?? ()
#43 0x0806a806 in ?? ()
#44 0x0806a7f5 in ?? ()
#45 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb67976db in waitpid () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x0804d431 in Amarok::Crash::crashHandler ()
No symbol table info available.
#3  <signal handler called>
No symbol table info available.
#4  0xb331e9e7 in ptp_mtp_getobjectproplist () from /usr/lib/libmtp.so.6
No symbol table info available.
#5  0xb330e2b2 in ?? () from /usr/lib/libmtp.so.6
No symbol table info available.
#6  0x082a1e80 in ?? ()
No symbol table info available.
#7  0xffffffff in ?? ()
No symbol table info available.
#8  0xbfdd4a48 in ?? ()
No symbol table info available.
#9  0x00023948 in ?? ()
No symbol table info available.
#10 0xb3306c84 in ?? () from /usr/lib/libmtp.so.6
No symbol table info available.
#11 0xb33288bc in ?? () from /usr/lib/libmtp.so.6
No symbol table info available.
#12 0x0862a318 in ?? ()
No symbol table info available.
#13 0x08623f80 in ?? ()
No symbol table info available.
#14 0x082a1e80 in ?? ()
No symbol table info available.
#15 0xb7fba660 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#16 0xb3316139 in ptp_free_devicepropdesc () from /usr/lib/libmtp.so.6
No symbol table info available.
#17 0xb331272a in LIBMTP_Get_Connected_Devices () from /usr/lib/libmtp.so.6
No symbol table info available.
#18 0xb3312874 in LIBMTP_Get_First_Device () from /usr/lib/libmtp.so.6
No symbol table info available.
#19 0xb33543fb in MtpMediaDevice:Smiley SurprisedpenDevice ()
   from /usr/lib/kde3/libamarok_mtp-mediadevice.so
No symbol table info available.
#20 0xb7ce46cc in MediaDevice::connectDevice () from /usr/lib/libamarok.so.0
No symbol table info available.
#21 0xb7ce4db8 in MediaBrowser::connectClicked () from /usr/lib/libamarok.so.0
No symbol table info available.
#22 0xb7ce7e4a in MediaBrowser::qt_invoke () from /usr/lib/libamarok.so.0
No symbol table info available.
#23 0xb622a9c0 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#24 0xb622b338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#25 0xb65bf907 in QButton::clicked () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#26 0xb62c8f8c in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#27 0xb750d671 in KToolBarButton::mouseReleaseEvent ()
   from /usr/lib/libkdeui.so.4
No symbol table info available.
#28 0xb6261681 in QWidget::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#29 0xb75881c1 in KToolBarButton::event () from /usr/lib/libkdeui.so.4
No symbol table info available.
#30 0xb61c1af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#31 0xb61c3cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#32 0xb730ccd2 in KApplication::notify () from /usr/lib/libkdecore.so.4
No symbol table info available.
#33 0xb615427d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#34 0xb6152ee2 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#35 0xb6150fcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#36 0xb61681a4 in QEventLoop:Smiley TonguerocessEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#37 0xb61dc1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#38 0xb61dbfde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#39 0xb61c3699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#40 0x0804bfa2 in ?? ()
No symbol table info available.
#41 0xbfdd57a0 in ?? ()
No symbol table info available.
#42 0xbfdd5934 in ?? ()
No symbol table info available.
#43 0x0806a806 in ?? ()
No symbol table info available.
#44 0x0806a7f5 in ?? ()
No symbol table info available.
#45 0x00000000 in ?? ()
No symbol table info available.
==== (gdb) thread apply all bt ====
Thread 6 (Thread -1278321776 (LWP 11006)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb50588fc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67e5374 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb32974cf in ?? () from /usr/lib/libxine.so.1
#4  0x084cb308 in ?? ()
#5  0x084cb2f0 in ?? ()
#6  0xb3ce5388 in ?? ()
#7  0xb3ce53a8 in ?? ()
#8  0x88a6a099 in ?? ()
#9  0xb3ce5390 in ?? ()
#10 0x084cb308 in ?? ()
#11 0xb3ce5388 in ?? ()
#12 0x0006e33e in ?? ()
#13 0x00000000 in ?? ()
Thread 5 (Thread -1269929072 (LWP 11007)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb67ce5e7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb308929b in ?? ()
   from /usr/lib/xine/plugins/1.1.10/xineplug_ao_out_alsa.so
#3  0xb44e62e8 in ?? ()
#4  0x00000001 in ?? ()
#5  0x0000014d in ?? ()
#6  0xb496b700 in ?? ()
#7  0x00000001 in ?? ()
#8  0xb44e6330 in ?? ()
#9  0xb44e636c in ?? ()
#10 0x084cb9d8 in ?? ()
#11 0xb44e62e8 in ?? ()
#12 0xa0cbc62e in ?? ()
#13 0x00000000 in ?? ()
Thread 4 (Thread -1301288048 (LWP 11008)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb5058676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67e531d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb32a8274 in ?? () from /usr/lib/libxine.so.1
#4  0x08504598 in ?? ()
#5  0x08504580 in ?? ()
#6  0x00000000 in ?? ()
Thread 3 (Thread -1311569008 (LWP 11009)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb5058676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67e531d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb329ad2c in ?? () from /usr/lib/libxine.so.1
#4  0x08611184 in ?? ()
#5  0x0861116c in ?? ()
#6  0x00000000 in ?? ()
Thread 2 (Thread -1319961712 (LWP 11010)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb5058676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67e531d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb32abe00 in xine_event_wait () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()
Thread 1 (Thread -1265199392 (LWP 10894)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb67976db in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2  0x0804d431 in Amarok::Crash::crashHandler ()
#3  <signal handler called>
#4  0xb331e9e7 in ptp_mtp_getobjectproplist () from /usr/lib/libmtp.so.6
#5  0xb330e2b2 in ?? () from /usr/lib/libmtp.so.6
#6  0x082a1e80 in ?? ()
#7  0xffffffff in ?? ()
#8  0xbfdd4a48 in ?? ()
#9  0x00023948 in ?? ()
#10 0xb3306c84 in ?? () from /usr/lib/libmtp.so.6
#11 0xb33288bc in ?? () from /usr/lib/libmtp.so.6
#12 0x0862a318 in ?? ()
#13 0x08623f80 in ?? ()
#14 0x082a1e80 in ?? ()
#15 0xb7fba660 in ?? () from /lib/ld-linux.so.2
#16 0xb3316139 in ptp_free_devicepropdesc () from /usr/lib/libmtp.so.6
#17 0xb331272a in LIBMTP_Get_Connected_Devices () from /usr/lib/libmtp.so.6
#18 0xb3312874 in LIBMTP_Get_First_Device () from /usr/lib/libmtp.so.6
#19 0xb33543fb in MtpMediaDevice:Smiley SurprisedpenDevice ()
   from /usr/lib/kde3/libamarok_mtp-mediadevice.so
#20 0xb7ce46cc in MediaDevice::connectDevice () from /usr/lib/libamarok.so.0
#21 0xb7ce4db8 in MediaBrowser::connectClicked () from /usr/lib/libamarok.so.0
#22 0xb7ce7e4a in MediaBrowser::qt_invoke () from /usr/lib/libamarok.so.0
#23 0xb622a9c0 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb622b338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb65bf907 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#26 0xb62c8f8c in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#27 0xb750d671 in KToolBarButton::mouseReleaseEvent ()
   from /usr/lib/libkdeui.so.4
#28 0xb6261681 in QWidget::event () from /usr/lib/libqt-mt.so.3
#29 0xb75881c1 in KToolBarButton::event () from /usr/lib/libkdeui.so.4
#30 0xb61c1af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#31 0xb61c3cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0xb730ccd2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0xb615427d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#34 0xb6152ee2 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#35 0xb6150fcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#36 0xb61681a4 in QEventLoop:Smiley TonguerocessEvents () from /usr/lib/libqt-mt.so.3
#37 0xb61dc1ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0xb61dbfde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#39 0xb61c3699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#40 0x0804bfa2 in ?? ()
#41 0xbfdd57a0 in ?? ()
#42 0xbfdd5934 in ?? ()
#43 0x0806a806 in ?? ()
#44 0x0806a7f5 in ?? ()
#45 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()


==== kdBacktrace() ================

[/code] 

SanDisk User
Posts: 26
Registered: ‎01-18-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

You could at least describe what you were doing when you received this error.

Anyway I have no idea, I'm not good with these things. You might want to ask on the libmtp mailing list. 

Newbie
Posts: 15
Registered: ‎04-13-2008

Re: How to: MTP mode in (K)Ubuntu Gutsy

ah , yeah, u r right Smiley Very Happy

 

I receive everytime that error while I am trying to connect my player in amarok with the "mtp-detect" command. After that it takes a while to crash finally. Or can u recommend any other alternative which is "easy" to configure for that? 

 

cu