agetty / getty equivalent (Or: Can see console redirection at boot - but cannot send any input to my target)

338 views
Skip to first unread message

Ron M

unread,
Jan 5, 2012, 11:03:07 AM1/5/12
to Android-x86
Hi all,

Introduction:

I am trying to connect my development host to my target android-x86
device (some Dell Latitude) over serial null-modem cable.
When I set the "console=ttyS0,<AnyBaudRate>" parameters I am able to
see the output of the boot process,
but then I can't type anything into the console when I run Android-x86
in debug mode.

I think that it is because there is no agetty/getty running as in a
standard linux variant ( e.g. initab respawning login on agetty ).

The setup is as follows:
Both serial interfaces are at /ttyS0 - and have the same
characteristics (these are essentially the same computers), as seen in
the output of setserial on both host and Android-x86 target:
PROMPT$ setserial -g /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

Had I tried to connect serially in a (non-ubuntu...) linux, I would do
something like this:
On the server: agetty -L /dev/ttyS0
On the client: connect to /dev/ttyS0 with screen, minicom, or
whatever.


Now, I can't find a "getty" equivalent on Android-x86-honeycomb,
neither can I find the "login" binary.

I am referring to both having the kernel console redirected, and to
be able to logging via serial on "linux userland" via some agetty
mechanism.

Can anyone help me come up with a way of connecting via the serial
port? I am confident that at least some of you guys connect to your
Android-x86 targets over a serial port on a regular basis.

I appreciate your help.

Ron.

Ron M

unread,
Jan 8, 2012, 7:00:58 AM1/8/12
to Android-x86
Anyone?

Chih-Wei Huang

unread,
Jan 8, 2012, 9:22:07 AM1/8/12
to andro...@googlegroups.com
I don't think you need getty.
You just need to run 'start console'.

2012/1/8 Ron M <ron...@gmail.com>:

manoj

unread,
May 5, 2012, 5:06:39 PM5/5/12
to andro...@googlegroups.com
Hi Ron,

are you able to find solution for this issue ?
Actually i am also facing same. Please share the solution if you have.

Manoj Khandelwal

unread,
May 15, 2012, 3:59:55 AM5/15/12
to andro...@googlegroups.com

Hi Ron,
Plz help me.if you have solution for accessing android shell over ttyS0. In my case,i am not able to give input to shell. It shows kernel logs and some user space meesgaes also but after that it does not taking any input.

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

Abylay Ospan

unread,
May 13, 2015, 3:32:20 PM5/13/15
to andro...@googlegroups.com
You can try my project:
https://github.com/aospan/aagetty

give access to android powered pc over com port (crossover cable).
Reply all
Reply to author
Forward
0 new messages