I use Eaton (was MGE) UPS. This is an old bug, I have never been able to use any MGE/Eaton UPS with previous Mageia releases. Now I use Eaton Ellipse Pro ID: 0463:ffff Module: UPS:newhidsups It is connected with the USB wire provided by Eaton. With drakups I try to configure the nut. 1- Autodetection don't find any UPS 2- Manual detection: Ellipse Pro is not listed but Eaton wrote me that Ellipse ECO 650/800/1200/1600 VA (USB) has the same interface. I select this one. Next a form gives: Name: myups Driver: usbhid-ups Port: [ ] The problem is that the list of ports is ttyS0/COM1 to ttyS7/COM8 without any USB port.
Hi Pierre :-) Please give the output of: lsusb | grep UPS and attach your /etc/ups/upsd.conf /etc/ups/ups.conf Do you have a nut.conf file? If so, please attach it, too. I don't have it, even if the matching man page exists. I fake-configured your UPS with drakups and did not select a port. I ended up with (in ups.conf): [myups] driver = usbhid-ups port = /dev/ Please test whether it helps if (after attaching ups.conf here, first) you change that line to: port = auto There is no registered maintainer for nut, so assigning to all packagers collectively However, CC'ing the mageiatools maintainers in case later on it is proven that the problem is with drakups. Also CC'ing Dave Hodgins and Shlomi, because they're familiar with using a UPS.
CC: (none) => davidwhodgins, mageiatools, marja11, shlomifSource RPM: nut => nut (or drakxtools?)Assignee: bugsquad => pkg-bugs
Component: Installer => RPM Packages
For a usb connected ups, the port should be specified as auto ... # tail -n 3 /etc/ups/ups.conf [nutdev1] driver = "usbhid-ups" port = "auto"
With Port = auto, I get the same message "Congratulation ... success" but at th next step: "Write support is incomplete. It lacks some support for some extra fiedls that wuld be lost else" $ lsusb | grep UPS Bus 001 Device 004: ID 0463:ffff MGE UPS Systems UPS /etc/ups/upsd.conf contains only comments /etc/ups/ups.conf contains comments followed with: [myups] driver = usbhid-ups port = /dev/ [] driver = usbhid-ups port = /dev/auto IMO the update by drakups is not correct... I have edited the file with: [myups] driver = usbhid-ups port = /dev/auto Now $ upsc myups give me 51 lines of data. Example: upsc myups | grep battery battery.charge: 100 battery.charge.low: 20 battery.runtime: 5273 battery.type: PbAc My conclusion: drakups must be updated 1- connected with a serial port or USB Should use nut-scanner which find [nutdev1] driver = "usbhid-ups" port = "auto" vendorid = "0463" productid = "FFFF" product = "Ellipse PRO" serial = "P360G19981" vendor = "EATON" bus = "001" 2- Manual configuration should add "auto" in the list of ports and have "auto" as default. 3- There is a bug in the update of /etc/ups/ups.conf I can help to update drakups and write a documentation which has never been wrote due to a lack of resources.
Source RPM: nut (or drakxtools?) => drakxtools
It should not be port = /dev/auto, just port = "auto"
Yes, I wrote "auto" in the form but I have found "/dev/auto" in /etc/ups/ups.conf This was made by /usr/libexec/drakups which is a perl script. I have not often used Perl: I can read and understand the code but I need some help to modify it.
Just tested with port = /dev/auto, and it's working ok here, so that's not a problem. The other lines shown by nut-scanner are not needed in ups.conf, just the device name (nutdev1 on my system, myups on your system), the driver and port. In comment 3, it two ups devices specified ... [myups] driver = usbhid-ups port = /dev/ [] driver = usbhid-ups port = /dev/auto The second device with a null name should not be there. It causes the driver service to fail to start properly .. # systemctl restart nut-driver.service Job for nut-driver.service failed because the control process exited with error code. Remove the null device from ups.conf. It should only have ... [myups] driver = usbhid-ups port = /dev/auto I agree drakups should be changed to correctly use port = auto for usb connected devices.
Mageia 7 : The problem is still there. I need always to correct the config file with an editor.
Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021.
Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja
Resolution: (none) => OLDStatus: NEW => RESOLVED
The bug still there... drakups must put in /ups.conf port = /dev/auto instead of port = /dev/
Status: RESOLVED => REOPENEDVersion: 7 => 8Resolution: OLD => (none)
(In reply to Pierre Jarillon from comment #10) > The bug still there... > drakups must put in /ups.conf > port = /dev/auto instead of port = /dev/ Thanks. Reassigning to the correct assignee
Assignee: pkg-bugs => mageiatools
Version: 8 => CauldronSee Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=28608Whiteboard: (none) => MGA9TOOCC: (none) => yvesbrungard