Great !! It worked. In fact, the '-u' parameter you gave me allowed me to test as root and see it working. Changing owner to /dev/usb/4.2.* seemed to be insufficient and after changing the owner of the /dev/ugen4.2.* link, it finally got detected. Finally, it was easier than I thought and I should have tried this beforehand.
Sorry for this dumb question :-) Thanks for helping me, every remaining tasks are FreeBSD specific. Fred Le Sat, 5 Mar 2011 10:27:06 +1030, "Daniel O'Connor" <docon...@gsoft.com.au> a écrit : > > On 05/03/2011, at 4:50, Frederic Praca wrote: > > As I feared, changing the group for ugen4.2 had no effect. > > I used to try 'usbhid-ups' by hand under root account. > > So the message still remains the same : > > # ./usbhid-ups -a eaton > > Network UPS Tools - Generic HID driver 0.35 (2.6.0) > > USB communication driver 0.31 > > No matching HID UPS found > > It will drop root privs though, try.. > ./usbhid-ups -u root -a eaton > > I have an Ellipse 1000VA connected to my FreeBSD server using > usbhid-ups > > [midget 10:26] ~ >cat /usr/local/etc/nut/ups.conf > [mge] > driver = usbhid-ups > port = usb > # Give the system enough time to shutdown when the power fails > offdelay = 120 > # ondelay must be greater than offdelay so change it too > ondelay = 130 > ###pollonly > > [midget 10:26] ~ >cat /usr/local/etc/devd/nut.conf > attach 100 { > match "vendor" "0x0463"; > match "product" "0xffff"; > action "/usr/sbin/chown nutmon: /dev/$device-name"; > }; > > I built my NUT port with a new user (nutmon) vs using uucp but that > shouldn't mater. > > > I wondered how the USB UPS are detected and if my UPS is described > > in the source code. Any idea of where I should take a look ? > > What happens when you run it with -D -D -D to enable debugging? > > > > > > > Fred > > -- > > L'homme est visiblement fait pour penser ; > > c'est toute sa dignité et tout son métier, > > et tout son devoir est de penser comme il faut. > > -+- Blaise Pascal (1623-1662), Pensées II.146 -+- > > > > _______________________________________________ > > Nut-upsuser mailing list > > Nut-upsuser@lists.alioth.debian.org > > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser > > > > -- > 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 > > > > > > -- Et chacun croit fort aisément Ce qu'il craint et ce qu'il désire. -+- Jean de La Fontaine (1621-1695), Le Loup et le Renard (Fables XI.6) -+- _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser