Citeren Arnaud Quette <[EMAIL PROTECTED]>:

Attached is a patch adding "support" for tripplite's avr750u UPS.
Issues:
* productid still needs to be specified in ups.conf

you missed to add an entry in drivers/tripplite-hid.c
->tripplite_claim() for that ;-)

And beware that you need to put it in the correct place as well. Some Tripp Lite HID devices (incorrectly) report battery voltage in decivolts so we need to apply a correction factor here. So there are basically two groups in this function. One that reports battery voltage in decivolts (productid 1003, 2005 and 2007) and one that reports battery voltage in volts (productid 3012, 4002, 4003). Before committing this change, we need to see the output of 'upsc' to know what it reports.

and an entry in the hotplug script for the sake of completion.

Don't forget the udev and hal scripts either. We probably need to come up with some automation here, so that we have to put this in only one place and have these scripts generated automagically.

Best regards, Arjen
--
Please keep list traffic on the list



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to