On Sat, 29 Sep 2007, Stefan Richter wrote: > Alan Stern wrote: > > On Sat, 29 Sep 2007, Stefan Richter wrote: > >> I've got the mentioned MP3 player with 4GB built-in flash memory and an
Ah, the key point. I missed it before, obviously. > Before the firmware update, the D2 was accessible as 4GB storage device > under Linux. I couldn't test then with an additional card because I > hadn't an SD card. I even used Linux to upload the firmware update to > the built-in flash. The simplest way to find out what's going on is to rebuild the kernel with CONFIG_USB_STORAGE_DEBUG enabled. Then the dmesg log for when you plug in the device will answer a lot of questions. (BTW, it helps if you disable HAL while running the test.) > BTW, Linux doesn't exhibit the "access beyond end of device" behaviour > if I put the card in a regular USB SDHC card reader. The reader reports > the card sizes as 15,758,336 sectors, while the Cowon D2 states the card > size as 15,728,160 sectors --- 30,176 sectors less. It sounds like the Cowon firmware doesn't report card sizes correctly. > $ cd /sys/bus/usb/devices/1-8\:1.0/ > $ echo ep* > ep_02 ep_81 ep_83 > $ cat ep*/type > Bulk > Bulk > Interrupt > > So there are two "Bulk" endpoints. Does this matter? That's what there should be: one for input and one for output. > The SCSI host associated with device 1-8:1.0 contains one target and the > target contains one logical unit. I'd expect to get two logical units, > perhaps two targets, perhaps two SCSI hosts. The verbose debugging log will indicate what went wrong with the first LUN. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users