Public bug reported: Hello!
I've recently ran into a bug of socat that has been fixed in newer versions. The `cread` option in conjunction with low level settings: ``` cbuec@W11nMate:~/RIOTstuff/riot-vanillaice/RIOT$ socat - open:/dev/ttyACM0,ispeed=115200,ospeed=115200,nonblock,clocal=1,cread=1,echo=0,raw,cs8,parenb=0,cstopb=0 2026/08/26 08:35:55 socat[446352] E cfsetispeed(0x55a059dd25c0, 115200): Invalid argument ``` This has been fixed in version 1.7.4.4, although there is at least one regression introduced in 1.7.4.4, so it might be a good idea to instead use one of the versions from more recent Ubuntu versions. Related Links: https://repo.or.cz/socat.git/blob/HEAD:/CHANGES#l978 https://repo.or.cz/socat.git/blob/HEAD:/test.sh#l15013 I know that Ubuntu 22.04 LTS only has less than one year of service life left, but it is still used a lot and also (still) the base of the Docker container shipped with RIOT OS (which is how I stumbled upon this bug). Thank you for looking into this! Best Regards, Chris Ubuntu Release (inside WSL): ``` cbuec@W11nMate:~/RIOTstuff/riot-vanillaice/RIOT$ lsb_release -rd Description: Ubuntu 22.04.5 LTS Release: 22.04 ``` Package version: ``` cbuec@W11nMate:~/RIOTstuff/riot-vanillaice/RIOT$ apt-cache policy socat socat: Installed: 1.7.4.1-3ubuntu4 Candidate: 1.7.4.1-3ubuntu4 Version table: *** 1.7.4.1-3ubuntu4 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status ``` ** Affects: socat (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2165102 Title: Upgrade to >=1.7.4.4 or newer to fix bug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/socat/+bug/2165102/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
