[Nut-upsuser] APC Back-UPS ES 700 under FreeBSD
Marius Nünnerich
marius at nuenneri.ch
Fri Aug 15 14:47:46 UTC 2008
On Mon, Aug 11, 2008 at 10:34 AM, Arjen de Korte <nut+users at de-korte.org> wrote:
>> It is currently not possible for me to reach the ups, but as far as I
>> remember the vendorid was 0x051d.
>
> That is not surprising, since this is the vendorid of APC.
>
>> -DDDDD or more didn't bring up anything interesting.
>
> I beg to differ here. If the UPS would be recognised by the kernel (which
> is still to be seen), this would at least reveal the vendorid and
> productid and sometimes also the reason why the driver can't connect.
>
>> But I can rerun it and poste the output here when I'm at the machine
>> again.
>
> Please do. You may want to run the driver as root, to rule out any
> permissions problems
>
> usbhid-ups -DDDDD -u root -a <upsname>
>
> If it doesn't work as root, changes are that the productid is unknown to
> us. If it only works as root, there may be a permissions problem.
>
> Best regards, Arjen
OK, thank you all!
It was a simple permission problem, now everything runs just fine.
For the record:
Everything I did was adding
perm ugen* 0660
own ugen* root:uucp
perm usb* 0660
own usb* root:uucp
to /etc/devfs.conf
The default user für nut is uucp on FreeBSD, so no need to add another user.
Beware of the security implications with these rules!
Bye
Marius
More information about the Nut-upsuser
mailing list