How can we help you today?

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 Australia

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:

Need help?

Need help?

Product Selector

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Get a Quote

Start your sales inquiry online and an expert will connect with you.

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Help Centre

Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Office Locations
  • Where to buy
  • Phone: 13 73 28 (13 SEAU)
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms and Conditions of Sale
  • Change your cookie settings