qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QEMU]send key event from monitor


From: Mircea Cociuba
Subject: Re: [QEMU]send key event from monitor
Date: Mon, 24 Aug 2020 10:02:21 +0000 (UTC)

I get that, I also think that is the problem.
How come the current console works then? 
I mean, thinking about it makes sense that qemu "sees" something to send to the bare-metal program, how to do it from the monitor?

Mircea Cociuba
"To be or not to be, that is not a question, it's FF".


On Monday, August 24, 2020, 12:56:11 PM GMT+3, Peter Maydell <peter.maydell@linaro.org> wrote:


On Mon, 24 Aug 2020 at 10:45, Mircea Cociuba <cociuba_mircea@yahoo.com> wrote:

> Basicaly I have a running arm cortex m4 with FPU enabled, all good an' well.
> I wrote a small echo server, whatever I type I get back, simple, right?
> it works in the same console(I type 's', I get 's' back). Using the UART of the device.
>
> When connecting the monitor( I just added this: -monitor telnet:127.0.0.1:55555,server,nowait)
> using telnet, I use the sendkey command(It says in the monitor it emulates sending keyboard events)
> The problem, when I send the command, the echo server does not get it(not present in the UART register)


That's expected. The 'sendkey' command simulates sending
a *keyboard* event, ie it goes to an emulated keyboard.
That's different from a serial port/UART. Your setup has
no emulated keyboard in it, so the sendkey event will just
go nowhere, I think.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]