captcha1
captcha1
On OpenWRT : error opening port:%!(EXTRA *os.SyscallError=SYS_IOCTL: inappropriate ioctl for device)
FYI , on a Atheros MIPS 24Kc machine running OpenWRT 17.01.2 , I get : TCSETS2 = 0x8030542B BOTHER = 0x00001000 NCCS = 23
On OpenWRT : error opening port:%!(EXTRA *os.SyscallError=SYS_IOCTL: inappropriate ioctl for device)
... though there seems to be 2 files named termbits.h with 2 different values for NCCS : $ cd lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include $ grep NCCS asm*/* |grep define asm-generic/termbits.h:#define NCCS 19 asm/termbits.h:#define...
On OpenWRT : error opening port:%!(EXTRA *os.SyscallError=SYS_IOCTL: inappropriate ioctl for device)
I did a test, and the speed gets set correctly when NCCS=23
On OpenWRT : error opening port:%!(EXTRA *os.SyscallError=SYS_IOCTL: inappropriate ioctl for device)
Yes ... It's probably better to fix it by using "cgo", but a workaround is to hard code for OpenWRT : TCSETS2 = 0x8030542B BOTHER = 0x00001000 NCCS = 23...
This will fix it : ``` --- catalog.py-orig 2020-10-28 00:25:15.000000000 -0700 +++ catalog.py 2022-02-11 23:45:07.145859536 -0800 @@ -9,6 +9,7 @@ from collections import OrderedDict from datetime import datetime +from datetime...
Can pat use an "Iridium Go!" ? I wonder if it makes sense to add code to "pat" to make the "Iridium Go!" open a connection to the Internet ?...
Pat uses a modem to connect to a winlink server. The modem can be ardop or pactor ... or broadband (DSL / DOCSIS / GPON) ... or Iridium. AIrmail (...
Maybe just have the ability to do a "system" call before and after connecting to the winlink server. This could even be used to start "ardopc" ...
I noticed that ... but it all seems to be "grayed out" ... I've been meaning to write some python XML SOAP code for this (eg : python zeep) ......
FYI, I tested this "python zeep" script w/ "pat" and it works : https://pastebin.com/0JSqEnQg . Basically, it tells the "Iridium Go!" to start an Internet connect, but only open port...