Hello, I have a no-name USB mp3 player coming with 128 MB.
Vendor: Winbond Electronics Corp. 0x0416 Product: CT986 0xc986 It works fine under windows: sometimes data corruption will occur, but that remains rare and reading/writing speed is decent. Pluging it the first time under linux didn't work at all. A lot of errors like "SCSI error : <0 0 0 0> return code = 0x10070000". Partition table wasn't recognized at all. It was natively not working with kernel 2.6.11, so I decided to hack the unusual_devs.h. I added those line: UNUSUAL_DEV(0x0416, 0xc986, 0x0100, 0x0100, "Winbond Electronics Corp.", "CT986", US_SC_DEVICE, US_PR_BULK, NULL, US_FL_IGNORE_RESIDUE | US_FL_FIX_INQUIRY | US_FL_NEED_OVERRIDE), All switches are required, device seems to accept only Bulk according to the Windows driver. Adding those lines helped a lot: key is recognized correctly (sda1), and reading files is fine. However, writing always fails, with such error messages (tons of them): SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 400 Buffer I/O error on device sda1, logical block 0 (sector and logical block changing in each message). I tried to add the "sync" option in the fstab, and it wil copy files, but for no more than 2048 bytes. I tried to decrease the max_sectors to 8, helped only for littles files. Bigger files will be corrupted. I tried latest patch regarding ignoring residue for read and write operations, it somehow helped as all those error message are gone and files are copied without problem, but it is horribly slow (transfer rate around 20 kb/s at best), which makes mp3 transfers a real pain. Any idea ? Will 2.6.12 provide a solution ? Here's lsusb result: Bus 001 Device 008: ID 0416:c986 Winbond Electronics Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 16 idVendor 0x0416 Winbond Electronics Corp. idProduct 0xc986 bcdDevice 1.00 iManufacturer 0 iProduct 2 CT986 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 255 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 255 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type none wMaxPacketSize 8 bInterval 1 Language IDs: (length=4) 0409 English(US) -- Grégory SCHMITT <mailto:[EMAIL PROTECTED]> ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel