[Nut-upsuser] Problem w/ Belkin UPS on FreeBSD

Daniel O'Connor doconnor at gsoft.com.au
Sat Sep 25 07:06:19 UTC 2010

On 25/09/2010, at 15:01, Bryce Edwards wrote:
> bryce at tahiti[/usr/ports/sysutils/openupsd]>s usbconfig
> ugen1.2: <Belkin UPS Belkin> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
> bryce at tahiti[/usr/ports/sysutils/openupsd]>dmesg | grep -i belkin
> ugen1.2: <Belkin> at usbus1
> uhid0: <Belkin Belkin UPS, class 0/0, rev 1.10/0.01, addr 2> on usbus1

Who owns /dev/usb/1.2.0 ? (and what perms)

You probably need to chown it to the user upsd will run as (eg uucp, nutmon, nobody).

You can do this by putting a file into /usr/local/etc/devd which looks like..
notify 100 {
	match "vendor" "0x050d";
	match "product" "0x0751";
	action "/bin/chown nutmon: /dev/$device-name";

(then unplug/replug the UPS to see if it did it)

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-upsuser mailing list