Last update of port is claiming that it's possible to use MTP with hardware MP3 players and amarok. But in fact no mtp support is enabled during configuring. So no choice of MTP device is given in amarok. How-To-Repeat: Doing next commands as root: # cd /usr/ports/audio/amarok # make rmconfig # make config <enabling MTP support in menu> # make After fetching, unpacking, pathich etc - during "configure" script there are lines in output: .. checking for libmtp >= 0.0.15... gnome-config: not found gnome-config: not found checking for libmtp >= 0.0.12... gnome-config: not found gnome-config: not found checking for libmtp < 0.0.12... gnome-config: not found gnome-config: not found .. After that "configure" reports: ========================== === Amarok - PLUGINS ======================================================== ========================== = = The following extra functionality will NOT be included: = - NMM-engine = - Helix-engine = - libvisual Support = - XMMS Visualization Wrapper = - MySql Support = - Postgresql Support = - iPod Support = - iRiver iFP Support = - MTP Device Support = - Rio Karma Support = = The following extra functionality will be included: = + xine-engine = + Konqueror Sidebar = + MusicBrainz Support = + MP4/AAC Tag Write Support = + Creative Nomad Jukebox Support = =============================================================================== Good - your configure finished. Start make now And after that amarok compiles flawlessly, but when it is run no MTP device is present in drop-down list (there are Generic, Nomad etc)
Responsible Changed From-To: freebsd-ports-bugs->mich Over to maintainer
Hello! I've managed to add MTP support in amarok by hacking configure script = (bypassing the checking of libmtp presence tests and specifying paths to= = libraries by hand). Now this type of devices is availible in dropdown = list. But the application crashes everytime when my Creative Zen = MicroPhoto is plugged in when I press "Connect" button. The output in a = = console (when I run "amarokapp", not "amarok") amarok: BEGIN: virtual bool MtpMediaDevice::openDevice(bool) Found non-autodetected device "Creative Zen MicroPhoto" on USB bus... Amarok is crashing... Running: gdb --nw -n --batch -x /var/tmp/kde-GGG/amaroklMhTXG.tmp = amarokapp 75564 warning: Unable to get location for thread creation breakpoint: generic = = error /var/tmp/kde-GGG/amaroklMhTXG.tmp:6: Error in sourced command file: Previous frame inner to this frame (corrupt stack?) Killed: 9 /usr/home/GGG>Running: file `which amarokapp` 1.4.4 [NOTstripped][validity: 0.70][frames: 69][xine] By the way, I ve tried gnomad2 application. It crashes the similar way: $ gnomad2 -D 15 .... Enter view_and_sort_list_store(2)... =3D=3D> NJB_Discover =3D=3D> njb_discover <=3D=3D njb_discover <=3D=3D NJB_Discover Found non-autodetected device "Creative Zen MicroPhoto" on USB bus... Segmentation fault: 11 (core dumped) May be this can help to find the bug... Best regards, GGG.
I found the cause of crashing when connecting to device. libmtp has unsufficient access rights to /dev/ugen0* which is my player. When I changed its owner to current user everything works flawlessly. Gnomad2 also works fine now (except the representing of Russian letter, and this is another story) So there is support of MTP, but one has to assign correct rights to device (in /dev/devfs.rules, I suppose). I think it should be mentioned somewhere in documentation. Best regadrs, Grigory Rechistov.
mich 2006-12-26 15:00:46 UTC FreeBSD ports repository Modified files: audio/amarok Makefile pkg-message Log: - add pkg-message explaining user-mount when using iPod and MTP devices PR: ports/107158 Submitted by: Rechistov Grigory <ggg_mail@inbox.ru> Revision Changes Path 1.62 +1 -1 ports/audio/amarok/Makefile 1.4 +5 -3 ports/audio/amarok/pkg-message _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed I've added a pkg-message, referring to the handbook's usb-disk section. Thanks.