Sansa® m240 1GB MP3 Player under Ubuntu 6.06 - Not detected
Linux - NewbieThis 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
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.
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.
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.
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
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.
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.
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.
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
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
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
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.