Keyboard not working with VNC connection - SDL2.0.1

First, thanks for making SDL available.

I get a keyboard error when using a remote connection (VNC) to log in to my
Raspberry Pi. This isn’t a big problem, but it worked on SDL1.x. A Google
search shows a couple reports of this problem, one in the SDL forum, but no
responses. I am reporting this mostly because the error message asked for a
report, but it is handy to have the remote connection for development work.

This error occurs during init (no text follows the colon):
Keyboard layout unknown, please send the following to the SDL mailing list
(sdl at libsdl.org):

These errors are reported when a key is pressed (these examples are “a b
c”).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 38
(30), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 39
(31), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode 40
(32), X11 KeySym 0x0 ((null)).

If it’s helpful, here is the OS info:
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL=“http://bugs.debian.org/

Thanks again,

  • Kerry

Kerry Imming
Rochester, MN USA

Did you set a keyboard layout on your pi? I haven’t used wheezy, but for
arch on pi, I had to set the keyboard mapping. Even though this page is
for arch, you may find it helpful for wheezy, too;
https://wiki.archlinux.org/index.php/Keyboard_Configuration_in_Console

Does that resolve the issue?On Sun, Jan 19, 2014 at 7:57 PM, Kerry Imming wrote:

First, thanks for making SDL available.

I get a keyboard error when using a remote connection (VNC) to log in to
my Raspberry Pi. This isn’t a big problem, but it worked on SDL1.x. A
Google search shows a couple reports of this problem, one in the SDL forum,
but no responses. I am reporting this mostly because the error message
asked for a report, but it is handy to have the remote connection for
development work.

This error occurs during init (no text follows the colon):
Keyboard layout unknown, please send the following to the SDL mailing list
(sdl at libsdl.org):

These errors are reported when a key is pressed (these examples are “a b
c”).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode
38 (30), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode
39 (31), X11 KeySym 0x0 ((null)).
The key you just pressed is not recognized by SDL. To help get this fixed,
please report this to the SDL mailing list X11 KeyCode
40 (32), X11 KeySym 0x0 ((null)).

If it’s helpful, here is the OS info:
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL=“http://bugs.debian.org/

Thanks again,

  • Kerry

Kerry Imming
Rochester, MN USA


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi Alex,
Thank you for the reply. There is a raspi-config that sets the keyboard mapping. I have tried several mappings, but all with the same error. Everything else in VNC works correctly. I tried a different VNC viewer and got the same errors. The link you provided talks about a /etc/vconsole.config, but I don’t find any references to that on my distro.

This isn’t a huge problem, and if it hadn’t worked with SDL 1.0 I would have chalked it up to Raspberry Pi weirdness.

Thanks again for your time,

  • Kerry----- Original Message -----
    From: Alex Barry
    To: Kerry Imming ; SDL Development List
    Sent: Tuesday, January 21, 2014 7:57 AM
    Subject: Re: [SDL] Keyboard not working with VNC connection - SDL2.0.1

    Did you set a keyboard layout on your pi? I haven’t used wheezy, but for arch on pi, I had to set the keyboard mapping. Even though this page is for arch, you may find it helpful for wheezy, too; https://wiki.archlinux.org/index.php/Keyboard_Configuration_in_Console

    Does that resolve the issue?

    On Sun, Jan 19, 2014 at 7:57 PM, Kerry Imming <@Kerry_Imming> wrote:

    First, thanks for making SDL available.

    I get a keyboard error when using a remote connection (VNC) to log in to my Raspberry Pi. This isn’t a big problem, but it worked on SDL1.x. A Google search shows a couple reports of this problem, one in the SDL forum, but no responses. I am reporting this mostly because the error message asked for a report, but it is handy to have the remote connection for development work.

    This error occurs during init (no text follows the colon):
    Keyboard layout unknown, please send the following to the SDL mailing list (sdl at libsdl.org):

    These errors are reported when a key is pressed (these examples are “a b c”).
    The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list X11 KeyCode 38 (30), X11 KeySym 0x0 ((null)).
    The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list X11 KeyCode 39 (31), X11 KeySym 0x0 ((null)).
    The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list X11 KeyCode 40 (32), X11 KeySym 0x0 ((null)).

    If it’s helpful, here is the OS info:
    PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
    NAME="Debian GNU/Linux"
    VERSION_ID="7"
    VERSION="7 (wheezy)"
    ID=debian
    ANSI_COLOR="1;31"
    HOME_URL="http://www.debian.org/"
    SUPPORT_URL="http://www.debian.org/support/"
    BUG_REPORT_URL=“http://bugs.debian.org/

    Thanks again,

    • Kerry

    Kerry Imming
    Rochester, MN USA


    SDL mailing list
    SDL at lists.libsdl.org
    http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org