On Mon, 18 Jul 2005 [EMAIL PROTECTED] wrote: > Hello, > > I'm trying to get a USB Flash key on a board with linux, I activate support > for > usb-storage, and scsi-disk in the kernel. This USB key work with linux on my > laptop. But on the board the key is detected, but usb-storage doesn't seems to > work, and any block device is detected. Have you any idea ? > > Here what happens when connecting a USB Flash key : > > usb 1-1: new full speed USB device using at91rm9200-ohci and address 2 > at91rm9200-ohci at91rm9200-ohci: GetStatus roothub.portstatus [0] = > 0x00100103 P > RSC PPS PES CCS > usb 1-1: default language 0x0409 > usb 1-1: new device strings: Mfr=0, Product=1, SerialNumber=0 > usb 1-1: Product: USB Mass Storage Device > usb 1-1: hotplug > usb 1-1: adding 1-1:1.0 (config #1, interface 0) > usb 1-1:1.0: hotplug > usb-storage 1-1:1.0: usb_probe_interface > usb-storage 1-1:1.0: usb_probe_interface - got id > usb-storage: USB Mass Storage device detected > usb-storage: -- associate_dev > usb-storage: Vendor: 0x0c45, Product: 0x1060, Revision: 0x0100 > usb-storage: Interface Subclass: 0x06, Protocol: 0x50 > usb-storage: Transport: Bulk > usb-storage: Protocol: Transparent SCSI > usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1 > usb-storage: GetMaxLUN command result is 1, data is 0 > usb-storage: *** thread sleeping. > scsi0 : SCSI emulation for USB Mass Storage devices > usb-storage: device found at 2 > usb-storage: waiting for device to settle before scanning > hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002 > usb-storage: queuecommand called > usb-storage: *** thread awakened. > usb-storage: Command INQUIRY (6 bytes) > usb-storage: 12 00 00 00 24 00 > usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6 > usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes > usb-storage: Status code 0; transferred 31/31 > usb-storage: -- transfer complete > usb-storage: Bulk command transfer result=0 > usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes > at91rm9200-ohci at91rm9200-ohci: urb c3c8c180 path 1 ep1in 5c160000 cc 5 --> > sta > tus -110
Looks like that at91rm9200-ohci host controller driver has some problem with Bulk transfers. Everything before the INQUIRY command involved only Control transfers, and they seemed to work okay. Alan Stern ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users