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.
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.
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
# 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
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.
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.
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).
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:
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?
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
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.
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.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.