[Nut-upsdev] Cannot connect to APC Smart via USB under FreeBSD

Daniel O'Connor doconnor at gsoft.com.au
Sun Sep 26 07:27:45 UTC 2010


On 26/09/2010, at 16:16, Ilya Evseev wrote:
>> I thought there was a 'pollonly' option which I used and that helped but I can't see it in the docs now.
> 
> Stuff in /usr/ports/sysutils/nut/work/ does not contain "pollonly" word.

Hmm OK.
>> NOTE that for USB cable you must comment out the line
>> 
>>  device         uhid            # "Human Interface Devices"
>> 
>> in your kernel configuration file and recompile the kernel.
>> Your keyboard and mouse will still work.
> 
> GENERIC kernel has both ugen and uhid enabled,
> so I'll try to disable uhid, rebuild kernel and reboot.

The uhid driver should blacklist your UPS.

In fact if it showed up as ugen in dmesg then uhid didn't pick it up.

In 8.x the new USB stack allows a normal driver to attach while still retaining access via ugen.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C









More information about the Nut-upsdev mailing list