LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-23-2006, 09:05 PM   #1
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Rep: Reputation: 30
Sansa® m240 1GB MP3 Player under Ubuntu 6.06 - Not detected


For more info on the mp3 player, go here.

I have used the mp3 under windows, it works with windows media player. But I run linux, and I want to put the songs on my laptop, witch is running Ubuntu 6.06. So I plug the sansa in via USB, and open up a music player, rhythmbox, and I don't know how I should get rhythmbox to detect my mp3. And if I need to install any codecs to play mp3s, please tell me.

Thanks.
 
Old 12-23-2006, 10:21 PM   #2
sidney.harrell
Member
 
Registered: Apr 2006
Location: Stafford, VA
Distribution: Ubuntu 6.06, 7.04, Slackware 11
Posts: 45

Rep: Reputation: 15
I just picked up a Sansa m240 and am using it with ubuntu 6.06 on a hp dv4000. When I plug it in with the usb cable, Gnome auto mounts it. I just copy podcasts (mp3s) to the music folder, eject it in nautalis, wait a couple of minutes to make sure it clears the buffer, physically unplug it, and turn it on. My last player was much better, a Creative MuVo TxFm. You didn't need a cable, it just plugged into the usb slot. You could create your own folder structure. You could delete mp3s on the player. And the display would let you know when it cleared the buffer and was safe to unplug.
 
Old 12-23-2006, 10:35 PM   #3
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Original Poster
Rep: Reputation: 30
I thought it didn't matter, but I am running fluxbox, not gnome.

So, what directory would it be in for me to mount? /dev/?
 
Old 12-23-2006, 11:11 PM   #4
sidney.harrell
Member
 
Registered: Apr 2006
Location: Stafford, VA
Distribution: Ubuntu 6.06, 7.04, Slackware 11
Posts: 45

Rep: Reputation: 15
run
tail -f /var/log/messages
in a terminal window and plug in the player. This is what I got:
Quote:
Dec 24 00:01:03 sidney-laptop kernel: [17190875.888000] usb 5-5: USB disconnect, address 20
Dec 24 00:01:03 sidney-laptop kernel: [17190875.888000] 18:0:0:0: scsi: Device offlined - not ready after error recovery
Dec 24 00:01:03 sidney-laptop kernel: [17190876.000000] usb 5-5: new high speed USB device using ehci_hcd and address 21
Dec 24 00:01:03 sidney-laptop kernel: [17190876.132000] scsi19 : SCSI emulation for USB Mass Storage devices
Dec 24 00:01:13 sidney-laptop kernel: [17190886.744000] usb 5-5: reset high speed USB device using ehci_hcd and address 21
Dec 24 00:01:19 sidney-laptop kernel: [17190891.876000] usb 5-5: USB disconnect, address 21
Dec 24 00:01:19 sidney-laptop kernel: [17190891.876000] 19:0:0:0: scsi: Device offlined - not ready after error recovery
Dec 24 00:01:19 sidney-laptop kernel: [17190891.988000] usb 5-5: new high speed USB device using ehci_hcd and address 22
Dec 24 00:01:19 sidney-laptop kernel: [17190892.120000] scsi20 : SCSI emulation for USB Mass Storage devices
Dec 24 00:01:29 sidney-laptop kernel: [17190902.732000] usb 5-5: reset high speed USB device using ehci_hcd and address 22
Dec 24 00:01:32 sidney-laptop kernel: [17190904.860000] Vendor: SanDisk Model: Sansa c240 Rev: Sans
Dec 24 00:01:32 sidney-laptop kernel: [17190904.860000] Type: Direct-Access ANSI SCSI revision: 00
Dec 24 00:01:32 sidney-laptop kernel: [17190904.860000] Vendor: SanDisk Model: Sansa c240 Rev: Sans
Dec 24 00:01:32 sidney-laptop kernel: [17190904.860000] Type: Direct-Access ANSI SCSI revision: 00
Dec 24 00:01:32 sidney-laptop kernel: [17190904.956000] Driver 'sd' needs updating - please use bus_type methods
Dec 24 00:01:32 sidney-laptop kernel: [17190904.960000] SCSI device sda: 2006528 512-byte hdwr sectors (1027 MB)
Dec 24 00:01:32 sidney-laptop kernel: [17190904.964000] sda: Write Protect is off
Dec 24 00:01:32 sidney-laptop kernel: [17190904.968000] SCSI device sda: 2006528 512-byte hdwr sectors (1027 MB)
Dec 24 00:01:32 sidney-laptop kernel: [17190904.968000] sda: Write Protect is off
Dec 24 00:01:32 sidney-laptop kernel: [17190904.968000] sda: sda1 sda2
Dec 24 00:01:32 sidney-laptop kernel: [17190904.976000] sd 20:0:0:0: Attached scsi removable disk sda
Dec 24 00:01:32 sidney-laptop kernel: [17190904.988000] sd 20:0:0:1: Attached scsi removable disk sdb
Dec 24 00:01:32 sidney-laptop kernel: [17190905.016000] sd 20:0:0:0: Attached scsi generic sg0 type 0
Dec 24 00:01:32 sidney-laptop kernel: [17190905.020000] sd 20:0:0:1: Attached scsi generic sg1 type 0
Try /dev/sda1 ...maybee?
 
Old 12-24-2006, 08:39 AM   #5
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Original Poster
Rep: Reputation: 30
Code:
Dec 24 09:34:01 localhost kernel: [17686459.936000] scsi6 : SCSI emulation for USB Mass Storage devices
Dec 24 09:34:05 localhost kernel: [17686464.960000]   Vendor: SanDisk   Model: Sansa m240        Rev: 1.30
Dec 24 09:34:05 localhost kernel: [17686464.960000]   Type:   Direct-Access                      ANSI SCSI revision: 00
Dec 24 09:34:05 localhost kernel: [17686464.960000] SCSI device sdc: 1993920 512-byte hdwr sectors (1021 MB)
Dec 24 09:34:05 localhost kernel: [17686464.960000] sdc: Write Protect is off
Dec 24 09:34:05 localhost kernel: [17686464.968000] SCSI device sdc: 1993920 512-byte hdwr sectors (1021 MB)
Dec 24 09:34:05 localhost kernel: [17686464.968000] sdc: Write Protect is off
Dec 24 09:34:05 localhost kernel: [17686464.968000]  sdc: sdc1
Dec 24 09:34:05 localhost kernel: [17686464.976000] sd 6:0:0:0: Attached scsi removable disk sdc
Dec 24 09:34:05 localhost kernel: [17686464.976000] sd 6:0:0:0: Attached scsi generic sg1 type 0
I think this might have something to do with it;
Dec 24 09:34:05 localhost kernel: [17686464.960000] Vendor: SanDisk Model: Sansa m240 Rev: 1.30

My harddrive is /dev/sda (so I doubt /dev/sda2), my cdrom drive is /dev/hda, what would be a usb?

And I think I should include /etc/fstab;
Code:
      1 # /etc/fstab: static file system information.
      2 #     
      3 # <file system> <mount point>   <type>  <options>       <dump>  <pass>
      4 proc            /proc           proc    defaults        0       0
      5 /dev/sda3       /               ext3    defaults,errors=remount-ro 0    
           1     
      6 /dev/sda2       /home           ext3    defaults        0       2
      7 /dev/sda1       none            swap    sw              0       0
      8 /dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
 
Old 12-25-2006, 07:52 AM   #6
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Original Poster
Rep: Reputation: 30
I just want my mp3 files from the sansa on ubuntu. How would I do that?

And what player should I use? Amarok?
 
Old 12-26-2006, 12:53 PM   #7
sidney.harrell
Member
 
Registered: Apr 2006
Location: Stafford, VA
Distribution: Ubuntu 6.06, 7.04, Slackware 11
Posts: 45

Rep: Reputation: 15
It looks like from your log that it is /dev/sdc1

I think the command would be:
# mount -t vfat /dev/sdc1 /media/usbdisk

I don't use amorak, but once you have the player mounted, you should be able to tell amorak to look in the mounted disk, and it should look just like another drive to it.

Last edited by sidney.harrell; 12-26-2006 at 12:57 PM.
 
Old 12-26-2006, 02:22 PM   #8
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by sidney.harrell
It looks like from your log that it is /dev/sdc1

I think the command would be:
# mount -t vfat /dev/sdc1 /media/usbdisk

I don't use amorak, but once you have the player mounted, you should be able to tell amorak to look in the mounted disk, and it should look just like another drive to it.
[CODE]
Code:
lucas@dv5000t:~$ sudo mount -t vfat /dev/sdc1 /media/usbdisk
Password:
mount: mount point /media/usbdisk does not exist
lucas@dv5000t:~$ sudo mount -t vfat /dev/sdc1 /media/sandisk
mount: mount point /media/sandisk does not exist
lucas@dv5000t:~$ sudo mount -t vfat /dev/sdc1 /media/sansa
mount: mount point /media/sansa does not exist
lucas@dv5000t:~$ cd /media
lucas@dv5000t:/media$ ls
cdrom  cdrom0
lucas@dv5000t:/media$ ls -a
.  ..  cdrom  cdrom0
Hmm...Do I need to make a directory /media/usbdisk? And then set the mount point of /dev/sdc1 to /media/usbdisk?

I just did, and it worked. I load amarok, and it doesn't seem to detect the files, even when I tell it to go to that directory.

And I don't have a /music folder in there. Only /record /audible and /config .
I try with rhythmbox, and it says it can not detect MIME time in /config/config

Last edited by User Name.; 12-26-2006 at 02:38 PM.
 
Old 12-26-2006, 04:22 PM   #9
sidney.harrell
Member
 
Registered: Apr 2006
Location: Stafford, VA
Distribution: Ubuntu 6.06, 7.04, Slackware 11
Posts: 45

Rep: Reputation: 15
Quote:
sidney@sidney-laptop:~$ cd /media
sidney@sidney-laptop:/media$ ls
cdrom cdrom0 Sansa c240
sidney@sidney-laptop:/media$ cd Sansa\ c240/
sidney@sidney-laptop:/media/Sansa c240$ ls
MUSIC PHOTO PLAYLISTS RECORD SYSTEM tmp version.sdk VERSION.TXT
sidney@sidney-laptop:/media/Sansa c240$ cat VERSION.TXT
Version Info: Product Rev.: PP5022BF-06.10-S301-06.10-S301.00.04ART
Base Code: 06.10-S301-06.10-S301.00.04ART
ODM Ver.: S301-06.10-S301.00.04ART
OEM Ver.: S301.00.04ART
Build Type: RT
Build Date: 2006.10.04
Build Number: (Build 13.17)
Try looking at the disk not in amorak, but just with ls or in your file manager.
Are the songs just mp3s? Mine came with some sample songs and they weren't in the music folder. I think it may be some kind of DRM. I ended up having to format using the utility in the player just to remove the sample songs.

I just looked back, and I think I may have the c240 and you have the m240. Sorry. We're making progress, though!

Last edited by sidney.harrell; 12-26-2006 at 04:27 PM.
 
Old 12-30-2006, 06:19 PM   #10
G.Bloke
LQ Newbie
 
Registered: May 2004
Location: England
Distribution: Mandriva
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by sidney.harrell
My last player was much better, a Creative MuVo TxFm. You didn't need a cable, it just plugged into the usb slot. You could create your own folder structure. You could delete mp3s on the player. And the display would let you know when it cleared the buffer and was safe to unplug.
Err, you can create your own folder structure with the Sandisk too. It also shows you when it is transferring files, and thus when it is finished, on the lcd display!

