The way USB serial chips are treated has changed in Linux at some point in time. It is actually nothing specific RaspberryPi, it is the same on a PC or other computer board with USB and a USBserial module plugged and running Linux. You need to follow other/newer/better methods to configure and open the port/device in your app.It basically sets baud rate; might be that something in the stack sets some default parameters, but I'm not aware that it does.
However I've ruled out any interference by app by simply not running it at all after reboot, or before any of tests here. In other words, it's not my app that breaks the port, it's OS itself, which is unfortunate as opening port correctly should work by default.
Statistics: Posted by redvli — Thu Nov 07, 2024 6:05 am