jpnurmi / flutter_libserialport

Serial Port for Flutter
https://pub.dev/packages/flutter_libserialport
MIT License
143 stars 80 forks source link

Fix linux builds for newer kernels #35

Closed sitic closed 2 years ago

sitic commented 2 years ago

Fixes #20

Support for TERMIOX was removed from the Linux kernel starting in 2020-12. Apparently (see linux mailing list), TERMIOX was never used by any linux driver, but libserialport relies on it for some advanced flow control options (see upstream bug).

Upstream has decided to disable checking for TERMIOX on linux (patch). The kernel change has been backported to the 5.10 LTS branch, so it doesn't only affect the lastest kernel versions. We should do the same here.

jpnurmi commented 2 years ago

Version 0.2.3 published: https://pub.dev/packages/flutter_libserialport/versions/0.2.3