disabling uhid driver

freebsd at johnea.net freebsd at johnea.net
Sat May 29 14:37:06 UTC 2010


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 at 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



More information about the freebsd-questions mailing list