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 6937379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:21:19+00:00 2026-05-27T12:21:19+00:00

I have Qt Embedded 4.7.4 working on an ARM system, in order to display

  • 0

I have Qt Embedded 4.7.4 working on an ARM system, in order to display graphics application on a touchscreen. Everything works pretty good with tslib and framebuffer, no problem concerning the display and the touchscreen.

But I would also like to be able to use an USB Keyboard to find my way through the application. I already have a keyboard linked to my ARM system, that works great. Its driver is a basic tty driver, I can read the information I typed by reading /dev/tty0

So I thought Qt would be able to do the same, by exporting QWS_KEYBOARD=/dev/tty0 ; I tryed many things but nothing seems to work. Qt doesn’t detect any events ; I tried another thing, ’cause I saw that my keyboard events were also send to /dev/event1. So I export QWS_KEYBOARD=TTY:/dev/event1 and this time Qt detected some inputs. But they are not good, in fact there is all the time inputs even if I don’t press any key.

Do you have any idea ? Maybe the reason is that /dev/tty0 has a buffer, and this unable Qt to work?

  • 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-05-27T12:21:20+00:00Added an answer on May 27, 2026 at 12:21 pm

    I faced a similar problem today, albeit with an Intel Atom processor. My linux distribution is ptxdist. I noticed that plugging in a USB keyboard creates two event* entries in /dev/input and only one of them yielded useful input. Using udevadm, I figured out that they differ slightly in their attribute fields, so that I could find the right one. My udev rule boils down to

    KERNEL=="event*", SUBSYSTEM=="input", ATTRS{bInterfaceNumber}=="00", ATTRS{bInterfaceClass}=="03", SYMLINK+="keyboard"
    

    which creates a symlink /dev/keyboard to the correct device. To use this device, I used

    export QWS_KEYBOARD=LinuxInput:/dev/keyboard
    

    which works for me.

    Hope this helps…

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

Sidebar

Related Questions

I am working on an embedded C project. I have an LCD display and
I have a Flex application embedded in a Flash application, which was working fine
I have a working Spring MVC application(doing everything I wanted when deployed to jboss)
I am working on an ASP.NET application where I have 3 user controls embedded
I'm working on a Silverlight 4 application. I have a TM symbol embedded in
I am working on an embedded system (ARM Cortex M3) where I do not
Recently I've been working on some embedded devices, where we have some structs and
I have embedded an IronPython engine in a C# application. I want to expose
I have an embedded system running a busybox distribution and for some reason i
I'm working in an embedded Linux environment and I have some Python code which

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.