LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How can I modify kernel for function key in laptop? (https://www.linuxquestions.org/questions/linux-hardware-18/how-can-i-modify-kernel-for-function-key-in-laptop-4175540721/)

chaoxifer 04-25-2015 12:05 PM

How can I modify kernel for function key in laptop?
 
Hello guys,

I'm looking for how can I add function key keycodes / scancodes.

In linux, I can only use few of function keys of my laptop. So, I'm looking for methods to use other function keys.

In 'xev', no scancodes represent for those function keys. Instead, when I typed those keys in 'acpi_listen', some of the keys work.

In that case, I want to know what problem is. If the problem is related to kernel, what is part that I should modify?


Thank you.

frankbell 04-25-2015 09:38 PM

What distro/version is the one in question?

A web search for "keymap [distro name]" might turn up useful information.

chaoxifer 04-27-2015 11:04 AM

I'm using Arch Linux.

Is scancode related to keymap? Then, what about fn key combination?

I found information that it needs to use keyboard driver to use fn key properly.

DavidMcCann 04-27-2015 11:25 AM

The keyboard driver translates the scancode received from the keyboard into a character or action. If you're talking about the Fn key, then that cannot be accessed by Linux. The particular combinations using it are handled by the keyboard circuitry, which outputs a scancode when it's appropriate. Either way, the kernel isn't involved.

What exactly are you having a problem with?

chaoxifer 04-27-2015 11:19 PM

Thank you very much, DavidMcCann.

Now I can understand why Linux kernel cannot suppport fn key of my laptop.


All times are GMT -5. The time now is 08:18 AM.