UPS, 2X NAS, USB

From: CHYRON (DSMITHHFX) 4 Dec 2020 21:15
To: Matt 12 of 19
The NAS doesn't talk to the UPS, it's the other way around. The UPS does all the talking, the attached NAS/PC/whatever just listens and reacts to whatever the UPS is telling it. On USB. That's why I suppose a hub might work.
EDITED: 4 Dec 2020 21:15 by DSMITHHFX
From: ANT_THOMAS 5 Dec 2020 17:38
To: CHYRON (DSMITHHFX) 13 of 19
Much like a flatbed scanner talks to a computer and sends the image to the computer and not the other way around, you can't connect the scanner to two computers simultaneously.
Or a mouse, or a keyboard.

It'll still be two way communication. Host (NAS) and Device (UPS).
I'd love to see it work, but my guess is it won't.
From: CHYRON (DSMITHHFX) 5 Dec 2020 18:55
To: ANT_THOMAS 14 of 19
And a printer?
From: ANT_THOMAS 5 Dec 2020 22:02
To: CHYRON (DSMITHHFX) 15 of 19
Plugged into two computers at once over USB? Never seen it.
From: Peter (BOUGHTONP) 5 Dec 2020 23:16
To: ALL16 of 19
What does the UPS use to send the signal?

Can you connect the NASes together via USB and generate the same signal via software?

(Or just attach the switch to the UPS so the network doesn't go down, and you can do it with SSH.)

From: CHYRON (DSMITHHFX) 6 Dec 2020 08:54
To: Peter (BOUGHTONP) 17 of 19
I don't know, I guess whatever bus is in use or it blindly fires away on them all. There might be a way to do what you suggest (chain the devices via usb), but the custom code angle would be beyond my ken. I'll sniff around here http://www.apcupsd.org
From: Matt 6 Dec 2020 21:02
To: CHYRON (DSMITHHFX) 18 of 19
Indeed, but the USB spec doesn't allow what you want to do, even with a hub which itself counts as being a downstream device.

While you can have multiple downstream devices connected to one upstream you cannot have multiple upstream devices connected to one downstream. There are workarounds to this, like USB switches but these still only allow one upstream device. Pushing a button on the switch disconnects one upstream device and connects the other. The two upstream devices are never connected at the same time.

I wouldn't pursue what you're thinking. But what I would look into is having something as an intermediary device (think Raspberry Pi) that can be connected to the NAS and receive it's notifications and then communicate them over ethernet to the two or more upstream devices.
EDITED: 6 Dec 2020 21:03 by MATT
From: CHYRON (DSMITHHFX) 6 Dec 2020 22:34
To: Matt 19 of 19
OK thanks.