Open Snify89 opened 2 years ago
Maybe try an all modules build.
Thank you very much for your answers. I have already built the image with all modules. I suppose this is an issue with the ttyS0 settings based on stty. At least I am getting some signals while plugging in/out my COM device for now.
I have an update on this issue: I use a very simple COM device which receives simple ascii characters and sends back simple ascii characters as well. On Windows, this works by using this technique: https://learn.sparkfun.com/tutorials/terminal-basics/command-line-windows-mac-linux
Also, when I use a loopback cable on the com port, I receive the exact same data, that I have sent via PowerShell.
I am testing thinstation on virtualbox and redirect the COM port directly to COM1 into thinstation (ttyS0) However, I am not able to receive (or send?) any data through ttyS0
The settings COM settings on my windows are the following:
Baudrate: 9600
Parität: Even
Datenbits: 8
Stoppbits: 1
Timeout: OFF
XON/XOFF: OFF
CTS-Handshaking: OFF
DSR-Handshaking: OFF
DSR-Prüfung: OFF
DTR-Signal: OFF
RTS-Signal: OFF
I tried changing the COM settings in thinstation via stty and/or setserial commands with no luck at all.
Any help would be really appreciated on this issue.
FYI: The COM device doesn't send anything, until it has received at least 1 character. It responds as soon as it gets any data. The only data I receive is NULL and some(times) garbage as soon as I unplug/plug in the cable, that's the only data I receive through the ttyS0 Interceppty and other tools confirm, that data get's send to the ttyS0 but I don't receive anything back, even with the loopback cable.
I wish I could help more, but I have not done anything with serial in over a decade. It did work back then, and I have not changed the serial configuration.
I got everything working. thank you very much for your help/support. My config were a little too stripped I guess. It works just fine with the default/regular config build. Not quite sure what exactly was missing or interfering.
I got everything working. thank you very much for your help/support. My config were a little too stripped I guess. It works just fine with the default/regular config build. Not quite sure what exactly was missing or interfering.
Only if you manually iterate through the dependent modules and build each time.
I am trying to get the COM Ports working with TS 5.6 Unfortunately I have no success so far and would like to know if there is anything that I need to consider in TS 5.6 regarding the serial port configuration or such. I am not quite sure if my machine is faulty or misconfigured when I try to access /dev/ttyS0
In the thinstation.conf.buildtime there is something mentioned about COM Ports in relation with MOUSE_DEVICE
Is there anything necessary in Thinstation to make the COM Ports work? Or could it possibly a faulty device or misconfiguration?
Thank you so much for your help.
PS.: I rely hardly on thinstation as an OS, and have no other way at the moment to test/debug/diagnose the COM ports otherwise