LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2009, 04:36 PM   #1
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Rep: Reputation: 15
Help with using Creative Zen with Linux Mandriva KDE4


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, 12:45 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,124

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
If it is a Creative Zen mp3 player, plug it in. I'm running Mandriva. I open up MCC, the drive shows up with 'local disks'. I pick a mount point, and click on mount. The rest is drag and drop.

If you want, once you have the player mounted ( like a hard drive ) you can play the files on the player. That is it. Compared to windoze, much less work. I haven't had to install a thing.
 
Old 03-22-2009, 11:41 PM   #3
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
If it is a Creative Zen mp3 player, plug it in. I'm running Mandriva. I open up MCC, the drive shows up with 'local disks'. I pick a mount point, and click on mount. The rest is drag and drop.

If you want, once you have the player mounted ( like a hard drive ) you can play the files on the player. That is it. Compared to windoze, much less work. I haven't had to install a thing.
Ok thanks for reply I am still unsure how you did this.
What is "MCC"? I assume you mean Mandriva Linux Control center??
If so I plugged my Zen into USB and MCC does not show it in local disk how can i get MCC to see it?
I usually would plug my Zen into a USB hub, windows would detect and the rest was drag and drop from Windows Explorer,
how to I get Mandriva KDE 4 to interface like you mentioned?
I am new to running command lines so if you can help in detailed way Thank you

Last edited by addie_goodvibes; 03-22-2009 at 11:45 PM.
 
Old 03-23-2009, 12:04 AM   #4
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Original Poster
Rep: Reputation: 15
Ok i go into MCC and go into local disk , "local disk" does not see my Creative Zen,
However when I go into etect Hardware it sees it with the following info

Identification
Vendor: ‎Creative Technology Ltd

Description: ‎Creative ZEN

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?

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
 
Old 03-23-2009, 09:54 AM   #5
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,124

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
With what you have posted, your system has seen the mp3 player. The vendor ID and device info comes from the usb port.

You can also display it via the command line, as root, with the 'lsusb' command.

Yes, MCC is Mandirva Control Center.

I just plugged in my Zen, I had opened up MCC to local disks first. When I plugged in the Zen, I got a pop up message asking what I wanted to do. This happens because hot plugging is working.

Do you get any pop ups?

It did not show the Zen. I had to quit displaying local disks, and re-display it. Then the Zen shows up as sdb. My hard drive is sda.

Since I have mounted the Zen before, I have an entry in /etc/fstab. Here is what is there.

Quote:
/dev/sdb1 /mnt/pictures vfat defaults 0 0
Note, the second entry, /mnt/pictures is the directory I told the system to mount it to before. This can be any convenient empty directory.

To edit /etc/fstab, you have to become root. The /dev/sdb on my system may be different on yours. It will depend on the number and type of drives you have.

Add an entry to /etc/fstab, and try it again. Unless there is something unusual about your Zen, it should show up and mount.
 
Old 03-23-2009, 01:13 PM   #6
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
With what you have posted, your system has seen the mp3 player. The vendor ID and device info comes from the usb port.

You can also display it via the command line, as root, with the 'lsusb' command.

Yes, MCC is Mandirva Control Center.

I just plugged in my Zen, I had opened up MCC to local disks first. When I plugged in the Zen, I got a pop up message asking what I wanted to do. This happens because hot plugging is working.

Do you get any pop ups?
When I plug in my usb thumb drive I don't get a pop up at all, it just shows up in sys tray "Devices recently plugged in" i see it there and can click on it or sfely remove it, no pop or hot plug actions occur. recognizing it, similiar to the windows safely remove icon in sys tray. whenI plug in my Zen through any usb port nothing pops up, not even a notifer icon


Quote:
Originally Posted by camorri View Post
Since I have mounted the Zen before, I have an entry in /etc/fstab. Here is what is there.
Here is what i get when I type in /etc/fstab

Quote:
Originally Posted by konsole
[root@localhost addiegoodvibes]# /etc/fstab
bash: /etc/fstab: Permission denied

Quote:
Originally Posted by camorri View Post
Note, the second entry, /mnt/pictures is the directory I told the system to mount it to before. This can be any convenient empty directory.
So what is the first Command line I input to begin to assign my creative zen to mount? do i 1st go inot lsusb?

here is what i get when I run mount under root.

