[Nut-upsdev] USB hotplug; Packaging list gone? Working on OpenWrt Packaging, maybe more

Daniel F. Dickinson cshored at thecshore.com
Tue Aug 28 05:09:54 BST 2018


Hi all,

I've been working on updated packaging for NUT for OpenWrt.  Alioth says
that there is no list at the link for the nut packaging list, so I guess
this is where to send messages.

I had opened https://github.com/networkupstools/nut/issues/602 because
of a user bug report on the OpenWrt NUT packaging
(https://github.com/openwrt/packages/issues/6843) but it turns out to
have been the result of a misunderstanding about how NUT works (that is
the user was using upsdrvctl shutdown to test FSD but still had drivers
running, which didn't work; but it seems this is not completely
unexpected and if the drivers are stopped first, it works fine).

In the process, however, I've gotten into improvement mode and have
upgraded the packaging (current WIP is here:
https://github.com/cshoredaniel/openwrt-packages/tree/pr-nut-fixes)
although I still have minor nits to work through.

Curious if folks would like to see this incorporated into NUT build
system (that is the <initscript>.in and friends).

I've implemented mangling of libhid.usermap(sp?) to get hotplug working
for usbhid-ups under procd (does more than daemon-tools/runit, but less
than systemd but is a lightweight init / process handling / hotplug
system).  The question I have is whether there are similar files I've
missed for the other USB drivers (and for that matter could the hotplug
files and udev files be autogenerated from driver source files since
they 'ought' to have all the relevant information)?

Regards,

Daniel




More information about the Nut-upsdev mailing list