Click here to see reports of other supported models from Powercom.
When a user reports that a variable/command is not right then it will be highlighted by a red underline. Bad values/ranges/etc… will get a red dashed outline or red solid left border. The accompanying explaining comment - if provided - will be emphasized through a red dotted border on the left. |
2.7.4
Report #1 with driver usbhid-ups (detailed comments available)
This device is known to work with driver usbhid-ups.
You can grab a dummy-ups compliant .dev
file to simulate this device clicking here.
Some more detailed comments are available after the "Known supported…" sections.
Known supported variables
This device is known to support the following variables (values are just examples):
battery.charge
|
|
battery.charge.low
|
|
battery.charge.warning
|
|
battery.date
|
|
battery.runtime
|
|
battery.type
|
|
device.mfr
|
|
device.model
|
|
device.serial
|
|
device.type
|
|
driver.name
|
|
driver.parameter.pollfreq
|
|
driver.parameter.pollinterval
|
|
driver.parameter.port
|
|
driver.parameter.product
|
|
driver.parameter.productid
|
|
driver.parameter.serial
|
|
driver.parameter.synchronous
|
|
driver.parameter.vendor
|
|
driver.parameter.vendorid
|
|
driver.version
|
|
driver.version.data
|
|
driver.version.internal
|
|
input.frequency
|
|
input.voltage
|
|
input.voltage.nominal
|
|
output.frequency
|
|
output.voltage
|
|
output.voltage.nominal
|
|
ups.date
|
|
ups.delay.shutdown
|
|
ups.delay.start
|
|
ups.load
|
|
ups.mfr
|
|
ups.model
|
|
ups.productid
|
|
ups.serial
|
|
ups.status
|
|
ups.test.result
|
|
ups.timer.shutdown
|
|
ups.timer.start
|
|
ups.vendorid
|
|
About this device
The beeper is broken identically to RPT-600AP, which behaves almost identically — probably the same USB chip, just different batteries. Status is always disabled.
The device also disappears every now and then. The USB port appears
to reset until usbhid-ups
is claimed, so I’ve written an udev
rule:
# This device resets itself after a second if no-one claims it.
# so we claim it ASAP
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0d9f", ATTR{idProduct}=="0004", RUN+="/usr/bin/systemctl restart nut-driver"
Reported at:
Further system data or configuration example:
lsusb
listing:; lsusb
Bus 001 Device 044: ID 0d9f:0004 Powercom Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0d9f Powercom Co., Ltd
idProduct 0x0004
bcdDevice 0.02
iManufacturer 3 POWERCOM Co.,LTD
iProduct 1 HID UPS Battery
iSerial 2 004-0D9F-000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 996
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 100
Device Status: 0x0001
Self Powered