איך נוכל לעזור לך היום?

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.

שניידר אלקטריק ישראל

גלה עוד
טווח:
גלה עוד
טווח:

זקוק לעזרה?

זקוק לעזרה?

בורר מוצרים

בורר מוצרים

חפשו ברשת מפיצים מאומתים עם יותר מ-15,000 נקודות מכירה ברחבי העולם.

קבלת הצעת מחיר

קבלת הצעת מחיר

התחילו את בקשת הקניה בצורה מקוונת ונציג מכירות ייצור עמכם קשר.

היכן לקנות?

היכן לקנות?

אתר בקלות את מפיץ Schneider Electric הקרוב ביותר אליך.

מרכז העזרה

מרכז העזרה

חפשו משאבי תמיכה לכל הצרכים שלכם במקום אחד.

  • תיעוד מוצרים
  • בורר המוצר
  • מוצרים חלופיים והחלפה
  • מרכז עזרה ויצירת קשר
  • איתור סניפי שניידר אלקטריק
  • היכן לקנות
  • הקהילה של Schneider Electric
  • משרות
  • פרופיל חברה
  • דיווח על התנהגות בלתי הולמת
  • נגישות
  • חדר חדשות
  • משקיעים
  • EcoStruxure
  • חיפוש משימה
  • בלוג
  • מדיניות שמירה על פרטיות
  • הודעה על קובצי Cookie
  • תנאי שימוש
  • Change your cookie settings