You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In lib/Device/RFXCOM/Base.pm, function _open_serial_port.
It is not correct to configure the serial port, then closing it to reopen it later. Perhaps it works on linux or windows, but it is just a "good" side-effect. Under any BSD platform, when you close a serial port, all its config is reset to its initial state. So this module don't work under BSD, except when I patch Base.pm to forget the use of Device::SerialPort and properly configure the port using POSIX::Termios just after the sysopen.
I can send you the patch I use under FreeBSD, if you want. I think it should work on Linux but I can't test it under windows...
Thank you for your work.
Best regards,
Max.
The text was updated successfully, but these errors were encountered:
In lib/Device/RFXCOM/Base.pm, function _open_serial_port.
It is not correct to configure the serial port, then closing it to reopen it later. Perhaps it works on linux or windows, but it is just a "good" side-effect. Under any BSD platform, when you close a serial port, all its config is reset to its initial state. So this module don't work under BSD, except when I patch Base.pm to forget the use of Device::SerialPort and properly configure the port using POSIX::Termios just after the sysopen.
I can send you the patch I use under FreeBSD, if you want. I think it should work on Linux but I can't test it under windows...
Thank you for your work.
Best regards,
Max.
The text was updated successfully, but these errors were encountered: