Disabling Keyboard shortcuts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disabling Keyboard shortcuts

474 Views
abhaykumar_sing
Contributor I

Hi,

We are using IMX6 quadcore with Yocto and framebuffer distro.
We are building an application on top of our kernel, wherein there are certain keycodes (shortcut keys) for USB keyboard in the kernel driver which are causing our application to shutdown, So how should we disable those keycodes in the kernel device drivers.
I have already tried changing the values to 0 in the input_events.h  but it doesn't work .

0 Kudos
Reply
1 Reply

438 Views
b36401
NXP Employee
NXP Employee

You can disable shortcut keys with command like this:

root@imx7dsabresd:~# echo 0 > /proc/sys/kernel/sysrq
root@imx7dsabresd:~#

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply