Non-functioning Alt key in qemu-0.8.2 displayed to X11.app

The Alt key on my US English keyboard going to OS X X11.app going to qemu-0.8.2 (using my own qemu-0.8.2 RHEL 4 package) on my RHEL 4 Linux box is not happening. Instead, this is spewed to the console.

Warning: no scancode found for keysym 310

Strange, since xev sees the keypress just fine:

KeyPress event, serial 24, synthetic NO, window 0x1000001,
    root 0x57, subw 0x0, time 411185488, (11,-16), root:(31,48),
    state 0x0, keycode 66 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

I don’t know why the keysym reported by qemu doesn’t match the keysym reported by xev. I’m guessing that it has something to do with the fact that qemu uses SDL, which probably has its own keymap routines, that are apart from the X11 routines.

Technorati tags: linux, qemu, virtualization, rhel

One thought on “Non-functioning Alt key in qemu-0.8.2 displayed to X11.app

  1. hi there Marc,

    i am noob so be nice…

    can you help me? i’ve been trawling over the net and this is the closest i got to what i am looking for…

    I am trying to connect to my RHEL server using X11 over SSH:

    Go > Util > X11.app

    $ ssh -X james@
    passsword:
    Welcome to James Server
    $ xeyes
    [1] 9608
    $ Error: Can’t open display: :0.0

    Have you seen this before? Is it problem with my mac? RHEL server? Both? Help me if you can – appreciated…

Leave a Reply

Your email address will not be published. Required fields are marked *