Re: [CentOS] resetting a serial port

2023-12-14 Thread Simon Matter
Hi, > I have Centos 7 arm32 running on a Cubieboard and I am logged in as root > on its serial uart from another system. > > On that system I use > > screen /dev/ttyUSB0 115200 > > Well it was working well for a couple days, but now only garbage comes > across.  Something messed up the serial

Re: [CentOS] resetting a serial port

2023-12-14 Thread Christer M. Fekjan
Typo correction: ls -l /hello.txt # is it 6 bytes? (text+newline) On Thursday 14 December 2023 16:06:13 Christer M. Fekjan wrote: > On serial link type: > echo hello >> /hello.txt > > Via ssh: > ls -l hello.txt # is it 6 bytes? (text+newline) > cat /hello.txt > # Anything in /var/log/messages or

Re: [CentOS] resetting a serial port

2023-12-14 Thread Christer M. Fekjan
On serial link type: echo hello >> /hello.txt Via ssh: ls -l hello.txt # is it 6 bytes? (text+newline) cat /hello.txt # Anything in /var/log/messages or other logs? Kind regards, Christer On Thursday 14 December 2023 02:45:31 Robert Moskowitz wrote: > I have Centos 7 arm32 running on a

Re: [CentOS] resetting a serial port

2023-12-14 Thread Robert Moskowitz
the system I am connected to over the serial uart is one of my major servers and I REALLY dislike rebooting it. On 12/13/23 23:21, Fred wrote: have never used usb-to-serial devices, so I'm probably wrong here... wondering if, on the system where you work, have you tried using the reset or

Re: [CentOS] resetting a serial port

2023-12-14 Thread Robert Moskowitz
How do I kill the shell session on ttyS0? ls did nothing. nor stty sane but I think I saw all those characters echoed back. On 12/14/23 00:04, Jon LaBadie wrote: On Wed, Dec 13, 2023 at 08:45:31PM -0500, Robert Moskowitz wrote: I have Centos 7 arm32 running on a Cubieboard and I am logged in

Re: [CentOS] resetting a serial port

2023-12-13 Thread Jon LaBadie
On Wed, Dec 13, 2023 at 08:45:31PM -0500, Robert Moskowitz wrote: I have Centos 7 arm32 running on a Cubieboard and I am logged in as root on its serial uart from another system. On that system I use screen /dev/ttyUSB0 115200 Well it was working well for a couple days, but now only garbage

Re: [CentOS] resetting a serial port

2023-12-13 Thread Fred
have never used usb-to-serial devices, so I'm probably wrong here... wondering if, on the system where you work, have you tried using the reset or tset command? otherwise, though *being a Linux user I hate to suggest this*, but have you tried the "universal-fix-all-problems" technique that

[CentOS] resetting a serial port

2023-12-13 Thread Robert Moskowitz
I have Centos 7 arm32 running on a Cubieboard and I am logged in as root on its serial uart from another system. On that system I use screen /dev/ttyUSB0 115200 Well it was working well for a couple days, but now only garbage comes across.  Something messed up the serial link. pulling the