Skip to content

Instantly share code, notes, and snippets.

@wwin3286tw
Last active November 13, 2024 03:15
Show Gist options
  • Save wwin3286tw/75693cd1a602745f3764dd323ddb4872 to your computer and use it in GitHub Desktop.
Save wwin3286tw/75693cd1a602745f3764dd323ddb4872 to your computer and use it in GitHub Desktop.
ups.conf
Bus 003 Device 006: ID 0001:0000 Fry's Electronics USB Device
Bus 003 Device 006: ID 0001:0000 Fry's Electronics USB Device
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0001 Fry's Electronics
idProduct 0x0000 USB Device
bcdDevice 1.03
iManufacturer 1 None
iProduct 2 USB Device
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 624
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 10
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
[2024-11-13 11:09:43] nas:/tmp/nut/drivers$ sudo /usr/sbin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.8.1
Network UPS Tools - Generic Q* USB/Serial driver 0.36 (2.8.1)
USB communication driver (libusb 1.0) 0.46
Duplicate driver instance detected (PID file /run/nut/nutdrv_qx-upsilon-2000.pid exists)! Terminating other driver!
Using protocol: Megatec 0.07
No values for battery high/low voltages
Using 'guesstimation' (low: 10.400000, high: 13.000000)!
Autodetected 1 as number of battery packs [12/13.50]
No charge time specified, using built in default [43200 seconds]
No idle load specified, using built in default [10.0 %]
[2024-11-13 11:09:53] jack@nas:/tmp/nut/drivers$ sudo cat /etc/nut/ups.conf
[upsilon-2000]
#driver = "blazer_usb"
driver="nutdrv_qx"
port = auto
langid_fix="0x409"
desc="Upsilon 2000"
vendorid = "0001"
productid = "0000"
desc="Aplus Online Interactive UPS Plus1E-US800N (800VA/480W)"
runtimecal = 810,100,1458,50
[2024-11-13 11:10:09] nas:/tmp/nut/drivers$ sudo systemctl restart nut-server.service
[2024-11-13 11:10:47] nas:/tmp/nut/drivers$ sudo systemctl restart nut-server.service
sudo systemctl restart nut-monitor.service
upsc upsilon-2000@localhost
Init SSL without certificate database
battery.charge: 100
battery.voltage: 13.5
battery.voltage.high: 13.00
battery.voltage.low: 10.40
battery.voltage.nominal: 12.0
device.type: ups
driver.debug: 0
driver.flag.allow_killpower: 0
driver.name: nutdrv_qx
driver.parameter.langid_fix: 0x409
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0000
driver.parameter.runtimecal: 810,100,1458,50
driver.parameter.synchronous: auto
driver.parameter.vendorid: 0001
driver.state: quiet
driver.version: 2.8.1
driver.version.data: Megatec 0.07
driver.version.internal: 0.36
driver.version.usb: libusb-1.0.27 (API: 0x100010a)
input.current.nominal: 0.0
input.frequency: 60.0
input.frequency.nominal: 60
input.voltage: 117.0
input.voltage.fault: 117.0
input.voltage.nominal: 110
output.voltage: 118.0
ups.beeper.status: enabled
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: IPS-2.08E8
ups.load: 15
ups.productid: 0000
ups.status: OL
ups.temperature: 38.0
ups.type: offline / line interactive
ups.vendorid: 0001
sudo /usr/sbin/upsdrvctl start
sudo systemctl restart nut-server.service
sudo systemctl restart nut-monitor.service
upsc upsilon-2000@localhost
[upsilon-2000]
#driver = "blazer_usb"
driver="nutdrv_qx"
port = auto
langid_fix="0x409"
desc="Upsilon 2000"
vendorid = "0001"
productid = "0000"
desc="Aplus Online Interactive UPS Plus1E-US800N (800VA/480W)"
runtimecal = 810,100,1458,50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment