Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8858615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:52:14+00:00 2026-06-14T14:52:14+00:00

I have compiled root file system for my arm development board with the help

  • 0

I have compiled root file system for my arm development board with the help of buildroot.My rootfs contains TinyX server and match-box as window manager.Then i have launched the x server by this script below.

export DISPLAY=:0

X -wr -keybd keyboard -mouse mouse & (TinyX)

matchbox-session &

The problem that i am facing is keyboard not working in the TinyX server.
The TinyX server is producing the following error message
“driver Linux console keyboard wanted to post scancode 57 outside of [0, 0]!”
for all key press and release.
But mouse is working fine.

Can anybody please give me some suggestions to troubleshoot this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:52:16+00:00Added an answer on June 14, 2026 at 2:52 pm

    Env: QEMU qemu-system-arm ver 1.2.0 on Ubuntu 12.10 host.
    Guest: kernel 3.2.21

    Emulated board: ARMv7l Verstatile Express

    Root filesystem with X support, etc built using Buildroot ver 12.08; TinyX X server.

    Ran qemu with:

    /usr/bin/qemu-system-arm -M vexpress-a9 -kernel <kernel> -drive file=<rootfs-ext2-img>,if=sd -append "console=ttyAMA0,115200 root=/dev/mmcblk0 init=/myinit.sh" -serial stdio -net nic,model=lan9118 -net user
    

    Once the guest is running, we have a console window and a graphical qemu window (which is empty to start with).

    In the guest console window:
    Start X:

    Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse evdev,,device=/dev/input/event1 &
    

    Then load up xterm, etc.

    I use a simple script, here it is:

    # cat Xstart.sh 
    #!/bin/ash
    unset USERNAME LOGNAME
    
    echo Setting up X server ..
    # kill any stale instance
    kill $(ps |grep Xfb|head -n1|awk '{print $1}') 2> /dev/null
    export DISPLAY=:0
    
    # How to determine 'mouse' dev?
    # dmesg shows :
    # input: AT Raw Set 2 keyboard as /devices/mb:kmi0/serio0/input/input0
    # input: ImExPS/2 Generic Explorer Mouse as /devices/mb:kmi1/serio1/input/input1
    # QEMU_ARM_BR / # ls /sys//devices/mb:kmi1/serio1/input/input1
    # capabilities/ id/           name          properties    uniq
    # device@       modalias      phys          subsystem@
    # event1/       mouse0/       power/        uevent
    # Can see the only 'event' file is 'event1', so we use it!
    
    Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse evdev,,device=/dev/input/event1 &
    
    sleep 1
    echo "Running fluxbox & xterm .."
    DISPLAY=:0 xterm 2> /dev/null &
    DISPLAY=:0 fluxbox 2> /dev/null &
    
    echo "### Please wait a bit for X to initialize & come up ... ###"
    sleep 3
    echo "Press [Enter] to use this console..."
    read
    
    # 
    

    Notice the hint on how to determine mouse, keyboard device: look up dmesg output..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have compiled my preload file on Ubuntu server (two files for x32 and
I have compiled and created .WAR file of my java code. then i started
I have compiled a .NET application using Any CPU option. This .NET application uses
I have compiled opencv on snow leopard and it says it compiled correctly, however
I have compiled a simple win32 app successfully with bc++ (2 lines excerpt only):
I have compiled the NTL inifite precision integer arithmetic library for c++, using Microsoft
I have compiled my application on Linux (Intel) machine using this command gcc –g
I have compiled an Ada program on Ubuntu using GNAT. Afterwards, I tried a
I have compiled this using Visual Studio 2010 compiler and it has compiler error
I have compiled part of boost - the ibeta_inv function - into a .Net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.