Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 03-07-2019, 11:09 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 15

Rep: Reputation: Disabled
serial console not accepting input

I have an embedded Linux system (based on NXP imx53) with barebox loading Ubuntu 18.04.2 LTS with kernel 4.14.87-armv7-rt-x13

I have the serial console setup on /dev/ttymxc0

I see (via SSH) that there is agetty running on this port with the following parameters:
/sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttymxc0 vt220
Now, during the barebox part of the boot the console is working as expected, I get the output from barebox and can interact with it, input is accepted, no problem at all. When Linux is booted, I see all the boot output on the console and eventually get to a login prompt, however serial input (through putty) is not being received/accepted. Basically typing into the console does nothing at all. If I kill getty (by connecting via SSH) it is respawned and I see a new login prompt printed on the serial console but still my input is not accepted. If I start a reboot process (via SSH) I can see the shutdown messages on the serial console and when it reaches barebox I can interact with it over the serial console.

If I open minicom on /dev/ttymxc0 (again via SSH) whatever I type there gets output to the serial console but nothing appears in minicom if I type in the serial console

My guess at this point is that the console input is being redirected elsewhere, checking lsof shows /dev/ttymxc0 open by 3 agetty instances, is this normal?

# lsof | grep ttymxc0
agetty    5893            root    0u      CHR     207,16      0t0      11275 /dev/ttymxc0
agetty    5893            root    1u      CHR     207,16      0t0      11275 /dev/ttymxc0
agetty    5893            root    2u      CHR     207,16      0t0      11275 /dev/ttymxc0
I'm not sure where to look further into this problem so any suggestions are welcome.


Last edited by grgsaliba; 03-07-2019 at 11:22 AM.
Old 03-10-2019, 08:21 AM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,041

Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
You might need "-L" on the agetty command to disable wait for carrier detect.
Old 03-10-2019, 12:44 PM   #3
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,900
Blog Entries: 43

Rep: Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138
Moderator Response

Moved: This thread is more suitable in <Linux - Embedded & Single-board computer> and has been moved accordingly to help your thread/question get the exposure it deserves.


serial console

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Computer running KDE Neon not accepting input from mouse or keyboard after upgrading to 18.04 Johnny_Metal Linux - Hardware 3 10-17-2018 03:36 PM
Password not accepting by l3 cisco 3750 switch while conecting it by serial port boby.kumar Linux - Networking 1 04-12-2013 10:06 PM
Strange Behaviour - GUI not accepting input odog314 Linux - Desktop 1 06-03-2012 07:01 AM
mutt does not honour mutt.rc 'use_from' entry when accepting piped input davidchall Linux - Software 0 05-28-2012 02:13 AM
Serial input device using usb-serial connector slackiz Linux - Hardware 4 01-12-2009 05:04 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:00 PM.

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