LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   USB mp3 Player NOT WORKING in Linux. Help please. (https://www.linuxquestions.org/questions/linux-newbie-8/usb-mp3-player-not-working-in-linux-help-please-855842/)

falmdavis 01-12-2011 10:23 AM

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+

kilgoretrout 01-12-2011 10:31 AM

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?

falmdavis 01-12-2011 10:36 AM

Quote:

Originally Posted by kilgoretrout (Post 4221795)
# 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.

falmdavis 01-12-2011 11:36 AM

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/

kilgoretrout 01-12-2011 01:23 PM

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?

falmdavis 01-12-2011 01:23 PM

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?

falmdavis 01-12-2011 02:07 PM

Quote:

Originally Posted by kilgoretrout (Post 4221967)
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.

kilgoretrout 01-13-2011 11:12 AM

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.

falmdavis 01-13-2011 12:32 PM

Quote:

Originally Posted by kilgoretrout (Post 4223147)
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

kilgoretrout 01-13-2011 03:55 PM

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.

falmdavis 01-09-2012 01:17 PM

Quote:

Originally Posted by kilgoretrout (Post 4221795)
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.

linux-freak 01-09-2012 02:16 PM

@ 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.

falmdavis 01-09-2012 02:49 PM

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.


All times are GMT -5. The time now is 03:54 AM.