On Mon, Aug 11, 2008 at 10:34 AM, Arjen de Korte <[EMAIL PROTECTED]> 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

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to