Disabling Keyboard shortcuts

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Disabling Keyboard shortcuts

969 次查看
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 项奖励
回复
1 回复

933 次查看
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 项奖励
回复