Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Change the flow control settings (CTRL-A-O -> Serial port settings -> F and/or G).
If you get no response, it's probably because Minicom expects a handshake line to go active, while the equipment isn't using hardware handshaking at all.
That seems a normal response, so are you saying CTRL-X or CTRL-A Z doesn't work? Did you start it as root, or use sudo?
It works, but i cant type or send anything to the hardware i am communicating
Quote:
Originally Posted by Ser Olmy
Change the flow control settings (CTRL-A-O -> Serial port settings -> F and/or G).
If you get no response, it's probably because Minicom expects a handshake line to go active, while the equipment isn't using hardware handshaking at all.
I already put NO flow control in hardware and software, and in my Ubuntu machine it works!!!
It works, but i cant type or send anything to the hardware i am communicating
Well you can turn on local terminal echo to confirm the appnis working.
Have you confirmed that the resource is ttyUSB2? Nothing saying it's going to be identical from distro to distro And what about echo to or cat from that resource?
Well you can turn on local terminal echo to confirm the appnis working.
Have you confirmed that the resource is ttyUSB2? Nothing saying it's going to be identical from distro to distro And what about echo to or cat from that resource?
The terminal Local echo works fine, with ctrl a + e.
I typed in terminal
Code:
ls /dev/ttyUSB*
, and only appears
Code:
/dev/ttyUSB2
Quote:
Originally Posted by Ser Olmy
It would have been helpful if you had mentioned that in your initial post.
That leaves the speed settings, and of course the actual serial port device name, as mentioned by rmistler.
Sorry, for not mentioning
So i put the speed to 460800 , 8N1
The terminal Local echo works fine, with ctrl a + e.
I typed in terminal
Code:
ls /dev/ttyUSB*
, and only appears
Code:
/dev/ttyUSB2
Sorry, for not mentioning
So i put the speed to 460800 , 8N1
And you're sure that's correct?
The 8N1 part seems reasonable, but 460800 is just ridiculously fast for most terminal applications, and wouldn't even be supported by many serial ports, as older chips max out at 115200.
The 8N1 part seems reasonable, but 460800 is just ridiculously fast for most terminal applications, and wouldn't even be supported by many serial ports, as older chips max out at 115200.
Well if you confirm the device name, you can use stty to see the port settings, and adjust them actually. Determine if 460800 is valid or something else.
You actually can use two terminals, one to echo to the port and one to cat the output from the port:
Well if you confirm the device name, you can use stty to see the port settings, and adjust them actually. Determine if 460800 is valid or something else.
You actually can use two terminals, one to echo to the port and one to cat the output from the port:
Code:
$ cat /dev/ttyUSB2
And in the other terminal:
Code:
$ echo "stuff" > /dev/ttyUSB2
To test operation.
Ok, i did this and got nothing in the terminal that i wrote the cat command
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.