LinuxQuestions.org
Visit Jeremy's Blog.
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 03-21-2009, 04:36 PM   #16
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Rep: Reputation: 15

Quote:
Originally Posted by Twexcom View Post
This script (Kmtpmount) will automatically setup and mount your Creative Zen as a USB drive.
I am new to linux and unfamiliar with how to use the command lines how can I get Linux mandriva KDE4 to recognize and run my Zen?
 
Old 03-22-2009, 01:30 PM   #17
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
use your package manager to install libusb and libmtp. to browse it like a usb thumbdrive install mtpfs
 
Old 03-23-2009, 01:12 AM   #18
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Rep: Reputation: 15
Quote:
Originally Posted by schneidz View Post
use your package manager to install libusb and libmtp. to browse it like a usb thumbdrive install mtpfs
Thanks for reply

I already had libusb & libmtp i am downloading mtpfs not sure how to use it. ok now Amarok shows creative zen as a collection, but nothing under it? I have almost 2 gb's of music loaded on it. wonder why it doesn't show the files i have loaded?

Last edited by addie_goodvibes; 03-23-2009 at 01:21 AM.
 
Old 03-23-2009, 01:57 AM   #19
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Rep: Reputation: 15
Quote:
Originally Posted by Twexcom View Post
This script (Kmtpmount) will automatically setup and mount your Creative Zen as a USB drive.
How do I use Kmtpmount) to mount my Zen?
is this a command line input or a file i download from MCC ( I am running Mandi KDE4?

ok below is what i get under with lsusb

Quote:
Bus 001 Device 079: ID 041e:4157 Creative Technology, Ltd.
so now how do I get the above to mount, even with mtpfs amarok doesnot load any files , the creative player does not show up in MCC local disk it does show up in hardware as below

Quote:
Media class: ‎(Defined at Interface level)<<<< what does this indicate? is there a way I can get Linux to recognize it as a valid USB interface so i can Drag & Drop?

Identification
Vendor: ‎Creative Technology Ltd

Description: ‎Creative ZEN

Media class: ‎(Defined at Interface level)<----? what does htis mean is this a value I can change?


Connection
Bus: ‎USB

Bus PCI #: ‎1

PCI device #: ‎57

Vendor ID: ‎0x041e

Device ID: ‎0x4157

Sub vendor ID: ‎0x0000

Sub device ID: ‎0x0000

Misc
Module: ‎unknown
is there a way to type in a command line to tell Mandi kde4 to mount my zen so I can brouse it and drag/drop files to & from? fnomad doesn't not do this neither does Amarok

Last edited by addie_goodvibes; 03-23-2009 at 02:22 AM.
 
Old 03-23-2009, 03:14 AM   #20
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I haven't heard of Kmtpmount. It may use the mtpfs & fuse packages. Make sure that the "fuse" module is loaded.

Also, check if your player is listed in either of these two files.
/usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi

On my system these are supplied by the hal and libmtp-hal packages, and the Creative Zen Vision is listed in
the second.

You may have problems with video, because the Creative Zen is very touchy about the video it accepts.
I think the videos need to be 24 fps instead of 29.97. You might want to look in the www.anythingbutipod.org website for
details on whaat videos are acceptable. Remember also, that when you see a .avi, .mp4, etc. file, that these are just containers, and the codec used for the video stream is also important.

I prefer using Amarok for my podcasts. I'll create a playlist of the day's podcasts and send the playlist to my device.
I don't care for Amarok 2.0 however and am sticking with 1.4.
 
Old 03-23-2009, 11:10 AM   #21
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by addie_goodvibes View Post
Thanks for reply

I already had libusb & libmtp i am downloading mtpfs not sure how to use it. ok now Amarok shows creative zen as a collection, but nothing under it? I have almost 2 gb's of music loaded on it. wonder why it doesn't show the files i have loaded?
does
Code:
mkdir temp; mtpfs temp
not work -- if you post error messages people could help you better.

^ as suggested above you mite need fuse.

edit:
libmtp allows you to send stuff to it using commands like
mtp-sendfile something.avi 109
mtp-sendtr -a dr-dre song.mp3 song.mp3

i am not sure of the specific syntax -- rtfm.

Last edited by schneidz; 03-23-2009 at 11:14 AM.
 
Old 03-25-2009, 06:48 PM   #22
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Do mp3 files in your computer collection show up? If not, you may need to install an mp3 enabled version. The stickies at the top of each forum (e.g. Fedora, SuSE, etc.) will tell you which repository to add to your package system. If you can play mp3's in amarok you are probably OK.

I have stuck with 1.4 because I use my players for podcasts & new podcasts are not highlighted in Amarok 2.0 as far as I could tell. The player shows up as a device in 1.4.

If the player in 2.0 makes up the collection, can you rescan your collection? Is the player selected as part of the collection? One thing I noticed when I tried out 2.0 is that files go right away when you select to copy them to the collection & select the device.

Using the command "mtp-files", do your songs show up? Are the mp3 or wma files. I don't believe the sansa plays other formats.

The command to send files manual to an mtp player for my version of libmtp is "mtp-sendfile filename.mp3 Music/filename.mp3". In the example given in the prior post, the number after the song is the inode of the directory. Entering "mtp-sendfile" by itself should show you the arguments your version expects. You can use "mtp-folders" to learn the names of folders and their inode numbers.

---

For mtpfs, you need the fuse module loaded.
The command "lsmod | grep fuse" will show if the fuse kernel module is loaded. If not, run "sudo /sbin/modprobe fuse".
Also check if the hald & dbusd daemons are running.

To use mtpfs is very easy. You first create a directory to use as the mount point. This directory can by in your home directory. You mount it as root. If it doesn't work, you should copy & paste the exact error message. Simply saying it doesn't work isn't much help.
Also look at /var/log/messages just after a failure, e.g.:
sudo tail /var/log/messages

Sometimes more precise information is included in the kernel's messages, and knowing the source of the message (such as the hal daemon)
can help pin down where the problem is.

---

Also run the mtp-connect command. It should print out xml information about the player. If the player doesn't connect, try unplugging it, & power cycling the player. Make sure the cable is snug. Sometimes I will have a problem with USB on my laptop. It doesn't seem supply enought power on occasion, and it doesn't matter what I plug in. When this is the case, shutting down the computer for a few minutes may help. If you plug in a pendrive & the light doesn't come on, this is a sure sign of a USB system problem, and a computer shutdown or powercycle are needed.

Good Luck!
 
Old 03-26-2009, 04:03 PM   #23
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Rep: Reputation: 15
Quote:
Originally Posted by Twexcom View Post
This script (Kmtpmount) will automatically setup and mount your Creative Zen as a USB drive.

Ok I am a linux Nwebie

So Exactly what do I type in the Shell? Do I fisrt connect my Creative Zen in usb and then run Konsole?

just type Kmtmount?
 
Old 03-26-2009, 04:57 PM   #24
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
^ you havent answered my questions from a few posts above.

what have you tried and what didnt work ?

what error messages do you get ?
 
Old 03-27-2009, 11:04 AM   #25
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
kmtmount is a program I'm not familiar with. The K at the front implies a kde program.

I use the libmtp-utils programs like mtp-files, mtp-connect, etc.

You would start any terminal program such as konsole, xterm, gnome-terminal. You can find it in the menu. I'd recommend adding it to the panel so you can simply click on the quick launch icon.

With kde3, you can drag the konsole icon from the menu and drop it on your panel. In kde4, right click on the icon and select to add it to the panel (or frequent programs of the menu).

If you have the terminal open, first check if the fuse module is loaded.
sudo lsmod | grep fuse

if it doesn't show up, then load it:
sudo /sbin/modprobe fuse

to mount the sansa player, and use it as a filesystem, you can use mtpfs.
First create a directory to mount it. You can do this as a normal user, so create the directory in your home directory:
mkdir ~/sansa

Then plug in the device and mount it:
mtpfs ~/sansa

Now you can use the cp command or even use a file browser. Since this isn't actually a filesystem, mtpfs is performing mtp commands to perform the commands needed to do the same thing. You won't be able to move files from one directory in sansa to another. You will have to copy them instead.

At least you will be able to browse and see if the files are present.

One of the sansa devices (the view I believe) uses the tags and copies files under the System/ directory. They will have strange names. You can use the file command to find out which are mp3 files.
You may have some there and others in the Music/ directory.

---

Did you configure the device in amarok as an mtp device?

---
P.S.
Sorry I jumped from Creative to Sansa. I had a Creative device but the screen when out. I have a Sansa View & Sansa P2 as well. Both the Sansa & Creative devices use mtp so the instructions I gave don't change. ( You can name the directory something else of course )

Last edited by jschiwal; 03-27-2009 at 11:08 AM. Reason: Sansa <-> Creative
 
Old 04-03-2009, 10:42 PM   #26
Twexcom
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Sorry. You would open a command prompt, cd to the folder containing the mtpmount.sh script, and then type ./mtpmount.sh.

The instructions are here: http://www.kompulsa.com/it/itdownloads.php#kmtpmount

Gnomad2 is a good manager for your Zen.

Last edited by Twexcom; 04-03-2009 at 10:56 PM.
 
Old 04-03-2009, 11:07 PM   #27
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Rep: Reputation: 15
Thank you everyone for your replies,
IUrpmi's Libmtp and now My Creative Zen Shows up in Amarok!

Thanks
 
  


Reply

Tags
creative, driver, mp3, ubuntu, usb, zen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Creative Zen V Plus/MTP/UMS/linux support xdevnull Linux - Hardware 6 04-08-2009 03:57 PM
Does the creative zen micro work with linux?? pAn1k Linux - Hardware 9 02-10-2009 07:56 PM
Does the Creative Zen Vision:M works on linux ? RobNyc Linux - Software 2 06-15-2006 03:53 PM
linux on creative zen touch mp3 player thenowherekid Linux - Laptop and Netbook 2 12-16-2005 09:26 AM
Creative Zen MP3 player on Linux? borbjo Linux - Hardware 16 05-24-2004 03:37 PM

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

All times are GMT -5. The time now is 04:32 AM.

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