USB device repeatedly disconnected
Denny Lin
dennylin93 at hs.ntnu.edu.tw
Sun Sep 21 18:22:08 UTC 2014
Hi Hans,
On Sun, Sep 21, 2014 at 07:04:42PM +0200, Hans Petter Selasky wrote:
> You can try setting:
>
> hw.usb.no_cs_fail=1
This appears to have no effect--the device still repeatedly disconnects.
> Also run usbdump to capture the USB traffic.
>
> usbdump -i usbus1 -f 7 -vvv -s 65536
A sample dump is available at:
http://n.ethz.ch/student/dlin/aos/usbdump.txt
Although I didn't understand the dump, I tried tracing the code.
The device is disconnected when usb_free_device() is called within
uhub_reattach_port() (the repeat part) in sys/dev/usb/usb_hub.c. I'm not
sure what triggers this though.
--
Denny Lin
More information about the freebsd-usb
mailing list