Size bugün nasıl yardımcı olabiliriz?

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 Turkey

Daha fazlasını keşfedin
Seri:
Daha fazlasını keşfedin
Seri:

Yardıma mı ihtiyacınız var?

Yardıma mı ihtiyacınız var?

Ürün seçici

Ürün seçici

Uygulamalarınız için doğru ürünleri ve aksesuarları hızlı ve kolay bir şekilde bulun.

Teklif Alın

Teklif Alın

Satışla ilgili sorularınızı çevrimiçi olarak başlatın, bir uzman sizinle bağlantı kuracaktır.

Satış noktaları

Satış noktaları

Konumunuza en yakın Schneider Electric distribütörünü kolayca bulun.

Yardım Merkezi

Yardım Merkezi

Tüm ihtiyaçlarınız için destek kaynaklarını tek bir yerde bulun.

  • Ürün Belgeleri
  • Yazılım İndirmeleri
  • Ürün Seçici
  • İkame Ürün ve Değiştirme
  • Yardım Merkezi
  • Ofislerimizi Bulun
  • Teklif Alın
  • Satış noktaları
  • Schneider Electric Topluluğu
  • Kariyer
  • Şirket Profili
  • Bir usulsüzlüğü bildirin
  • Erişilebilirlik
  • Haberler
  • Yatırımcılar
  • EcoStruxure
  • İş Araması
  • Blog
  • Gizlilik İlkesi
  • Çerez Bildirimi
  • Change your cookie settings