Nos marques

Bienvenue sur le site Web de Schneider Electric

Bienvenue sur notre site Web.
		
En quoi pouvons-nous vous aider aujourd'hui ?
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 Belgium

En savoir plus
Gamme :
En savoir plus
Gamme :
  • Documentation produits
  • Téléchargement de logiciels
  • Sélecteur de produits
  • Substitution et remplacement de produits
  • Centre d'aide et de contact
  • Trouver nos sites
  • Obtenir un devis
  • Où acheter
  • Communauté Schneider Electric
  • Carrières
  • Qui sommes-nous ?
  • Signaler une mauvaise conduite
  • Accessibilité
  • Salle de presse
  • Partenaires
  • EcoStruxure
  • Nos emplois
  • Blog
  • Soyez informé des nouveautés en premier ?
  • Protection des données
  • Mention sur les cookies
  • Conditions d utilisation
  • Conditions générales de vente et d'achat
  • Change your cookie settings