View: 5501|Reply: 4

Serial port disconnect problem

[Copy link]

2

threads

4

posts

24

credits

Novice

Rank: 1

credits
24
Published in 2019-12-25 15:20:52 | Show all floors |Read mode
Edited by wing_zyy at 2019-12-25 15:27

Hi, good day,
      Recently, we use armbian on orangepi zero that is connected to a 3D printer with serial port. The OS recognize the serial port as ttyUSB0 through USB port on orangepi, but the port would be disconnected automatically, after throwing "###X_Eeferencing free block". Could someone tell us if this is because of the OS and how to solve this disconnection issue?

Thank you and best wishes.
Yuan

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2019-12-25 16:57:30 | Show all floors
MicroUSB port is used by serial console by default. You need to disable getty to make use it for some other purpose.

2

threads

4

posts

24

credits

Novice

Rank: 1

credits
24
 Author| Published in 2019-12-26 19:12:07 | Show all floors
igorpec replied at 2019-12-25 16:57
MicroUSB port is used by serial console by default. You need to disable getty to make use it for som ...

Thank you for your reply, igorpec!
What you mean is the port would not be disconnected as long as getty is closed?
But at the beginning of running kermit, the port can ben connected, and the data sent by printer can be recieved by the serial port, just after running for a while , the port is disconnected, and the period is not fixed. So it is also because of getty?

2

threads

4

posts

24

credits

Novice

Rank: 1

credits
24
 Author| Published in 2019-12-27 16:13:31 | Show all floors
It seems that getty cannot be disabled, and there is not ttyUSB0.service for the serial port that is used to connect the printer.
In getty, there are three services, which are getty@tty1.service, serial-getty@ttyGS0.service, serial-getty@ttyS0.service. which ports are these service related to? which port service is related to ttyUSB0??

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2019-12-27 23:30:16 | Show all floors
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list