Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5 (eglfs): cannot access mouse & keyboard on embedded Debian Linux
QtWS25 Last Chance

Qt5 (eglfs): cannot access mouse & keyboard on embedded Debian Linux

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Morix Dev
    wrote on last edited by
    #1

    I am currently working on BeagleBone Black running Debian (I followed "these":http://elinux.org/BeagleBoardDebian instructions). I cross compiled Qt 5.3.0 and I am running on EGLFS platform.

    Everything is fine except that I cannot make use of mouse and keyboard in my application. If I launch my application as a "normal" user then I obtain this output:

    bq. Cannot open keyboard input device '/dev/input/event1': Permission denied
    Failed to open keyboard
    Cannot open mouse input device '/dev/input/event0': Permission denied
    Failed to open mouse

    then the application starts and works fine but I cannot interact with it due to this problem.

    Instead if I launch the application as root then everything is fine... So I guess that I have some permission problem on my user... what should I check?

    /Morix

    1 Reply Last reply
    0
    • M Offline
      M Offline
      messi
      wrote on last edited by
      #2

      Which is the owner and which is the name of the group of /dev/input/event1?

      You can change the permission of /dev/input/event temporary and check if you can start your app as user.

      If this works then you have to find out if the input node are static or dynamically created.

      If dynamically created you have to find who and where the nodes are created. change the permissions there.

      Best regards

      Juergen

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved