Re: USB subsystem stops working

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

 



On Tue, 22 Jan 2013, Norbert Preining wrote:

> Hi Felipe, hi all,
> 
> On Mo, 21 Jan 2013, Felipe Balbi wrote:
> > Can you try rebuilding your kernel with CONFIG_USB_DEBUG=y and run your
> > test again ? Maybe it gives us more information of what's going on.
> 
> Ok, I can reliably reproduce the problem as follows:
> * connect the kindle, it goes into usb disk mode
> * !!! important !!! use the temporary gnome3 dbus window to "Eject"
>   the device
>   after that the device is not really ejected
> * use "eject /dev/sdb"
>   after this the device is actually ejected
> * unplug and replug
>   here the usb system does not recognize the device anymore, and
>   does not react on any usb connections
> * call lsusb -v gets it back to normal
> * repeat the above
> 
> I have collected the syslog output of one of the cycles starting from
> lsusb -v to get back to normal, plugging, ejecting with dbus window,
> eject with cmd line, plug/replug without effect, etc.
> 
> The log can be found at
> 	http://www.preining.info/usb-syslog-prob.txt
> I have documented the steps *in* the log file by calling
> 	logger ....
> with the appropriate steps, so please seach for
> 	norbert:
> which will give you the comments I have written with logger and
> the sequence of actions.
> 
> Hope that helps, and let me know if you want/need more details.

It looks like things may improve if you do

	echo 50 >/sys/bus/usb/devices/usb1/power/autosuspend_delay_ms

Quite possiblly your problem was caused when the default autosuspend
delay for hubs was changed from 2 seconds to 0.  Increasing it to 50 ms 
might fix things.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux