From owner-freebsd-questions@FreeBSD.ORG Sat May 29 14:37:06 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFB031065674 for ; Sat, 29 May 2010 14:37:06 +0000 (UTC) (envelope-from freebsd@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id A68898FC13 for ; Sat, 29 May 2010 14:37:06 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id E0B4073F185D for ; Sat, 29 May 2010 06:55:43 -0700 (PDT) Message-ID: <4C012278.5020709@johnea.net> Date: Sat, 29 May 2010 07:19:12 -0700 From: freebsd@johnea.net User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: disabling uhid driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2010 14:37:06 -0000 Hello, I'm attempting to use a usb connected CyberPower UPS on generic kernel FreeBSD 7.1: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FreeBSD epicenter 7.1-RELEASE-p8 FreeBSD 7.1-RELEASE-p8 #0: Fri Oct 2 07:10:41 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The UPS uses an hid interface and apparently the uhid driver is preventing the ugen driver from attaching to this device. It keeps connecting and disconnecting (from messages): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ May 26 14:16:42 epicenter kernel: uhid0: on uhub1 May 26 14:17:04 epicenter kernel: uhid0: at uhub1 port 2 (addr 2) disconnected May 26 14:17:04 epicenter kernel: uhid0: detached May 26 14:17:07 epicenter root: Unknown USB device: vendor 0x0764 product 0x0501 bus uhub1 May 26 14:17:08 epicenter kernel: uhid0: on uhub1 May 26 14:17:11 epicenter kernel: uhid0: at uhub1 port 2 (addr 2) disconnected May 26 14:17:11 epicenter kernel: uhid0: detached ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I use no other hid devices. Is there some way, short of recompiling the kernel, to disable uhid, for this device or entirely? I hope to configure the nut utility which utilizes ugen and libusb. Thanks for any suggestions! johnea