LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-03-2017, 05:16 AM   #1
bremenpl
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Rep: Reputation: Disabled
How to type to minicom?


Hello there,
I have installed minicom in order to communicate with a serial device. I have configured it and now when i type "minicom" the console opens and I can receive text. The problem is I cannot write anything back from keyboard. I dont want to send a file or anything, just type back. Is there any setting for that? I would appreciate all help.
 
Old 07-03-2017, 05:38 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,791

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Perhaps you're wanting to enable 'local echo'?

Refer to post#3 of this thread...
http://www.linuxquestions.org/questi...screen-384637/
 
Old 07-03-2017, 06:04 AM   #3
bremenpl
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Does this local echo blocks the reception somehow? Because with local echo I can indeed type the text in but I do not receive anything back as soon as I turn it on.
 
Old 07-03-2017, 08:11 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Local echo should not block receiving text from your device but without knowing anything about its command protocol or how it works it is impossible to say what is wrong.
 
Old 07-03-2017, 09:52 AM   #5
bremenpl
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Generally speaking its a simble debug interface for a linux device. To be more precise its an intel edison board. I am trying to interface with the uart link to login and etc. It works very well in Windows. The driver itself is FTDI usb to uart bridge.
 
Old 07-03-2017, 12:35 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
I am not familiar with the board and from what I information I found setting local echo should not be required.

Just to verify that originally you saw the login message and prompt? That would confirm that you are using the correct serial device?
 
Old 07-03-2017, 12:42 PM   #7
bremenpl
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Yes of course, i did see everything including login screen. I just cant write anything without echo. With echo on the other hand i type in but the device doesnt respond, i see no data going back to me (only my echo)
 
Old 07-03-2017, 12:52 PM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
You should look at the flow control settings, I think the choices are Hardware (RTS/CTS) and Software (XON/XOFF) in minicom.

As you say it works under another OS we must kind of assume that you are using the same cable and connectors, but check those if different.
 
Old 07-03-2017, 12:53 PM   #9
bremenpl
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Same cables and even pc. I am sure the serial settings are ok but i will double ckeck tommorow morning. I can receive everything correctly. Thanks for hel so far.
 
Old 07-03-2017, 11:54 PM   #10
bremenpl
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hardware flow control was on in minicom settings... I have not noticed that. Now it works. Thank you for help.
 
Old 07-04-2017, 12:09 AM   #11
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
You are welcome, glad that worked!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scim foreign language can't type space when switching type mode 7/24/2015 babbab Slackware 16 07-05-2016 04:23 AM
mandriva dual boot filesystem type unknown,partition type 0x7 llearner Linux - Newbie 2 01-24-2010 02:03 PM
Minicom via ttyS0: Please help with $TERM, $MINICOM, colors, mouse/gpm. GrapefruiTgirl Linux - Software 2 07-19-2008 07:01 AM
Dual Boot Vista Suse 10.2 error setting type of partition to type 82 jmp559 Linux - General 1 05-15-2008 06:40 PM
Not able to type anything in minicom main screen. nikp Linux - Software 2 12-28-2005 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration