Find / Probe APCUPSD device type
-
Greetings -
I am setting up the APCUPSD service on my gateway box that is connected to a Smart-UPS 1000XL via serial cable (940-0024C). I am fairly familiar with using apcupsd, but I am having a problem figuring out how to define the device. I have APCSMART for my UPS Type since I have a serial cable model. I looked in dmesg after plugging in the serial cable and starting APCUPSD, but I don't see any reference to the UPS model being recognized, and therefore doesn't list the /dev/*** type. Do I need to reboot in order to get it to recognize it? Is there a way to probe it so that a device type is assigned without needing a reboot? APC status appears to work, just has a comm lost error, which I am assuming is because it doesn't know the device to bind to.
Jeff
-
Try this way:
UPSCABLE: 940-0024C
UPSTYPE: apcsmart
DEVICE: /dev/cuau0Regards.
-
Thanks. The device parameter you provided was the only thing I was missing. APC status is now populated and appears to have the correct information. What I find odd, is that even after rebooting my system last night /dev/cuau0 still does not show in dmesg. I tried probing the hardware a few other way also and still could never find reference to the APC unit being connected.
Jeff