@Lazar-Demin Thanks for picking this up! Our build works again.
C
Best posts made by ckielstra
-
RE: error while build from source on shellinabox
-
RE: pyserial with 250000 bit/s
I ran into the same problem and found the root cause: pySerial v3.2 (and PySerial's master branch up till 2020-4) uses hard coded IOCTL values and these are wrong for the MIPS processor as used in the Onion. It is just impossible to set any custom baud rate different from the default Linux provided baud rates without getting the "not a tty" error.
The changes required to fix this are small. Use the correct IOCTL hard coded values and change the offset values for the baudrate settings to the correct position in the underlying C-struct.
I submitted my fix to have this incorporated into pySerial: https://github.com/pyserial/pyserial/pull/496