<div dir="ltr"><div>Hello all,</div><div><br></div><div>  During holiday revision of issues (hoping to tie up loose ends and get to NUT v2.8.1 soonish), an old <a href="https://github.com/networkupstools/nut/issues/50">https://github.com/networkupstools/nut/issues/50</a> ticket came to my attention - that some years ago "we" (as NUT community) wanted to create an unified driver for devices with a Modbus connection -- similar to `nutdrv_qx` doing everything about Megatec Qx protocol family (USB/Serial), `snmp-ups` or `usbhid-ups` with subdrivers for vendor nuances over a common playground...</div><div><br></div><div>  In the end what happened over the past years was that several independent drivers were made or proposed from scratch (some efforts listed at <a href="https://github.com/networkupstools/nut/issues/50#issuecomment-1369803950">https://github.com/networkupstools/nut/issues/50#issuecomment-1369803950</a> comment) for modbus-capable devices - great thanks to everyone involved!</div><div><br></div><div>  Now it may be beneficial to get back to the original plan, to maintain just one copy of the common codebase and redefine the recently contributed drivers as subdrivers to that single umbrella -- but this needs volunteers with developer chops and the devices to refactor against.</div><div><br></div><div>  One more question is whether it is at all reasonable and possible? I gather there are Modbus protocol variants over Serial, USB and TCP connections at least, with binary and ascii dialects (latter dysfunctional in existing libmodbus releases, but still). Is there actually sufficient overlap of existing drivers that conversion to a single binary with extensible subdrivers would be beneficial and would deduplicate something, or are they better off independent?<br></div><div><br></div><div>  Another question is whether someone would undertake an extension to `nut-scanner` to detect devices that NUT modbus drivers can support (given the plethora of Modbus transports)?<br></div><div><br></div><div>WDYT?<br></div><div>Jim Klimov<br></div><div><br></div></div>