Allow apc_modbus
instances to monitor several USB devices on the same system#2790
Draft
jimklimov wants to merge 7 commits intonetworkupstools:masterfrom jimklimov:issue-2609
+50-3
Commits
Commits on Jan 29, 2025
drivers/apc_modbus.c: _apc_modbus_create_reopen_matcher(): make sure the freed reopen_matcher does not remain in the chain from best_matcher upwards [networkupstools#2609]
committeddrivers/apc_modbus.c: upsdrv_cleanup(): cleaner release of regex_matcher and reopen_matcher [networkupstools#2609]
committeddrivers/apc_modbus.c: _apc_modbus_usb_callback(): debug return codes from current_matcher->match_function() [networkupstools#2609]
committeddrivers/apc_modbus.c: _apc_modbus_usb_callback(): import USB device detail printout from libusb1.c [networkupstools#2609]
committedNEWS.adoc, drivers/apc_modbus.c: _apc_modbus_usb_callback(): handle common return codes from matcher methods, like libusb1.c does [networkupstools#2609]
committeddrivers/apc_modbus.c: _apc_modbus_reopen(): do not assume the first matcher in the list is the old reopen_matcher(), rely on _apc_modbus_create_reopen_matcher() to do the right job [networkupstools…
committed