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 01-12-2011, 10:23 AM   #1
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Rep: Reputation: 15
Question USB mp3 Player NOT WORKING in Linux. Help please.


Have an RCA k@zoo RD1000B mp3 player. Spent some time finding the usb cable for it, as it is a custom made cable for the player. Found the usbat webpage which has a driver for it, but it does not seem to work. It is supposed to create a scsi device for the mp3 player so that you can mount it as vfat. The message is supposed to show up in the system log. It does not.

http://usbat2.sourceforge.net/download.html

I built a new kernel, 2.6.37, from sources at www.kernel.org, and built usb-storage as a module. I included the usbat module as well as many other modules. From device drivers -> usb support-> usb mass storage -> usbat.
Plugging in the device, the usb connection is recognized, but no scsi device is created. What else should I do to get a device to work for the mp3 player so that I can mount it? Is something else needed?

Linux music software like Banshee does not have a built-in driver for it, so it does not see it unless it is already mounted.

In dmesg:
Code:
usbcore: registered new interface driver ums-usbat
Code:
# lsmod | grep us
ums_usbat              11487  0 
usb_storage            51268  1 ums_usbat
Code:
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 069b:2220 Thomson, Inc. RCA Kazoo RD1000 MP3 Player
Code:
# dmesg | tail
usb 3-1: New USB device found, idVendor=069b, idProduct=2220
usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 3-1: usb_probe_device
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: adding 3-1:1.0 (config #1, interface 0)
drivers/usb/core/inode.c: creating file '004'
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ehci_hcd 0000:00:10.4: suspend root hub
These are the only posts that I found on the RCA k@zoo player and it was not working but they did not know about usbat:
http://www.linuxquestions.org/questi...-linux-217887/

http://www.linuxquestions.org/questi...player-564537/

Here is a google search for the MusicMatch software for linux, which is supposed to work with the device in windows:
http://www.google.com/linux?q=musicm...rch&hl=en&sa=2

Total time spent trying to get this mp3 player to work in Linux: 30 hours+
 
Old 01-12-2011, 10:31 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,532

Rep: Reputation: 210Reputation: 210Reputation: 210
Which distro are you using? With the player plugged in and powered up, as root run:

# fdisk -l

or, if you are running one of the *buntus:

$ sudo fdisk -l

That should list all partitions recognized by your system. Does the player show up in the fdisk output?
 
Old 01-12-2011, 10:36 AM   #3
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kilgoretrout View Post
# fdisk -l
Suse 13. According to the web pages that I have read about usbat, it shows up in the system messages. I also did check /proc/partitions and it was not updated to reflect the new device, meaning that it was not added. Only the original partitions are there. The "fdisk -l" command spews out a lot of information about the harddrives, but nothing about the usb device. Simply checking /proc/partitions is preferred for me.
 
Old 01-12-2011, 11:36 AM   #4
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
MTP player support in Linux

Based on a previous thread that said that mp3 players can be MTP or UMS players, I tried the mtp-tools package just to see if it would work. It did not detect any device, which is what I thought because the RCA k@zoo RD1000B mp3 player is the pre-Lyca so it should be a UMS player using the USBAT02 processor. For MTP mp3 players, there is Gnomad2: http://gnomad2.sourceforge.net/

Code:
sudo mtp-detect
root's password:
libmtp version: 1.0.3

Listing raw device(s)
   No raw devices found.
Here is the same usb information that shows the k@zoor:
http://it.linux-usb.org/usb.ids

This does not show what driver to use for the device:
http://hardware4linux.info/component/11955/
 
Old 01-12-2011, 01:23 PM   #5
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,532

Rep: Reputation: 210Reputation: 210Reputation: 210
From the usbat FAQ:
Quote:
There is no scsi device (sda1 or whatever) in the logfile. What is wrong?
In some cases, the device will show up as a generic scsi device instead of a normal scsi disc. In this case you will have to load sd_mod before loading usb-storage. (Thanks to Darin Smith).
Have you tried this?
 
Old 01-12-2011, 01:23 PM   #6
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
inside the RCA k@zoo mp3 player

Finally got a reply from a geek who took apart his RCA k@zoo mp3 player to tell me what is inside of it, since mine would probably melt or explode it I took it apart. Unless the usbat2 processor is under the LCD display, which takes up half the real estate on it, it is not there? This is what it has:

Samsung K9F5608UOA
TI DSP TMS 320VC5416PGE
PDIUSBD12
CS4340-KS
Sony CXA2566M

And the two big chips are the Samsung and the TI DSP. These are the flash memory and the dsp chips. Does this help anyone to tell me how to connect to the device to upload/download music files?
 
Old 01-12-2011, 02:07 PM   #7
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kilgoretrout View Post
From the usbat FAQ:..Have you tried this?
That could be the missing piece? After all the time that I had spent building kernels to try to get the RCA k@zoo player to work, the instructions said to make usb-storage as a module and usbat becomes a module as a result. I think that I have sd_mod built into the kernel already, so I think that I have tried this. To be sure, what commands can I use to find out if sd_mod is built into the kernel?

Edit: kernel configuration includes sd_mod built into the kernel.
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y

The USBAT FAQ has system log output like:
Quote:
kernel Vendor: SCM Model: SCM USBAT-02/ZIO Rev: 0005
Edit:
How can I find out if the USBAT module is getting called when I plug in the RCA k@zoo mp3 player? It looks to me like it is not getting called. The source file is called "shuttle_usbat.c" and is found in the kernel sources for 2.6.37 in drivers/usb/storage.

Last edited by falmdavis; 01-12-2011 at 07:15 PM.
 
Old 01-13-2011, 11:12 AM   #8
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,532

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
To be sure, what commands can I use to find out if sd_mod is built into the kernel?
I would just look at your kernel configuration file, .config, which is usually located in /usr/src/<kernel name> in most distros. It's a hidden text configuration file as indicated by the "." at the beginning of the file name, .config. Note, sd_mod is almost always compiled as a module.

Quote:
How can I find out if the USBAT module is getting called when I plug in the RCA k@zoo mp3 player?
The common way would be to run lsmod before and after plugging in the device and compare the output. That will show you what modules are loaded before and after plugging in the device.
 
Old 01-13-2011, 12:32 PM   #9
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kilgoretrout View Post
I would just look at your kernel configuration file, .config, which is usually located in /usr/src/<kernel name> in most distros. It's a hidden text configuration file as indicated by the "." at the beginning of the file name, .config. Note, sd_mod is almost always compiled as a module.
According to the kernel building environment menuconfig text for CONFIG_BLK_DEV_SD, if your root is on a SCSI disk, then you do not build sd_mod as a module and you do not compile the driver for the scsi host adapter as a module. See Documentation/scsi/scsi.txt in the kernel documentation.

Would having CONFIG_BLK_DEV_SD compiled in the kernel instead of as a module, prevent usb-storage and ums-usbat from working with an RCA k@zoo mp3 player? And if so, then it will not work with a scsi disk?

Here are some links:
http://www.linuxquestions.org/questi...orking-194620/

Here it says that the RCA Lyra mp3 player works on Linux, but does not say what driver to use, updated 2010.
http://www.linuxquestions.org/hcl/sh...p/product/4499

Here it says that the RCA Lyra mp3 player has problems writing in Linux, updated 2004:
http://www.computing.net/answers/lin...090/24664.html

Last edited by falmdavis; 01-13-2011 at 12:33 PM.
 
Old 01-13-2011, 03:55 PM   #10
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,532

Rep: Reputation: 210Reputation: 210Reputation: 210
Your second link indicates the device works without tinkering in ubuntu 10.10(kernel 2.6.35). You should be able to find the module by running ubuntu in livecd mode, run lsmod before and after plugging in the device and comparing the output. Either that or PM the author of that post and ask him. Just for your own edification, you might want to download ubuntu and see if you can get your player working when running ubuntu in livecd mode. It should give you a clue as to how to go about getting it working on your system.
 
Old 01-09-2012, 01:17 PM   #11
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kilgoretrout View Post
With the player plugged in and powered up, as root run:

# fdisk -l
It does not show up. There are some different k@zoo devices, and the one that the post uses for Ubuntu is a different model.
 
Old 01-09-2012, 02:16 PM   #12
linux-freak
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Rep: Reputation: Disabled
@ falmdavis

Does the mp3 player have a setting for usb to switch to mass storage?


Second, try this command as root to see what the kernel says

Code:
tail -f /var/log/messages
Run this command first and then plug in the mp3 player. The -f will append new kernel messages to the screen if it detects something about the device. List the new lines you see.

Last edited by linux-freak; 01-09-2012 at 02:24 PM.
 
Old 01-09-2012, 02:49 PM   #13
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
Code:
usb 4-2: new full speed USB device using ohci_hcd and address 3
usb 4-2: New USB device found, idVendor=069b, idProduct=2220
usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
The command only shows that the USB device is plugged in. Same as lsusb, see above. No, there is no switch to Mass Storage Mode.
 
  


Reply

Tags
kernel module, mp3player


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
trying to get an old mp3 player working pwc101 Linux - Hardware 3 04-26-2006 01:57 PM
USB mp3 player not recognised, gives 'USB bus 1 deregistered' tkedwards Linux - Hardware 0 02-01-2006 01:47 AM
mp3 player not working nancy25dec Ubuntu 1 04-30-2005 08:26 AM
Mounting USB Mp3 player (iRiver H3XX) in Linux vharishankar Linux - General 2 02-27-2005 05:48 AM
USB MP3 player not working - HELP finidi Linux - Hardware 2 03-18-2003 11:51 AM


All times are GMT -5. The time now is 06:39 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