Google
  Web www.spinics.net

how mass storage device cope with unsupported commands?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


linux-usb-users,您好!

	      hi,glad to see you again:)

		  i would like to ask a question about :  how does mass storage device cope with unsupported commands,such as 0x23 etc?

		  my way is :  refering to mass bulk-only spec.(usbmassbulk_10  6.6.4 command failure),

	      The device shall report this condition by returning a Command Failed status (bCSWStatus = 01h).

		  so,i now try :

			   1) return with sense_data 6th,12th,13th: 0x5,0x24,0x00.

			   2) return CSW with status (0x01) fail.

          but it seems from bus hound that ,the USB commnication halt a long time then reset.

		  another method i have tried is to stall the bulk-in endpoint then wait host __set feature__ and unstall endpoint.
	
		  this failed again~

          could anyone tell me the correct way ?? thank you very much~

        致
礼!
 				

        JackRain
        hejieming@xxxxxxxxx
          2006-06-28
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux