It is necessary to work directly with the com port (cashcode bill acceptor), ubuntu 16.04 & php7.1
When you turn on the PC, when you first access the com port, the com port hangs when you try to read the response. I temporarily fly with the launch of a third-party program (which normally works with com ports), after it everything works as it should. I watched the source code of one of such programs, nothing beyond the natural happens there, no changes are made to the port configuration or anything like that.