Date: Sat, 29 May 2010 07:19:12 -0700 From: freebsd@johnea.net To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: disabling uhid driver Message-ID: <4C012278.5020709@johnea.net>
next in thread | raw e-mail | index | archive | help
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: <CPS CP425HG, class 0/0, rev 1.10/0.01, addr 2> 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: <CPS CP425HG, class 0/0, rev 1.10/0.01, addr 2> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C012278.5020709>