Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#51472 - [apcupsd] Crash in v3.14.14 when using modbus over USB

Attached to Project: Community Packages
Opened by Carey Metcalfe (pR0Ps) - Friday, 21 October 2016, 03:53 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 25 October 2016, 14:05 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Florian Pritz (bluewind)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When trying to enable Modbus over USB, the following error is produced:

ModbusRs232Comm.cpp:71 Open: open("") fails: No such file or directory


Package: apcupsd v3.14.14

Steps to reproduce:
1. Connect a modbus-enabled APC device (Ex: SMT 1000)
2. Enable Modbus on the device
3. Use the following config options in /etc/apcupsd.conf:

UPSCABLE usb
UPSTYPE modbus
DEVICE

4. Run apctest
This task depends upon

Closed by  Florian Pritz (bluewind)
Tuesday, 25 October 2016, 14:05 GMT
Reason for closing:  Implemented
Additional comments about closing:  apcupsd 3.14.14-2
Comment by Carey Metcalfe (pR0Ps) - Friday, 21 October 2016, 03:56 GMT
The fix is to add Modbus over USB support via the '--enable-modbus-usb' flag. Patch is attached.


Source: https://sourceforge.net/p/apcupsd/mailman/message/33603663/

Loading...