From owner-freebsd-usb@FreeBSD.ORG Sun Sep 21 16:05:09 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54F7450B for ; Sun, 21 Sep 2014 16:05:09 +0000 (UTC) Received: from mail.hs.ntnu.edu.tw (mail.hs.ntnu.edu.tw [140.131.149.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F95FA72 for ; Sun, 21 Sep 2014 16:05:08 +0000 (UTC) Received: by mail.hs.ntnu.edu.tw (Postfix, from userid 1001) id AD59D1C643B; Sun, 21 Sep 2014 23:59:51 +0800 (CST) Date: Sun, 21 Sep 2014 23:59:51 +0800 From: Denny Lin To: freebsd-usb@freebsd.org Subject: USB device repeatedly disconnected Message-ID: <20140921155951.GC3153@mail.hs.ntnu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 16:05:09 -0000 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: 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 iProduct = 0x0025 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 For some reason, it repeatedly disconnects: ugen1.7: at usbus1 (disconnected) ugen1.7: at usbus1 ugen1.7: at usbus1 (disconnected) ugen1.7: at usbus1 ugen1.7: at usbus1 (disconnected) ugen1.7: at usbus1 These messages also appear in /var/log/messages: Sep 21 17:46:56 localhost kernel: ugen1.7: 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: at usbus1 (disconnected) Sep 21 17:47:00 localhost kernel: ugen1.7: 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: at usbus1 (disconnected) Sep 21 17:47:04 localhost kernel: ugen1.7: 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. -- Denny Lin