> 
> On 05/03/2011, at 20:16, Arjen de Korte wrote:
> > We search for a VendorID / ProductID combination. The one you
> > posted earlier
> > 
> >  idVendor = 0x0463
> >  idProduct = 0xffff
> > 
> > is one of the combinations that are supported by the usbhid-ups
> > driver (it is used for all MGE / Eaton devices with USB HID PDC
> > support). If the driver can find this ID in the list of attached
> > devices, it should find it. But I guess this is something related
> > to the FreeBSD USB stack, which I know nothing of.
> 
> The root of the problem was the permissions on the ugen device node -
> when NUT dropped privs it couldn't open it.
> 
> I should clean up my script to translate udev rules into devd ones
> and send a patch for the NUT port to install it so the perms get
> changed automagically..
Personally, I made it working with this entry in devd.conf :
# Added for Eaton UPS support
attach 100 {
        match "vendor" "0x0463";
        match "product" "0xffff";
        action "/usr/sbin/chown -R -L uucp:uucp /dev/$device-name";
};
 
> > 
> > Best regards, Arjen
> > -- 
> > Please keep list traffic on the list (off-list replies will be
> > rejected)
> > 
> > 
> > _______________________________________________
> > 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
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


-- 
Le Temps : "On n'a pas la même perception du temps selon les species,
c'est ce qui fait que je peux passer à main entre toi et moi comme ça,
parce que pour l'oxygène, une seconde, c'est peut-être dix secondes, et
pour le béton, une seconde, c'est peut-être un millième de seconde..."
        -+- Jean-Claude VanDamme -+-

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

Reply via email to