Re: Side effect of pressing special keys

From
Pali Rohár <hidden>
Date
2014-12-03 12:46:19
Also in
lkml, platform-driver-x86
Reply to
Pavel Machek, 2014-12-03
On Wednesday 03 December 2014 13:40:42 Pavel Machek wrote:
On Sun 2014-11-23 14:41:17, Pali Rohár wrote:
quoted
Hello,

pressing some keys on laptops could cause some side effects.

Example scenario 1:

Laptop has Fn key for enabling/disabling WIFI and when that
key is pressed BIOS is doing two things:

1) Switch hard rfkill state of WIFI
2) Report that Fn key was pressed to kernel

   (either via i8042 bus or via ACPI/WMI)
We should not really report that as a "key" to userspace. We
might want to report that rfkill state changed....
							Pavel
Ok, and what about KEY_KBDILLUMTOGGLE when bios also handle 
keyboard backlight level? Should be this key filtered too?

-- 
Pali Rohár
pali.rohar@gmail.com

Attachments

Thread (7 messages) 7 messages, 4 authors, last reply 2014-12-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help