Google
  Web www.spinics.net

Re: why device invoke bus reset when inmass-storageprogress?

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


Alan Stern,您好!

	thank you ! I have fixed this " bus reset " problem and the driver can be identified as a mass storage 
	
	in ____FULL SPEED____ mode.

    the bus reset was caused by too much __printk__ debug message  which delay the phase of SCSI command 

    then cause command time out~~~   and pc host reset device.

    I remove the printk message by "echo 0>/proc/sys/kernel/printk" ,then the mass storage can read and write.

    btw,even a printk message can slow down the speed of r/w operations.


    now ,i have another question want to ask you:  

	the device cound not work when it's in ___HIGH SPEED__ mode.

    it can be enmuated,but still go bus reset even i remove the printk message which slow down the usb speed.

    can anyone help me ??? thanks much~!

======= 2006-06-20 22:15:53 您在来信中写道:=======

>On Tue, 20 Jun 2006, JackRain wrote:
>
>> Alan Stern,您好!
>> 
>> 	thanks for your answer!
>> 
>> 	both full-speed and high-speed mode fail when processing SCSI
>> command 0x23 (which is not support by driver)
>
>g_file_storage does support command 0x23.
>
>> 
>> 	when driver receives an unsupport command ,it tell isp1582 to
>> stall the endpoint pipe.
>> 
>>     and application,which emulate the UFI protocol wait for a while ,
>> 
>>     then bus reset was captured by driver ,and re-start again~ .
>> 
>>     why the driver doesn't ___move___ after stall the pipe??
>
>Lots of UDC drivers and hardware aren't able to stall bulk pipes 
>correctly.  You can work around the problem by using the module parameter 
>"stall=n" when you load g_file_storage.
>
>Alan Stern
>

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        JackRain
        hejieming@xxxxxxxxx
          2006-06-22

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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