October 16, 20205 yr My UPS is VISENCH BR1000VA600W. This UPS can be easily detected and configured on Synology and QNAP, but it doesn't seem to be that simple on unraid. I don't know how to set it up. I searched on Google and forums but didn’t get the response I wanted. I connected via a usb cable and collected the following logs. Oct 16 20:21:26 Tower kernel: usb 3-9: USB disconnect, device number 6 Oct 16 20:21:58 Tower kernel: usb 3-9: new low-speed USB device number 7 using xhci_hcd Oct 16 20:21:58 Tower kernel: hid-generic 0003:0665:5161.0004: hiddev96,hidraw0: USB HID v1.00 Device [INNO TECH USB to Serial] on usb-0000:00:14.0-9/input0 Oct 16 20:24:48 Tower apcupsd[19726]: apcupsd exiting, signal 15 Oct 16 20:24:48 Tower apcupsd[19726]: apcupsd shutdown succeeded Oct 16 20:24:48 Tower apcupsd[20414]: apcupsd 3.14.14 (31 May 2016) slackware startup succeeded Oct 16 20:24:48 Tower apcupsd[20414]: NIS server startup succeeded Oct 16 20:26:01 Tower apcupsd[20414]: Communications with UPS lost. and: root@Tower:/dev# ls aer_inject full loop1 mem sdb shm/ tty16 tty28 tty4 tty51 tty63 vcs6 vcsu5 block/ fuse loop2 mouse@ sdb1 stderr@ tty17 tty29 tty40 tty52 tty7 vcsa vcsu6 bsg/ hidraw0 loop3 net/ sdc stdin@ tty18 tty3 tty41 tty53 tty8 vcsa1 vfio/ btrfs-control hpet loop4 null sdc1 stdout@ tty19 tty30 tty42 tty54 tty9 vcsa2 vga_arbiter bus/ hwrng loop5 port sdd tty tty2 tty31 tty43 tty55 ttyS0 vcsa3 vhci char/ initctl| loop6 ppp sdd1 tty0 tty20 tty32 tty44 tty56 urandom vcsa4 vhost-net console input/ loop7 ptmx sde tty1 tty21 tty33 tty45 tty57 usb/ vcsa5 vsock core@ kmem mapper/ pts/ sde1 tty10 tty22 tty34 tty46 tty58 vcs vcsa6 xconsole| cpu/ kmsg mcelog random sg0 tty11 tty23 tty35 tty47 tty59 vcs1 vcsu zero cpu_dma_latency kvm md1 rtc@ sg1 tty12 tty24 tty36 tty48 tty6 vcs2 vcsu1 disk/ log= md2 rtc0 sg2 tty13 tty25 tty37 tty49 tty60 vcs3 vcsu2 dri/ loop-control md3 sda sg3 tty14 tty26 tty38 tty5 tty61 vcs4 vcsu3 fd@ loop0 md4 sda1 sg4 tty15 tty27 tty39 tty50 tty62 vcs5 vcsu4 oot@Tower:/dev# cd usb/ root@Tower:/dev/usb# ls hiddev0 root@Tower:/dev/usb# How can I deal with it? etc/apcupsd# /sbin/apcaccess APC : 001,018,0448 DATE : 2020-10-16 21:45:23 +0800 HOSTNAME : Tower VERSION : 3.14.14 (31 May 2016) slackware UPSNAME : Tower CABLE : Ethernet Link DRIVER : PCNET UPS Driver UPSMODE : Stand Alone STARTTIME: 2020-10-16 21:45:22 +0800 STATUS : COMMLOST MBATTCHG : 10 Percent MINTIMEL : 10 Minutes MAXTIME : 0 Seconds NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A STATFLAG : 0x05000100 END APC : 2020-10-16 21:51:37 +0800 Edited December 14, 20205 yr by uniartisan
October 17, 20205 yr Author Device: ID 0665:5161 Cypress Semiconductor USB to Serial Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0665 Cypress Semiconductor idProduct 0x5161 USB to Serial bcdDevice 0.02 iManufacturer 1 INNO TECH iProduct 2 USB to Serial iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0022 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 3 20100813 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 4 Sample HID HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 27 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 1 can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0000 (Bus Powered)
October 17, 20205 yr Community Expert Your should realize that that UPS is not a common brand that widely available in many parts of the world. You may have to play with the default apcupsd (standard Unraid UPS software) settings ( Settings >>> UPS Settings ) until you find the combination that works. If that does not work, then you might want to have a look at NUT - Network UPS Tools which you can find in the Community Applications plugin.
Archived
This topic is now archived and is closed to further replies.