Quote:
[root@localhost addiegoodvibes]# mount
/dev/sdb1 on / type reiserfs (rw,relatime,notail,user_xattr)
none on /proc type proc (rw)
/dev/sdb6 on /home type reiserfs (rw,relatime,notail,user_xattr)
/dev/sda1 on /mnt/win_c type fuseblk (rw,allow_other,blksize=4096)
/dev/sda2 on /mnt/win_d type fuseblk (rw,allow_other,blksize=4096)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
So from here where do I go my creative is now showing underlsusb.

not sure what to enter I think the creative player would be /dev/sdb6.

I am not sure where or how to command it to mount.

Quote:
This can be any convenient empty directory.
how do I find an empty directory and what do i call Zen?

I have a creative ZEN 32g running mandi KDE4

Sorry i am new to command line input Very new not sure of what to do and how, thanks for all your help.

Last edited by addie_goodvibes; 03-23-2009 at 01:28 PM.
 
Old 03-23-2009, 07:29 PM   #7
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,124

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
There is a fair bit you are not understanding. That is not a criticism, just reality. You are new to linux.

The reason I asked about pop ups, is it is an indication if you have hot plugging working. Hot plugging is helpful, it detects the presence of new hardware, like the Zen, or any other device you may plug in while the system is running.

'/etc/fstab' is a specific file on your system. Fstab is read during the boot process, and is used to mount ( or join ) partitions to the root file system. The first part, the '/' character, says root, or the beginning of the file system. Linux has a number of standard folders that are created there, 'etc' is one of them. Etc has a lot of configuration files in it. fstab is one of them.

So, if you have a partition you want added, you can add a line to /etc/fstab so the system will add it on each boot. It will then be there, with its files available. If it does not get mounted, you will not be able to read or write files on that partition. For a device like the mp3 player, adding the line saves typing. Instead of tying the entire mount command, all I need to do is type 'mount /mnt/pictures' and it would mount. Mandy tries to be helpful to those that would rather click on something, than type commands. In MCC you can create entries in fstab, and mount devices. ( the gui way ).

The Zen I have is seen as an external hard drive, one partition. I don't know about yours for sure. That is going to take some looking around. You have a different model to mine.

Typing the word 'mount' by itself shows you what is mounted, so that is the output you got. I can see your system has two hard drives, sda has windoze partitions and sdb has linux. You are using the reiser file system on sdb1 and sdb6.

To get a device mounted, without a entry in /etc/fstab, you have to type the entire command, with all the necessary parameters. Usually this is restricted to the root user, not a regular user.

Here is what the man page says about the mount command. ( just part of the man page ).
Quote:
The standard form of the mount command, is
mount -t type device dir
This tells the kernel to attach the file system found on device (which
is of type type) at the directory dir. The previous contents (if any)
and owner and mode of dir become invisible, and as long as this file
system remains mounted, the pathname dir refers to the root of the file
system on device.
So to get my Zen to mount, I typed...


'mount -t vfat /dev/sdb1 /mnt/pictures' and pressed enter ( as root user ).

O.k., first of all don't put the quotes in; just what is between them. I had to know the type of file system on the Zen (vfat). Linux supports an amazing number of different file systems. Next the device, that is the '/dev/sdb1' part. Remember what I said above, the '/' is the root, or beginning of the tree of directories. dev is just another file off the root. So, in a konsole you can use the 'cd' (change directory) command to go to that directory. Then I can do a 'ls' (list) command to look at what is in there. Special files get created in dev for each piece of hardware on your system. If hot plugging is working, when you plug in the Zen, a new file will be created. Since you already have a 'sda' and 'sdb', if hot plugging works, the new one will be 'sdc'. You can look at this by going to that directory, use ls command like this, 'ls sd*' before you plug in the Zen. You should see several sda's and sdb's listed, but no sdc's. Then plug the Zen, and do it again. If sdc1 shows up, that will be the device for the mount command.

Now the empty directory... Another standard folder in the root is mnt ( sort of a shortened version of mount ) Another one is media. If you go to either, and do a 'ls' you will not see any files. These are empty directories created as "mount points" or places to put new file systems that may get plugged in. On my system, with a root konsole I did a 'mkdir pictures'(make directory command) that added a folder called pictures. The name I added is not important, I just tried to make it meaningful to me. So, I hope this explains in a way you can understand how to mount a device.

I'm going to post this, let you read it. You can do some poking around your file system, and develop a little more understanding. If I have confused you, I apologize. It takes a while to start to understand all the new concepts of linux. The best part, once you understand some of these things, it gets way easier.
 
Old 03-23-2009, 08:33 PM   #8
addie_goodvibes
Member
 
Registered: Mar 2009
Location: Hermosa Beach
Distribution: Mandriva KDE 4
Posts: 44

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by camorri View Post
There is a fair bit you are not understanding. That is not a criticism, just reality. You are new to linux.

The reason I asked about pop ups, is it is an indication if you have hot plugging working. Hot plugging is helpful, it detects the presence of new hardware, like the Zen, or any other device you may plug in while the system is running.

'/etc/fstab' is a specific file on your system. Fstab is read during the boot process, and is used to mount ( or join ) partitions to the root file system. The first part, the '/' character, says root, or the beginning of the file system. Linux has a number of standard folders that are created there, 'etc' is one of them. Etc has a lot of configuration files in it. fstab is one of them.

So, if you have a partition you want added, you can add a line to /etc/fstab so the system will add it on each boot. It will then be there, with its files available. If it does not get mounted, you will not be able to read or write files on that partition. For a device like the mp3 player, adding the line saves typing. Instead of tying the entire mount command, all I need to do is type 'mount /mnt/pictures' and it would mount. Mandy tries to be helpful to those that would rather click on something, than type commands. In MCC you can create entries in fstab, and mount devices. ( the gui way ).

The Zen I have is seen as an external hard drive, one partition. I don't know about yours for sure. That is going to take some looking around. You have a different model to mine.

Typing the word 'mount' by itself shows you what is mounted, so that is the output you got. I can see your system has two hard drives, sda has windoze partitions and sdb has linux. You are using the reiser file system on sdb1 and sdb6.

To get a device mounted, without a entry in /etc/fstab, you have to type the entire command, with all the necessary parameters. Usually this is restricted to the root user, not a regular user.

Here is what the man page says about the mount command. ( just part of the man page ).


So to get my Zen to mount, I typed...


'mount -t vfat /dev/sdb1 /mnt/pictures' and pressed enter ( as root user ).

O.k., first of all don't put the quotes in; just what is between them. I had to know the type of file system on the Zen (vfat). Linux supports an amazing number of different file systems. Next the device, that is the '/dev/sdb1' part. Remember what I said above, the '/' is the root, or beginning of the tree of directories. dev is just another file off the root. So, in a konsole you can use the 'cd' (change directory) command to go to that directory. Then I can do a 'ls' (list) command to look at what is in there. Special files get created in dev for each piece of hardware on your system. If hot plugging is working, when you plug in the Zen, a new file will be created. Since you already have a 'sda' and 'sdb', if hot plugging works, the new one will be 'sdc'. You can look at this by going to that directory, use ls command like this, 'ls sd*' before you plug in the Zen. You should see several sda's and sdb's listed, but no sdc's. Then plug the Zen, and do it again. If sdc1 shows up, that will be the device for the mount command.

Now the empty directory... Another standard folder in the root is mnt ( sort of a shortened version of mount ) Another one is media. If you go to either, and do a 'ls' you will not see any files. These are empty directories created as "mount points" or places to put new file systems that may get plugged in. On my system, with a root konsole I did a 'mkdir pictures'(make directory command) that added a folder called pictures. The name I added is not important, I just tried to make it meaningful to me. So, I hope this explains in a way you can understand how to mount a device.

I'm going to post this, let you read it. You can do some poking around your file system, and develop a little more understanding. If I have confused you, I apologize. It takes a while to start to understand all the new concepts of linux. The best part, once you understand some of these things, it gets way easier.
Thank you so much for all the help, yes I am new to Linux but am determined to stick itout, mainly as a learnin experience & I want to cut the windows leash I have been tethered to for the past 20 years.

I believe I do have fstab , so by hwat you say I can get it mounted through MCC or through Konsole.
You have helped a lot I will try what you pointed out. Thanks in advance for all your help.
 
  


Reply


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
Can I use my new Creative Zen under linux? shanemorankelly Linux - Hardware 26 04-03-2009 11:07 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


All times are GMT -5. The time now is 07:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration