When enabling usb autosuspend, new usb devices aren't recognized

2012-09-06 Thread Florian Merz
Hi, To enable usb autosuspend i use the following in a script after booting: for i in `find /sys/bus/usb/devices/*/power/control`; do echo auto > $i; done; for i in `find /sys/bus/usb/devices/*/power/autosuspend`; do echo 2 > $i; done; After this new usb devices aren't recognized anymore. Whether

Re: When enabling usb autosuspend, new usb devices aren't recognized

2012-09-06 Thread Florian Merz
"dmesg" showing what happens during boot and after you > turn the port back on manually? Yes I will do this. I'll mail the result later. Florian Merz -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vge

Re: When enabling usb autosuspend, new usb devices aren't recognized

2012-09-07 Thread Florian Merz
lugged in after resume was > recognized. For some reason the xHCI controller did wake up, even > though it was in D2. > Yes, the first devie was recognized. Was there a change from 3.5 to 3.6 concerning this? With kernel 3.4 and 3.5 there are no problems. Florian Merz 00:00.0 Hos

Re: When enabling usb autosuspend, new usb devices aren't recognized

2012-09-07 Thread Florian Merz
Hi Bjørn, If I find the time, I'll try the fixes this evening. Thanks for the hint. Florian Merz > > This sounds terribly similar to the issues I had with linux-next a while > ago. And those issues are still present in mainline. Florian could try > the fixes availabl

Re: When enabling usb autosuspend, new usb devices aren't recognized

2012-09-08 Thread Florian Merz
Hi Bjørn, Those fixes seem to work. I could't reproduce the bug. Autosuspend uses D3cold now instead of D2. Thank for your help everyone. Florian Merz -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org