Hi Jamie,
yes, many of the current newhidups features were added in 2.0.3 or
2.0.4. The man page was also updated at that time. Your version,
2.0.1, is too old to be of any use.
Thanks for the vendor/product info; I have updated our hotplugging
rules.
Please let me know if newhidups work with your device (I would expect
it does). I will then also add it to the "supported" list.
-- Peter
P.S.: please write to the mailing list, not to me
Jamie Fiedler wrote:>
>
> i had already taken a look at the man page for newhidups as well as =20
> gone through about a year of this mailing list's archives...i =20
> couldn't get a definite answer on whether it was supported with a =20
> newer version of newhidups or just with some of the other drivers.
>
> i'll give 2.0.4 a run and see how it goes. thanks and have a great =20
> weekend!
>
> btw, i noticed people seem to be submitting vendor/product id numbers
=20>
> for usb devices, so the F6C1500-TW-RK is 0x50d/0x751
>
> hub.c: new USB device 00:13.0-1, assigned address 2
> usb.c: USB device 2 (vend/prod 0x50d/0x751) is not claimed by any =20
> active driver.
> usb.c: registered new driver hiddev
> usb.c: registered new driver hid
> hiddev0: USB HID v1.11 Device [Belkin Belkin UPS] on usb1:2.0
>
> - jamie
>
> On Dec 8, 2006, at 4:22 PM, Peter Selinger wrote:
>
> > Jamie Fiedler wrote:
> >>
> >> is there a way to override the productid (like -x
productid=3D1234)
> >> when using newhidups?
> >
> > Hi Jamie, I like simple yes/no questions! The answer is yes. For more
> > information, see the newhidups(8) man page. You probably need NUT
> > 2.0.4 or better. -- Peter
> >
> >> just thought i'd try it with the F6C1500-TW-RK
> >> over usb.
> >>
> >> i was able to get hidups to work using the below settings, but it
> >> provides limited information.
> >>
> >>
> >> my ups.conf entry:
> >>
> >> [belkin]
> >> driver =3D hidups
> >> port =3D /dev/usb/hiddev0
> >>
> >>
> >>
> >> and the output of upsc:
> >>
> >> gateway:/etc/nut# upsc belkin@localhost
> >> battery.charge: 100
> >> battery.chemistry: PbAc
> >> battery.runtime: 120
> >> battery.voltage: 12.5
> >> driver.name: hidups
> >> driver.parameter.port: /dev/usb/hiddev0
> >> driver.version: 2.0.1
> >> ups.mfr: Unknown
> >> ups.model: Belkin UPS
> >> ups.serial:
> >> ups.status: OL
> >>
> >>
> >>
> >> thanks!
> >>
> >>
> >> Jamie Fiedler
> >> IT Manager
> >>
> >> Tippingpoint Labs
> >> 83 Chapel St
> >> Newton, MA 02458
> >>
> >> T 617.332.8261
> >> F 617.332.8239