USB device repeatedly disconnected

Hans Petter Selasky hps at selasky.org
Sun Sep 21 17:04:55 UTC 2014


On 09/21/14 17:59, Denny Lin wrote:
> Hi,
>
> I have a Texas Instruments OMAP4440 connected via a USB cable to my
> laptop running FreeBSD 10.0-RELEASE amd64.
>
> This is the output of usbconfig -d 1.7 dump_device_desc:
> ugen1.7: <OMAP4440 Texas Instruments> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
>
>    bLength = 0x0012
>    bDescriptorType = 0x0001
>    bcdUSB = 0x0210
>    bDeviceClass = 0x00ff
>    bDeviceSubClass = 0x00ff
>    bDeviceProtocol = 0x00ff
>    bMaxPacketSize0 = 0x0040
>    idVendor = 0x0451
>    idProduct = 0xd010
>    bcdDevice = 0x0000
>    iManufacturer = 0x0021  <Texas Instruments>
>    iProduct = 0x0025  <OMAP4440>
>    iSerialNumber = 0x0000  <no string>
>    bNumConfigurations = 0x0001
>
> For some reason, it repeatedly disconnects:
> ugen1.7: <Texas Instruments> at usbus1 (disconnected)
> ugen1.7: <Texas Instruments> at usbus1
> ugen1.7: <Texas Instruments> at usbus1 (disconnected)
> ugen1.7: <Texas Instruments> at usbus1
> ugen1.7: <Texas Instruments> at usbus1 (disconnected)
> ugen1.7: <Texas Instruments> at usbus1
>
> These messages also appear in /var/log/messages:
> Sep 21 17:46:56 localhost kernel: ugen1.7: <Texas Instruments> at usbus1
> Sep 21 17:46:56 localhost devd: Executing 'env LD_PRELOAD=/usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcuse4bsd.so /usr/local/etc/rc.d/webcamd   start ugen1.7'
> Sep 21 17:46:56 localhost devd: Executing 'logger Unknown USB device: vendor 0x0451 product 0xd010 bus uhub3'
> Sep 21 17:46:56 localhost root: Unknown USB device: vendor 0x0451 product 0xd010 bus uhub3
> Sep 21 17:46:59 localhost kernel: ugen1.7: <Texas Instruments> at usbus1 (disconnected)
> Sep 21 17:47:00 localhost kernel: ugen1.7: <Texas Instruments> at usbus1
> Sep 21 17:47:00 localhost devd: Executing 'env LD_PRELOAD=/usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcuse4bsd.so /usr/local/etc/rc.d/webcamd   start ugen1.7'
> Sep 21 17:47:00 localhost devd: Executing 'logger Unknown USB device: vendor 0x0451 product 0xd010 bus uhub3'
> Sep 21 17:47:00 localhost root: Unknown USB device: vendor 0x0451 product 0xd010 bus uhub3
> Sep 21 17:47:03 localhost kernel: ugen1.7: <Texas Instruments> at usbus1 (disconnected)
> Sep 21 17:47:04 localhost kernel: ugen1.7: <Texas Instruments> at usbus1
> Sep 21 17:47:04 localhost devd: Executing 'env LD_PRELOAD=/usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcuse4bsd.so /usr/local/etc/rc.d/webcamd   start ugen1.7'
>
> The problem seems similar to this one: https://www.mail-archive.com/freebsd-usb@freebsd.org/msg08372.html
>
> Would it be possible to fix this? Thanks.
>

Hi,

You can try setting:

hw.usb.no_cs_fail=1

Also run usbdump to capture the USB traffic.

usbdump -i usbus1 -f 7 -vvv -s 65536

--HPS


More information about the freebsd-usb mailing list