Alexander Chemeris
2008-Jun-25 18:15 UTC
[Nut-upsuser] [nut-hal-drivers] Battery level is not correct for Ippon Back Comfo Pro UPS with Megatec protocol.
Hello, I'm trying to get my UPS working with nut-hal-drivers, and it seems be detected correctly with Megatec protocol, but it provides wrong battery level. I read that I can use battvolts option to fix this problem, but HAL version of nut does not come with any config files. So, I'm guess it should be somehow fixed in sources? Parameters of Ippon Back Comfo Pro 800: VA = 800 max battery voltage = 13.0V min battery voltage = 10.4V These values are taken from great ippon_ups.dll driver for Windows, written by Alexey Ilyin, which I used for this UPS under my WinXP. It also have parameters for other Ippon and some Mustek and Sven UPSes. I think it would be great to add all of them to nut. PS I'm trying to use nat-hal-drivers 2.2.1-2.1ubuntu7 amd64 from Ubuntu Hardy. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
Arjen de Korte
2008-Jun-25 18:58 UTC
[Nut-upsuser] [nut-hal-drivers] Battery level is not correct for Ippon Back Comfo Pro UPS with Megatec protocol.
> I'm trying to get my UPS working with nut-hal-drivers, and it seems be > detected > correctly with Megatec protocol, but it provides wrong battery level.That's hardly surprising...> I read that I can use battvolts option to fix this problem, but HAL > version of > nut does not come with any config files. So, I'm guess it should be > somehow > fixed in sources?If you're lucky enough that your UPS provides enough clues about the type and modelnumber, it probably could be done. If not (which is not entirely unlikely), it will not report this and in that case, you're stuck between an rock and a hard place... :-( Posting the relevant output of 'lsusb -vvv' is a starter, among the output from the 'megatec_usb' driver when running in debug mode ('-DDD').> Parameters of Ippon Back Comfo Pro 800: > VA = 800 > max battery voltage = 13.0V > min battery voltage = 10.4V > > These values are taken from great ippon_ups.dll driver for Windows, > written > by Alexey Ilyin, which I used for this UPS under my WinXP. It also have > parameters for other Ippon and some Mustek and Sven UPSes. I think > it would be great to add all of them to nut.Only if we can autodetect the models (see above). Best regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57