[Nut-upsuser] UPS hotplug

Bart J. Smit bart at smits.scot
Wed Nov 17 12:45:29 GMT 2021


You can add a udev script to restart NUT when the UPS is plugged in https://wiki.debian.org/udev

From: Nut-upsuser <nut-upsuser-bounces+bart=smits.co.uk at alioth-lists.debian.net> On Behalf Of Maxence Rioblanc
Sent: 16 November 2021 11:55
To: nut-upsuser at alioth-lists.debian.net
Subject: [Nut-upsuser] UPS hotplug

Hello,

I'm using nut for few days and found it working perfectly fine in most conditions. However, there is one behavior I am not able to handle correctly:
When I boot my computer (I am in a mode=standalone configuration) while my UPS is not connected and that I plug it (using USB cable) later, the driver doesn't mount automatically, and I am not able to enable communication with my UPS.
I need to restart nut-server.service to get communication established.
Is there any way to make this hot plug works?

My configuration:

  *   Debian 11
  *   NUT 2.7.4-13 installed from apt-get
  *   UPS: ECUS MRT_2_1000 running fine with blazer_usb driver
  *


Regards,
Maxence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20211117/38d50974/attachment.htm>


More information about the Nut-upsuser mailing list