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

Update USB product IDs for Belkin/Liebert #2272

Merged
merged 8 commits into from
Mar 1, 2024
6 changes: 4 additions & 2 deletions drivers/belkin-hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#include <math.h> /* for fabs() */

#define BELKIN_HID_VERSION "Belkin/Liebert HID 0.18"
#define BELKIN_HID_VERSION "Belkin/Liebert HID 0.19"

/* Belkin */
#define BELKIN_VENDORID 0x050d
Expand Down Expand Up @@ -68,9 +68,11 @@ static usb_device_id_t belkin_usb_device_table[] = {
{ USB_DEVICE(BELKIN_VENDORID, 0x1100), NULL },

/* Liebert GXT4 UPS */
{ USB_DEVICE(LIEBERT_VENDORID, 0x0004), NULL },
{ USB_DEVICE(LIEBERT_VENDORID, 0x0000), NULL },
/* Liebert PowerSure PSA UPS */
{ USB_DEVICE(LIEBERT_VENDORID, 0x0001), NULL },
/* Liebert PowerSure PST UPS */
{ USB_DEVICE(LIEBERT_VENDORID, 0x0002), NULL },
/* Liebert PowerSure PSI 1440 */
{ USB_DEVICE(LIEBERT_VENDORID, 0x0004), NULL },
/* Liebert GXT3 */
Expand Down
2 changes: 2 additions & 0 deletions scripts/upower/95-upower-hid.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ usb:v0D9Fp00A6*
UPOWER_VENDOR=PowerCOM

# Liebert
usb:v10AFp0000*
usb:v10AFp0001*
usb:v10AFp0002*
usb:v10AFp0004*
usb:v10AFp0008*
UPOWER_BATTERY_TYPE=ups
Expand Down
Loading