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: Peter Maydell
Subject: Re: [QEMU]send key event from monitor
Date: Mon, 24 Aug 2020 10:55:51 +0100

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]