Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Something on the gnomad2 page (http://gnomad2.sourceforge.net/) made me realize I needed libmtp for the microphoto. So I removed my first attempt at gnomad2, downloaded (from http://sourceforge.net/project/showf...roup_id=158745) and compiled libmtp, recompiled gnomad2 - and it works! Big surprise. One more step towards freedom from Windows.
Something on the gnomad2 page (http://gnomad2.sourceforge.net/) made me realize I needed libmtp for the microphoto. So I removed my first attempt at gnomad2, downloaded (from http://sourceforge.net/project/showf...roup_id=158745) and compiled libmtp, recompiled gnomad2 - and it works! Big surprise. One more step towards freedom from Windows.
That's cool. After stuggling with permissions through hotplug I finally got it working for my normal user. I have a weird problem though.
Code:
Transferring MTP track...
send_file_object(): Bad return code from ptp_sendobject(): 767.
LIBMTP_Send_Track_From_File_Descriptor: error sending track object
Error sending file "/tmp/fileBLnYev/02 bastard.mp3" to MTP device!
This happens to around 2-5% of my music. Its a serious pain in the ass too. When I go to import 4 gigs of music it takes about 15 minutes to index the music. Then it starts copying. The whole batch transfer stops once it comes across one of these errors. It seems the actual transfer error occurs in libMTP. I am going to edit the gnomad2 source so it will continue the batch even if a file fails. This way, I can get a big list of all the failed files and see if there are any simularities.
Hi, I've just bought a zen creative sleek photo (the 20gb version for a measly £110) so I was pretty desperate to get it to work without installing the dreaded XP plus SP1. It took a bit of a battle but I can report success. I think that most of the other Zen devices seem to be supported but, like you I had problems with gnomad not recognising the device. In short what I had to do was:
Install libnjb - I used version 2.2.5
libmtp - I used version 0.0.9
gnomad2 - I used version 2.8.6
Now the first time I complied the last it didn't work, like you I got device not founds. I redid the tar with the p param to extract retaining permissions and that seemed to fix the problem. I still need to run gnomad2 as root for now but otherwise it works fine.
There is a little script in libmtp directory called detect which seems to find the device accurately ( do ./detect in dir libmtp-0.0.9)) and this is what led me to re-do the gnomad2 compile.
I use suse 10.0 but all of this configuring was done outside of yast.
Hope this helps,
Harry Anderson
Can anyone help me with why I can't extract the libmtp-0.0.9.tar.gz file I download from source forge? I've been able to extract plenty of other .tar.gz files. I really want to get that library working because I have a Zen Touch that I want to be able to sync with my SuSE 10.1 box.
What did you do to get it working for your normal user? I'm having trouble with permissions...
Code:
Found non-autodetected device "Creative Zen Sleek Photo" on USB bus...
usb_claim_interface(): Operation not permitted
I can't remember exactly what I did. I just followed through the hotplug howto on gentoo or gentoo-wiki. I'm definately still having some problems with libmtp+gnomad2. Certain files cause the program to segfault when just viewing them in the local panel. Not sure what the problem is, but it is in mp3file.c. I'm trying to fix it currently. Other files simply cannot be transferred to the unit. They cause "Bad return code from ptp_sendobject()", seems like a problem with libmtp, or at least how gnomad2 is interfacing libmtp.
Last edited by AngryLlama; 08-02-2006 at 10:12 AM.
I've got gnomad2 + libmtp and libnjb installed on my SuSE 10.1 AMD64 box and am trying to use it with a Zen Microphoto. Gnomad works about once every ten attempts. Other times I get various errors and segfaults (see below). Even when it runs and detects the Microphoto, it often crashes when navigating folders. Are you guys getting this behaviour as well? Also would be very interested to know how you got it to run as a normal user - I'm not happy running it as root all the time!
Code:
# gnomad2
Segmentation fault
# gnomad2
<CRASH>
# gnomad2
(gnomad2:9190): Gdk-WARNING **: Attempt to draw a drawable with depth 2 to a drawable with depth 24
Segmentation fault
# gnomad2
Autodetected device "Creative Zen MicroPhoto" (VID=041e,PID=413c) is known.
PTP: Opening session
Could not open session! (Return code 767)
Try to reset the device.
Could not get device info!
Connection error.
PDE device NULL.
PDE device NULL.
Autodetected device "Creative Zen MicroPhoto" (VID=041e,PID=413c) is known.
PTP: Opening session
Connected to MTP device.
Queried Creative Zen MicroPhoto
Segmentation fault
# gnomad2
Xlib: unexpected async reply (sequence 0x2ee)!
# gnomad2
Xlib: unexpected async reply (sequence 0x362)!
# gnomad2
Autodetected device "Creative Zen MicroPhoto" (VID=041e,PID=413c) is known.
PTP: Opening session
Connected to MTP device.
Queried Creative Zen MicroPhoto
<<SUCCESS AT LAST!>>
This is really a bummer to get to work imo. Any chance in h... that anybody will write a decent howto. I'm using debian/ubuntu, but I'm a newbie and not too keen on compiling etc. Really would be great with a decent howto- been searching the web for 3 months now and this thread is the closest I've been to a solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.