Thanks for your advices.
I check the options with a "cat .config | grep CONFIG_USB_SUSPEND" ; I get :
# CONFIG_USB_SUSPEND is not set

But, with the option USB_AUTOSUSPEND_DELAY, I obtain nothing.

Do you think that's normal ?

So, I'll try to do what you said with the recompilation of the kernel.

Thibaud.

Alan Stern a écrit :
> On Mon, 12 Feb 2007, Thibaud Hulin wrote:
> 
>> Hello!
>>
>> I've been a little longer, but I could recompiled my kernel with the 
>> debug USB support.
> 
>> And this is the result of dmesg command :
> ...
>> [  200.748000] usb 1-1: usb auto-suspend
>> [  205.920000] usb 1-1: usb auto-resume
>> [  205.968000] usb 1-1: finish resume
>> [  207.972000] usb 1-1: usb auto-suspend
>> [  211.264000] usb 1-1: usb auto-resume
>> [  211.312000] usb 1-1: finish resume
>> [  214.620000] usb 1-1: usb auto-suspend
>> [  214.972000] usb 1-1: usb auto-resume
>> [  215.096000] usb 1-1: finish resume
>> [  224.940000] usb 1-1: usb auto-suspend
>> [  228.864000] usb 1-1: usb auto-resume
>> [  228.912000] usb 1-1: finish resume
>> [  232.348000] usb 1-1: usb auto-suspend
>> [  238.788000] usb 1-1: usb auto-resume
>> [  238.836000] usb 1-1: finish resume
>> [  238.836000] usb 1-1: uhci_result_common: failed with status 440000
>> [  238.844000] usb 1-1: gone after usb resume? status -71
>> [  238.848000] usb 1-1: can't resume, status -71
>> [  238.848000] usb 1-1: USB disconnect, address 2
> 
> The dongle gets suspended when it's not being used.  Apparently you run
> some program that uses the dongle at 5- or 10-second intervals; this
> causes the device to wake up and then be suspended again.  It looks like 
> the dongle can't handle more than a few cycles of this -- after 5 cycles 
> it stopped working entirely.
> 
> You can change the autosuspend delay by altering the value of
> USB_AUTOSUSPEND_DELAY in the kernel source file drivers/usb/core/usb.h.  
> For example, setting it to (HZ*60) will cause the suspend to happen only
> after 60 seconds of inactivity.
> 
> Or you can prevent USB devices from being suspended entirely by turning 
> off the CONFIG_USB_SUSPEND setting.
> 
> Alan Stern
> 
> 
> 



-------------------------------------------------------------------------
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-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