From owner-freebsd-usb@FreeBSD.ORG Sun Dec 14 07:13:58 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D222BDB3 for ; Sun, 14 Dec 2014 07:13:58 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 95150655 for ; Sun, 14 Dec 2014 07:13:58 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7F1FF1FE022; Sun, 14 Dec 2014 08:13:55 +0100 (CET) Message-ID: <548D38D5.2010700@selasky.org> Date: Sun, 14 Dec 2014 08:14:29 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Randall Fox , freebsd-usb@freebsd.org Subject: Re: Disconnects every 15 seconds References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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, 14 Dec 2014 07:13:58 -0000 On 12/14/14 05:21, Randall Fox wrote: > I'm using a FreeBSD derivative, called FreeNAS. It is using FreeBSD at its > core. Version of FreeNAS is 9.2.1.3, which roughly corresponds to the > FreeBSD version (9.2). > > I plug in my UPS and I get: > Dec 13 20:08:49 freenas kernel: ugen1.4: at usbus1 > Dec 13 20:08:49 freenas kernel: uhid0: SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 4> on usbus1 > Dec 13 20:09:03 freenas kernel: ugen1.4: at usbus1 > (disconnected) > Dec 13 20:09:03 freenas kernel: uhid0: at uhub3, port 2, addr 4 > (disconnected) > Dec 13 20:09:04 freenas kernel: ugen1.4: at usbus1 > Dec 13 20:09:04 freenas kernel: uhid0: SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 4> on usbus1 > Dec 13 20:09:18 freenas kernel: ugen1.4: at usbus1 > (disconnected) > Dec 13 20:09:18 freenas kernel: uhid0: at uhub3, port 2, addr 4 > (disconnected) > Dec 13 20:09:19 freenas kernel: ugen1.4: at usbus1 > Dec 13 20:09:19 freenas kernel: uhid0: SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 4> on usbus1 > Dec 13 20:09:33 freenas kernel: ugen1.4: at usbus1 > (disconnected) > Dec 13 20:09:33 freenas kernel: uhid0: at uhub3, port 2, addr 4 > (disconnected) > > > I disabled all the higher level NUT services and such so they are not in > the way. > > Unfortunately I don't have the ability to recompile a kernel to turn on > debug and make adjustments. Is there anything I can do? I know the UPS > device is otherwise working properly, it just seems to be reporting these > disconnects. The UPS also works on my Windows box when I connect it, I > don't see any disconnects. I was able to mute the disconnects in FreeBSD > by running "usbhidctl -alvnr -f /dev/uhid0" which loops repeatedly and > shows changed data. When this is running, the disconnectsin dmesg go > away. Also, it seems to be consistently repeating every 15 seconds.. > > Any help appreciated Hi, Did you try connecting the device through an external USB HUB? What USB controllers are you using? EHCI/XHCI/OHCI/UHCI? Are all USB controller drivers loaded? --HPS