Re: [Apcupsd-users] Continual stream of battattach, battdetach, changeme and powerout events from B
Brought to you by:
adk0212
|
From: Pavel B. <boc...@po...> - 2024-02-22 20:36:02
|
SMTs are different story, and yes, this USB vs serial (RS232) has been discussed gazillion times over and over in the lists but BX are the El Cheapo plastic craps, worst of all, not even the BExx0 family is such a crap - Schneider's direct response to all the chinese craps flooding the markets -- S uctivým pozdravem/best regards, Pavel Boček Jabber: Be...@ja... +420 739 190 151 http://www.hwworld.cz (kurzy pájení, kondenzátory, aku/baterie aj./ capacitors etc.) https://www.hardwareinsights.com (power supply reviews and more) https://www.stickers-cz.com (nekonformní samolepky) ---------- Původní e-mail ---------- Od: Sarunas Burdulis <sa...@ma...> Komu: apc...@li... Datum: 22. 2. 2024 21:07:35 Předmět: Re: [Apcupsd-users] Continual stream of battattach, battdetach, changeme and powerout events from BX1600MI "On 2024-02-21 18:28, Andy Smith wrote: > [...] > As for DEVICE, plugging in the USB cable doesn't result in the > creation of a ttyUSB* so I think I always need to leave that blank. > > When I plug it in, these are the logs: > > 2024-02-21T04:17:48.656215+00:00 specialbrew kernel: [1172892.452906] usb 4-5: new low-speed USB device number 13 using ohci-pci > 2024-02-21T04:17:48.860353+00:00 specialbrew kernel: [1172892.659935] usb 4-5: New USB device found, idVendor=051d, idProduct=0002, bcdDevice= 0.01 > 2024-02-21T04:17:48.860405+00:00 specialbrew kernel: [1172892.659945] usb 4-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > 2024-02-21T04:17:48.860411+00:00 specialbrew kernel: [1172892.659949] usb 4-5: Product: Back-UPS BX1600MI > 2024-02-21T04:17:48.860418+00:00 specialbrew kernel: [1172892.659953] usb 4-5: Manufacturer: American Power Conversion > 2024-02-21T04:17:48.860422+00:00 specialbrew kernel: [1172892.659956] usb 4-5: SerialNumber: 9B2339A15993 > 2024-02-21T04:17:48.904082+00:00 specialbrew kernel: [1172892.700945] hid- generic 0003:051D:0002.000C: hiddev0,hidraw0: USB HID v1.10 Device [American Power Conversion Back-UPS BX1600MI] on usb-0000:00:12.0-5/input0 > >> (If there is a way to get a better model ID without crawling >> behind server racks to peek at the back of the unit, please let me >> know). > > As above for USB models it may be in the kernel logs when a USB > cable is inserted. You can remotely trigger the equivalent of an > unplug and replug with something like: > > # echo 0 > /sys/bus/usb/devices/4-5/authorized > # echo 1 > /sys/bus/usb/devices/4-5/authorized Kernel messages and `lsusb -v` just give the same name for [i]Product as is reported for MODEL by `apcaccess`... Newer models are all -SMT and they required going into UPS control panel and enabling Modbus. Now I seem to recall that the newest 3000VA models, when connected via USB, may have flip-flopped in a similar or the same way that you describe. We had to get the proper APC/Schneider accessory serial cables to make them work with apscupsd. -- Sarunas Burdulis Dartmouth Mathematics https://math.dartmouth.edu/~sarunas · https://useplaintext.email · _______________________________________________ Apcupsd-users mailing list Apc...@li... https://lists.sourceforge.net/lists/listinfo/apcupsd-users " |