https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255132
Bug ID: 255132
Summary: ACPI: different function key maps to same devd notify
code
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Hi!
On my laptop, a Lenovo T490 I have observed that two function keys map to an
identical notify code, this makes it hard to separately map to actions with a
notify match script. The keys in question are located on F5 (brightness up),
and F12 (favorites).
[/usr/local/sbin]$ cat /var/run/devd.pipe
**press brightness down (F5)**
!system=ACPI subsystem=Video type=brightness notify=14
!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPCB.EC__.HKEY notify=0x11
**press favorites key (F12)**
!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPCB.EC__.HKEY notify=0x11
**press brighntess down (F5)**
!system=ACPI subsystem=Video type=brightness notify=13
!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPCB.EC__.HKEY notify=0x11
**press favorites key (F12)**
!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPCB.EC__.HKEY notify=0x11
is there any way that I can distinguish on the key presses to map to different
actions?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"