View previous topic :: View next topic |
Author |
Message |
souts n00b

Joined: 16 May 2004 Posts: 5 Location: Where am I?
|
Posted: Sun Jun 06, 2004 12:56 pm Post subject: cheap mp3 player - should it work? |
|
|
First off, apologies if this question has been answered elsewhere, I've been
searching the forums and google for a day or so but can't seem to get to the
bottom of this.
I have a cheap LG MP3 player with multimedia cards - I guess the first question
is should this work like a USB card reader? If the answer is "not neccessarily",
then I suppose I'm wasting my time and should save up for something more
expensive....
If the answer is yes, - how? I *think* I have all the SCSI & USB modules
compiled and loaded:
Code: | Module Size Used by
sd_mod 17920 0
ohci_hcd 17860 0
usb_storage 28032 0
scsi_mod 71608 2 sd_mod,usb_storage
uhci_hcd 31888 0
ehci_hcd 25156 0
usbcore 96412 8 ohci_hcd,usblp,usb_storage,hid,uhci_hcd,ehci_hcd |
lsusb gives:
Code: | Bus 003 Device 001: ID 0000:0000
Bus 002 Device 006: ID 043e:7001 LG Electronics USA, Inc. MF-PD100 Soul Digital MP3 Player
Bus 002 Device 002: ID 03f0:3104 Hewlett-Packard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000 |
But the only lines that come up when the player is plugged / unplugged in dmesg
is:
Code: | usb 2-2: USB disconnect, address 3
usb 2-2: new full speed USB device using address 4 |
i.e. it doesn't get recognised as a storage device.
This is a fresh install, with a 2.6.5-r1 kernel.
Any help at all is appreciated, even if it's a link to a post I missed  _________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for ($beer=0; $beer<=$trollied; beer++){
#
# code missing due to memory loss
#
} |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54902 Location: 56N 3W
|
Posted: Sun Jun 06, 2004 4:17 pm Post subject: |
|
|
souts,
You have both the USB 1.1 hardware drivers installed (ohci_hcd and uhci_hcd). Get rid of the one that doesn't suit your hardware.
Look in /proc/bus/usb/devices to see if you have OHCI or UHCI root hubs and keep that one.
Your player is VendorID=043e ProductID=7001, which is not known to usb-storage. That doesn't mean it won't work, just that it won't work out of the box. It looks like usb-storage does not take module parameters either. That means a little light kernel hacking. Before you get into that, how does the device appear to windows?
Also, try unloading usb-storage and load it with the command
Code: | insmod usb-storage vendor=0x043e product=0x7001 |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
souts n00b

Joined: 16 May 2004 Posts: 5 Location: Where am I?
|
Posted: Sun Jun 06, 2004 5:21 pm Post subject: |
|
|
Thanks for the hints!
I got rid of uhci-hcd, no problem.
I can't quite remember how it appeared under Windows (I do remember that the software for it was rubbish!), I'll have to check tomorrow at work
Code: | sh-2.05b# lsmod | grep usb
usb_storage 102288 0
usblp 12224 0
scsi_mod 71608 3 usb_storage,ide_scsi,sd_mod
usbcore 96412 7 usb_storage,ohci_hcd,usblp,hid,ehci_hcd |
Code: | sh-2.05b# rmmod usb-storage
sh-2.05b# lsmod |grep usb
usblp 12224 0
usbcore 96412 6 ohci_hcd,usblp,hid,ehci_hcd
sh-2.05b# insmod usb-storage vendor=0x043e product=0x7001
insmod: can't read 'usb-storage': No such file or directory |
Code: | sh-2.05b# modprobe usb-storage
sh-2.05b# lsmod | grep usb
usb_storage 102288 0
usblp 12224 0
scsi_mod 71608 3 usb_storage,ide_scsi,sd_mod
usbcore 96412 7 usb_storage,ohci_hcd,usblp,hid,ehci_hcd |
And there was me thinking insmod and modprobe were interchangeable!
I'm game for light kernel hacking if someone's willing to talk me through it  _________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for ($beer=0; $beer<=$trollied; beer++){
#
# code missing due to memory loss
#
} |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54902 Location: 56N 3W
|
Posted: Sun Jun 06, 2004 5:39 pm Post subject: |
|
|
souts,
Try the Windows software under WINE. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
souts n00b

Joined: 16 May 2004 Posts: 5 Location: Where am I?
|
Posted: Sun Jun 13, 2004 4:04 pm Post subject: |
|
|
An update:
Got a "real" card reader for £20, which works perfectly with udev & hotplug (mostly thanks to these forums).
NeddySeagoon - I was poking around in the kernel and came across $kerneldir/drivers/usb/storage/unusual_devs.h - is that the light hacking you were referring to? If so do you know how I would determine the correct setting for my mp3 player?
Cheers for your help _________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for ($beer=0; $beer<=$trollied; beer++){
#
# code missing due to memory loss
#
} |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54902 Location: 56N 3W
|
Posted: Sun Jun 13, 2004 4:59 pm Post subject: |
|
|
souts,
Possibly, but I was thinking of adding your player Vendor and Product IDs to usb-storage and seeing if it worked. Thats not quite so subtle as unusual devices, which wants more info. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|