Hi, Arjen de Korte wrote: To support the Tripplite OmniVS1000, I think the following should be added too:Citeren Greg Oliver <oliver.g...@gmail.com>:These patches allow this device to function in nut.. diff --git a/trunk/drivers/tripplite-hid.c b/new/drivers/tripplite-hid.c index c36da98..dddd13c 100644 --- a/trunk/drivers/tripplite-hid.c +++ b/new/drivers/tripplite-hid.c @@ -71,6 +71,8 @@ static usb_device_id_t tripplite_usb_device_table[] = { { USB_DEVICE(TRIPPLITE_VENDORID, 0x2005), battery_scale_0dot1 }, /* e.g. TrippLite OMNI900LCD */ { USB_DEVICE(TRIPPLITE_VENDORID, 0x2007), battery_scale_0dot1 }, + /* e.g. TrippLite Smart1000LCD */ + { USB_DEVICE(TRIPPLITE_VENDORID, 0x2009), battery_scale_0dot1 }, /* e.g. TrippLite smart2200RMXL2U */ { USB_DEVICE(TRIPPLITE_VENDORID, 0x3012), battery_scale_1dot0 }, /* e.g. ? */Thanks for the patch. I've included it in the development version. /* e.g. TrippLite OMNIVS1000 */ { USB_DEVICE(TRIPPLITE_VENDORID, 0x1009), battery_scale_0dot1 }, battery.charge: 100 battery.runtime: 5760 battery.type: PbAc battery.voltage.nominal: 12.0 driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.4.1 driver.version.data: TrippLite HID 0.4 driver.version.internal: 0.34 input.voltage.nominal: 120 output.frequency.nominal: 60 output.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.mfr: Tripp Lite ups.model: TRIPP LITE UPS ups.power.nominal: 1000 ups.productid: 1009 ups.serial: FW-2473 A ups.status: OL ups.timer.shutdown: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 diff --git a/src/nut/nut-2.4.3/scripts/udev/52-nut-usbups.rules b/etc/udev/rules.d/52-nut-usbups.rules index c8f0437..fbb03df 100644 --- a/src/nut/nut-2.4.3/scripts/udev/52-nut-usbups.rules +++ b/etc/udev/rules.d/52-nut-usbups.rules @@ -92,6 +92,8 @@ ATTR{idVendor}=="09ae", ATTR{idProduct}=="1008", MODE="664", GROUP="nut" ATTR{idVendor}=="09ae", ATTR{idProduct}=="2005", MODE="664", GROUP="nut" # e.g. TrippLite OMNI900LCD - usbhid-ups ATTR{idVendor}=="09ae", ATTR{idProduct}=="2007", MODE="664", GROUP="nut" +# e.g. TrippLite SMART1000LCD - usbhid-ups +ATTR{idVendor}=="09ae", ATTR{idProduct}=="2009", MODE="664", GROUP="nut" # e.g. TrippLite smart2200RMXL2U - usbhid-ups ATTR{idVendor}=="09ae", ATTR{idProduct}=="3012", MODE="664", GROUP="nut" # e.g. ? - usbhid-upsThis is not needed. These rules are generated automatically by 'make dist' once we release a new version.Everything *works*, but the only thing is it thinks there is no battery installed even though it can get the values from it.. Maybe the battery_scale is different for this one. I'll play with it more later..This is probably due to an incorrect mapping in the tripplite-hid subdriver. I have my doubts about this, so for the moment I have commented it out. Most likely the UPS is just wanting to tell you that the inverter is not being used, instead of a missing battery. Best regards, Arjen Best regards, Rafael |
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser