From owner-freebsd-usb@FreeBSD.ORG Sun Dec 14 04:21:13 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA5CF4EA for ; Sun, 14 Dec 2014 04:21:13 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D248649 for ; Sun, 14 Dec 2014 04:21:13 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id l2so12095889wgh.41 for ; Sat, 13 Dec 2014 20:21:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UXt1Ls+XUeRbd8U9b1/JWR9R1bDXZ4e2zTVeksH749k=; b=cdGmZeV7m3is6gQXXBm4a5SNTFf8lwZvdnh/G+m0XAnN/8g0lzuBw7Dzc86Votha3u PruuY5ZCS2EO8nDgD8rlLDNHv9zf7we27zKRLi2ifhmrK2fGEvW4+DkI8yRKT99NitqH xGpK8Ek4AW6I/ZObjc/qOxzxOdjo400vo9iIZzdu4gW4Hn2T02siQWFfjt2PlMVNMqn7 mBx+yuaaxwIgC9EbnY5NmTdM8k0vze/ZvC6s7Wu+OXJ/KoKgGBt0lkuKufymtLWY18D8 GX+/betFUVlPXKD/pdgDGV1hQGtEUkpr5LojhwQu+smjAHnpK8CfTGk53+uMu5UlE6n4 p+fQ== MIME-Version: 1.0 X-Received: by 10.180.208.112 with SMTP id md16mr20097756wic.37.1418530871669; Sat, 13 Dec 2014 20:21:11 -0800 (PST) Received: by 10.27.174.20 with HTTP; Sat, 13 Dec 2014 20:21:11 -0800 (PST) Date: Sat, 13 Dec 2014 20:21:11 -0800 Message-ID: Subject: Disconnects every 15 seconds From: Randall Fox To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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 04:21:13 -0000 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: 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: 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: 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