Both of these 'features' might only appear in later firmware versions - mine uses 3.2.8E

Edit: Just noticed that whilst you said you bought a m240 your copy/paste shows it to be a c240 instead. It's unlikely but this model might lack the above. The firmware version will almost certainly be different

Last edited by G.Bloke; 12-30-2006 at 06:23 PM.
 
Old 01-07-2007, 12:19 AM   #11
David_Midwest-IL
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
sandisk mp3 player on ubuntu

Here I go this is what i did to get my sandisk (e200r) to work on ubuntu edgy running gnome & amarok works to I used synaptic package manager to install usbmount thats all it works fine for mp3 and amarok have not got photo or video to work yet let you know if i do
 
Old 01-07-2007, 12:25 AM   #12
David_Midwest-IL
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
this is what i did to get my sandisk e299r to work it was not showing up intil i used Synaptic Package Manager to install usbmount now it works fine
still need help with photo & video
 
Old 01-18-2007, 02:14 PM   #13
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by sidney.harrell
Try looking at the disk not in amorak, but just with ls or in your file manager.
Are the songs just mp3s? Mine came with some sample songs and they weren't in the music folder. I think it may be some kind of DRM. I ended up having to format using the utility in the player just to remove the sample songs.

I just looked back, and I think I may have the c240 and you have the m240. Sorry. We're making progress, though!
Code:
[03:13:24][dv5000t>/mnt/usb]$ ls
audible  config  record  sys_conf.dnc
[03:13:25][dv5000t>/mnt/usb]$ cd audible
[03:13:30][dv5000t>/mnt/usb/audible]$ ls
[03:13:30][dv5000t>/mnt/usb/audible]$ cd ../
[03:13:32][dv5000t>/mnt/usb]$ cd config
[03:13:34][dv5000t>/mnt/usb/config]$ ls
config.tcc
[03:13:35][dv5000t>/mnt/usb/config]$ cd ../
[03:13:36][dv5000t>/mnt/usb]$ ls
audible  config  record  sys_conf.dnc
[03:13:37][dv5000t>/mnt/usb]$ cd record
[03:13:40][dv5000t>/mnt/usb/record]$ ls
[03:13:41][dv5000t>/mnt/usb/record]$ cd ../
[03:13:43][dv5000t>/mnt/usb]$
I doubt there is any music folders on there .

Yeah, I can only upload mp3s on this music player.
 
Old 01-20-2007, 02:34 AM   #14
David_Midwest-IL
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
have you tried switching modes

You do know that there to modes on the scandiski have a sandisk e260r sansa rhapsody from best buy. I have to setting
in the mode

Do this on the player go to (settings) go to (mode) yours could not say the same I think some or not listed the way my or but my or listed as (Rhapsody) & PlaysForSure) Mine works fine in one Rhapsody but will not Mount In PlayForSure

Look At This site

http://www.anythingbutipod.com/forum...hread.php?t=81


good luck
 
Old 01-20-2007, 02:41 AM   #15
David_Midwest-IL
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
Have you tried switching modes if not try this

settings- mode- you should have to modes there try switching
them then pluging back in to player mine works fine in one
but not the other here these sites mite help

http://www.anythingbutipod.com/forum...hread.php?t=81

http://ubuntuforums.org/showthread.php?t=312196

good luck
 
  


Reply



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
Do You Know A Mp3 Player For Ubuntu? Dapernia Linux - Software 1 08-18-2006 03:14 PM
sansa m250 mp3 player in linux charlescpc Mandriva 10 07-22-2006 09:48 PM
Sansa m240 on linux akurtis Linux - Hardware 2 06-29-2006 03:21 PM
sansa mp3 player programming Four Programming 0 04-08-2006 08:35 PM
Portable mp3 player isnt detected... ullfrigg Linux - Hardware 2 11-29-2003 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 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
Open Source Consulting | Domain Registration