LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creative Zen Touch with Plays-for-sure on Kubuntu is...a camera? (https://www.linuxquestions.org/questions/linux-newbie-8/creative-zen-touch-with-plays-for-sure-on-kubuntu-is-a-camera-518976/)

thedrifterthor 01-13-2007 12:37 PM

Creative Zen Touch with Plays-for-sure on Kubuntu is...a camera?
 
Hey everybody, I just switched myself over from Windows to the newest Kubuntu distro, and I'm trying to get my Zen to work with it. I've checked out some stuff already, and I got Gnomad along with all the packages and such I was told I would need to get it working. The problem is that when I plug in the Zen, Kubuntu auto-detects it as a camera. I'm not sure if it's because of this, but Gnomad says there's no jukebox hooked up either. Can anyone help me out with this?

josenj 01-13-2007 04:33 PM

Got my Zen Vision:M working on Christmas. I too use Gnomad2 (version 2.8.8) to sync but it didn't work at first. What you need is the "libmtp" libraries. Also I recompiled Gnomad to link with the libmtp libs. I use Debian Etch and when I did a "apt-cache search libmtp" (should work with Kubuntu since it's a Debian based distro) I got no match. So I went to http://libmtp.sourceforge.net/ to download and compile. Now do yourself a favor and download version 0.1.0 of the library because when I recompiled Gnomad it complained when compiling with version 0.1.2.

You need to also recompile Gnomad or if you want version 2.8.9 is out and you can compile that. So this is what I would do

- For me I needed to do a apt-get install libusb-dev
- Download libmtp version 0.1.0 from sourceforge (http://libmtp.sourceforge.net/). Remember, compiling Gnomad gave me troubles with 0.1.2, I think their API has changed in that version.
- Download (or recompile) Gnomad2. (http://gnomad2.sourceforge.net/)
- Compile and install libmtp
- Compile (or recompile) Gnomad.

When you got all that working power up your Zen then start Gnomad and it should work. I usually "ignore" the question about the camera.

I don't know how well you know Linux but if you need more guided steps let me know. Also what Zen do you have?

thedrifterthor 01-13-2007 10:33 PM

Well, I only started up on Linux a few days ago, so I'm pretty new. The only thing I'm not sure of in your guide is how to compile something. I'm PRETTY sure I know, but I don't want to mess it up, so yeah, if you could tell me that, it would really help. ^_^ Thanks for putting up with such a newbie.

josenj 01-14-2007 12:37 PM

I found this tutorial on the ubuntu site:

http://www.ubuntuforums.org/showthread.php?t=199250

They have a section for Dapper and Edgy. Looks very good but I haven't tested this since I use Debian.

Let me know if this helps you.

thedrifterthor 01-23-2007 02:30 PM

It still won't work. I followed through with everything on that site, it still tells me it can't find jukeboxes on the USB bus. I have a plain Creative Zen Touch, if that makes any difference.

josenj 01-24-2007 11:09 AM

According to the Gnomad2 website (http://gnomad2.sourceforge.net/) your device should be supported. I can't confirm that since I use a Zen Vision:M. I had to "recompile" my gnomad2 package from Debian with MTP support (libmtp) then reinstall it using the dpkg program. It doesn't work using the original Debian package.

Could you run the following command and post it's output:

Code:

ldd `which gnomad2` | grep libmtp
If the output comes back empty, you don't have MTP support.

Also could you let me know what version of libmtp you downloaded?

And what version of Ubuntu you're running?

thedrifterthor 01-28-2007 12:44 AM

Yeah, the command came back empty. I got libmtp 0.1.0 like you said, and I'm running Kubuntu edgy. I tried using the package manager to install the libmtp2 package as well, still nothing.

josenj 01-29-2007 01:32 AM

Could you let me know the output of the following commands:

Code:

sudo find / -name "libmtp*" -print | grep -v /home
Code:

/sbin/ldconfig -p | grep libmtp
Code:

cat /etc/ld.so.conf

Hubmasterflex 01-29-2007 05:02 PM

I seem to have the same issue where my CPU reads it as a camera; the only exceptions are that I have a Creative Zen Micro and i'm running OpenSuSe 10.2.

thedrifterthor 01-29-2007 09:25 PM

First command put out:
Code:

/var/cache/apt/archives/libmtp2_0.0.18-0ubuntu2_i386.deb
/var/lib/dpkg/info/libmtp2.shlibs
/var/lib/dpkg/info/libmtp2.postinst
/var/lib/dpkg/info/libmtp2.conffiles
/var/lib/dpkg/info/libmtp2.md5sums
/var/lib/dpkg/info/libmtp2.list
/var/lib/dpkg/info/libmtp2.postrm
/etc/udev/rules.d/libmtp.rules
/etc/hotplug/usb/libmtp.usermap
/usr/lib/libmtp.so.2.1.1
/usr/lib/libmtp.so.2
/usr/share/doc/libmtp2

Second:
Code:

libmtp.so.2 (libc6) => /usr/lib/libmtp.so.2
And third:
Code:

include /etc/ld.so.conf.d/*.conf
/usr/X11R6/lib


josenj 02-10-2007 11:53 AM

Hi thedrifterthor

Let's do this, I checked the website for both gnomad2 and libmtp and they both have been updated. So the instructions below is for these update app/libraries.

First uninstall your version of gnomad2 and libmtp:
Code:

sudo aptitude purge gnomad2 libmtp*
Now for some needed packages:
Code:

apt-get install libdbus-1-dev libdbus-glib-1-dev libxml-parser-perl
Now create a directory for the program and get the latest version:
Code:

mkdir gnomad2-mtp
cd gnomad2-mtp
wget http://superb-west.dl.sourceforge.net/sourceforge/gnomad2/gnomad2-2.8.11.tar.gz
wget http://internap.dl.sourceforge.net/sourceforge/libmtp/libmtp-0.1.3.tar.gz

Then:
Code:

tar xzvf gnomad2-2.8.11.tar.gz
tar xzvf libmtp-0.1.3.tar.gz

Then:
Code:

cd libmtp-0.1.3/
./configure --prefix=/usr
make
sudo make install

cd ..
cd gnomad2-2.8.11
./configure --prefix=/usr

After a few seconds (depending on the speed of your computer) you should have something like the following output:

Code:

gnomad2 2.8.11
Configuration :
---------------

 Source code location .: .
 C Preprocessor .......: gcc -E
 C Compiler ...........: gcc -g -O2
 C Linker .............: gcc
 GTK+ version .........: 2.8.20
 libgnomeui version....: NOT USED
 libnjb version........: 2.2.5
 libmtp version........: 0.1.3
 id3tag version........: 0.15.0b
 dbus-glib version.....: 0.60
 Install path .........: /usr

 Now type 'make' to build gnomad2 2.8.11,
 and then 'make install' for installation.

The key here is that it should detect libmtp's version. If you didn't get this far that means there is something missing. If during the ./configure command breaks, cut-n-paste the error.

Now type 'make' to build gnomad2 2.8.11, and then 'sudo make install' for installation.

When you are done run the following command:

Code:

ldd `which gnomad2` | grep -i libmtp
You should see should see something like this:
libmtp.so.5 => /usr/lib/libmtp.so.5 (0xb7927000)

If you do see something, plug your Zen in first then run
Code:

gnomad2
Let me know how things turn out. Good Luck.

thedrifterthor 02-11-2007 01:31 PM

IT WORKED!! Finally! Thank you so much, you definitely rock ^_^

josenj 02-12-2007 11:37 AM

No problem... glad to help!

taladan 02-21-2007 10:03 PM

Hey, tried this exactly like you stepped it out, but gnomad2 is still giving me 'no jukebox found'.

mtp-detect gives me the following:

Found non-autodetected device "Creative Zen Vision:M (DVP-HD0004)" on USB bus...
usb_claim_interface(): No such file or directory
Connection error.
No devices.


I've been fighting with this thing for the better part of a day now, trying to get Amarok to see it, gnomad2, even kzenexplorer...nothing is seeing this...it's almost like libmtp isn't detecting it right. Any help would be /much/ appreciated.

Tal

gkokaisel 03-02-2007 08:26 AM

Thanks!!!
 
Quote:

Originally Posted by josenj
No problem... glad to help!

Found your post this morning and finally I have Gnomad up and running with full connectivity. THanks!


All times are GMT -5. The time now is 09:32 PM.