Disabling Keyboard shortcuts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Disabling Keyboard shortcuts

964件の閲覧回数
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 返信

928件の閲覧回数
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 件の賞賛
返信