Hvordan kan vi hjælpe dig i dag?

Native Power Management of Smart-UPS with the SRTD prefix on Linux over USB.

Issue:

Smart-UPS models with the SRTD prefix may not be recognized as UPS/Batteries when connectedto Linux using a USB cable. The UPS is detected as a HID device (a hiddev* file is created in the /dev/usb/ folder, e.g., hiddev1), but the battery icon and subsequent power pages that appear for other UPSs are not showing in the Desktop.

Product Line:

Smart-UPS models Smart-UPS models with SKUs that start with SRTD2K2R2, SRTD3KR2, SRTD2K4R2, SRTDBP3KR2, SRTDBP2K4R2.

Environment:

Linux, USB connection.

Cause:

A 95-upower-hid.rules udev rules file contains a list of idVendor/idProducts of HID devices that upower (Linux power management) should manage, for example, on Red Hat:

# APC

ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0000", ENV{UPOWER_BATTERY_TYPE}="ups"

ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0002", ENV{UPOWER_BATTERY_TYPE}="ups"

ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0003", ENV{UPOWER_BATTERY_TYPE}="ups"

Smart-UPS with the SRTD prefix has a new PID/Hardware ID (0005). This propagates to Linux distributions over time and may not be present in your distribution if the new PID/Hardware ID is not present in the 95-upower-hid.rules file, the device won’t be managed by upower and won’t appear as a battery/UPS.

You can find this file on Linux by executing the following command:

find / -name '95-upower-hid.rules' 2>/dev/null

Typical locations are:

/lib/udev/rules.d/95-upower-hid.rules

(Most common location for system-provided rules)

/usr/lib/udev/rules.d/95-upower-hid.rules

(Used by some distributions, especially those following newer filesystem hierarchies)

/etc/udev/rules.d/95-upower-hid.rules

(For local/admin overrides; if present here, it overrides the system version)

Resolution:

  1. Check if an updated file is available from upower:
  • On Red Hat: run the commands
    sudo yum update upower
    or (on newer systems):
    sudo dnf update upower
  • On SUSE: run the commands
    sudo zypper refresh
    sudo zypper update upower
  1. If an update is not yet available, manually update the existing 95-upower-hid.rules file. Add a line for the new Product ID 0005 to your current 95-upower-hid.rules file:

# APC

ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0000", ENV{UPOWER_BATTERY_TYPE}="ups"

ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0002", ENV{UPOWER_BATTERY_TYPE}="ups"

ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0003", ENV{UPOWER_BATTERY_TYPE}="ups"

ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0005", ENV{UPOWER_BATTERY_TYPE}="ups"

Note: Future package updates may overwrite this change.

Schneider Electric Danmark

Se mere
Område:
Se mere
Område:

Brug for hjælp?

Brug for hjælp?

Produktvælger

Produktvælger

Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.

Få et tilbud

Få et tilbud

Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.

Find forhandler

Find forhandler

Find den nærmeste Schneider Electric-distributør.

Hjælpecenter

Hjælpecenter

Find supportressourcer til alle dine behov på ét sted.

  • Produktdokumentation
  • Download af software
  • Produktvælger
  • Udskiftning og erstatning af produkter
  • Hjælp og kontaktcenter
  • Find forhandler
  • Projektrådgivning
  • Find vores kontorer
  • Schneider Electric Community
  • Karriere
  • Virksomhedsprofil
  • Rapportér en forseelse
  • Tilgængelighed
  • Presserum
  • Investorer
  • EcoStruxure
  • Jobsøgning
  • Blog
  • Privatlivspolitik
  • Cookiemeddelelse
  • Vilkår for anvendelse
  • Rediger dine cookieindstillinger