Hi Folks,

I have a new 256M USB stick made by "Simple Tech"

P:  Vendor=0ea0 ProdID=1001 Rev= 2.00
S:  Manufacturer=USB
S:  Product=Flash Disk

When attempting to mount, the initial READ_CAPACITY command fails. The device 
NAKs then STALLs. Next I get a CLEAR_FEATURE followed by another 
READ_CAPACITY, which works after a few NAKs. The problem is that due to 
SD_TIMEOUT this whole process takes 35 seconds. SD_TIMEOUT is long (30 
seconds) to compensate for mechanical media.  Is it possible and does it make 
sense for SD_TIMEOUT to be dynamically set depending on media type?

I'm currently running 2.6.9 with embedded HC on PXA255 platform. I noticed 
there are some changes in 2.4.16 in sd.c for timing. I did not apply the 
complete patch to my sd.c, but did add delays in sd_revalidate_disk() to see 
if that would fix the problem. It did not. So for this device it appears the 
timing between spinup and read_capacity is not the issue.

Thanks and Happy Holidays, Kyle.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to