Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mge-hid.c: extend mge_model_names[] for Eaton 5SC and 5PX series #2442

Merged
merged 4 commits into from
May 15, 2024

Conversation

jimklimov
Copy link
Member

Closes: #2380

Testing needed, CC @jstallard @lemeshovich

Confirmation that the added device names/models are what should be expected from hardware would be very welcome - CC @arnaudquette-eaton

Here so far I've added the basic VA numbers from model lists for 5PX and 5SC, but there are many models marketed for some of the same power ratings - no idea if they identify differently via USB.

Also note that original 5PX is discontinued; not sure if 5PX Gen2 should identify differently (and/or if it needs another "type" enum value).

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added enhancement need testing Code looks reasonable, but the feature would better be tested against hardware or OSes Eaton USB labels May 14, 2024
@jimklimov jimklimov added this to the 2.8.3 milestone May 14, 2024
Copy link
Contributor

@arnaudquette-eaton arnaudquette-eaton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though too far from the topic and HW to validate 100%

@jstallard
Copy link

Just confirming here as well that this looks good on my 5PX 1500. I can now see values for battery.voltage and battery.voltage.nominal.

…and 5PX series [networkupstools#2380]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov merged commit ff7103e into networkupstools:master May 15, 2024
29 of 30 checks passed
@jimklimov jimklimov deleted the issue-2380 branch May 15, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Eaton enhancement need testing Code looks reasonable, but the feature would better be tested against hardware or OSes USB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

usbhid-ups: Eaton battery.voltage value is missing
3 participants