On 7/10/07, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Tue, 10 Jul 2007, jian tao wrote:
>
> > Yes, the SD card wasn't detected even i plug SD card in reader first
> > and then boot up linux kernel. From dmesg, it seems to me SD fail to
> > reply host TEST_UNIT_READY command. Maybe it is the problem between
> > USB2227 and SD card.
>
> Maybe.
>
> > You mentioned HAL (hardware abstract layer, right?), how can get more
> > detail about it?
>
> http://www.freedesktop.org/wiki/Software/hal
>
> > usb-storage: *** thread awakened.
> > usb-storage: Command TEST_UNIT_READY (6 bytes)
> > usb-storage:  00 00 00 00 00 00
> > usb-storage: Bulk Command S 0x43425355 T 0x11 L 0 F 0 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: Attempting to get CSW...
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
> > usb-storage: Status code 0; transferred 13/13
> > usb-storage: -- transfer complete
> > usb-storage: Bulk status result = 0
> > usb-storage: Bulk Status S 0x53425355 T 0x11 R 0 Stat 0x1
> > usb-storage: -- transport indicates command failure
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: Bulk Command S 0x43425355 T 0x80000011 L 18 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 18 bytes
> > usb-storage: Status code 0; transferred 18/18
> > usb-storage: -- transfer complete
> > usb-storage: Bulk data transfer result 0x0
> > usb-storage: Attempting to get CSW...
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
> > usb-storage: Status code 0; transferred 13/13
> > usb-storage: -- transfer complete
> > usb-storage: Bulk status result = 0
> > usb-storage: Bulk Status S 0x53425355 T 0x80000011 R 0 Stat 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
> > usb-storage: Not Ready: Medium not present
> > usb-storage: scsi cmd done, result=0x2
> > usb-storage: *** thread sleeping.
>
> This log shows that LUN 0 has no media present.  Probably your reader
> puts SD cards on a higher LUN.  Make sure you have set
> CONFIG_SCSI_MULTI_LUN to Y.
>
Thanks, the problem is solved.

Paul

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to