Contribute
Register

[Guide] Lenovo ThinkPad L440 (v3.0)

Status
Not open for further replies.
Joined
Mar 8, 2017
Messages
763
Motherboard
Dell XPS 9700 4K (OpenCore)
CPU
i7-10875H
Graphics
UHD 630, 3840x2400
Mobile Phone
  1. Android
Code:
# _Q1D (Fn+F5) Brightness Down
into method label _Q1D replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0405)\n Notify(\_SB.PCI0.LPCB.KBD, 0x0485)\n end;

# _Q1C (Fn+F6) Brightness Up
into method label _Q1C replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0406)\n Notify(\_SB.PCI0.LPCB.KBD, 0x0486)\n
end;

# _Q28 (Fn+F4) Microphone Mute - Mapped to Siri
into method label _Q28 replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0368)\n Notify(\_SB.PCI0.LPCB.KBD, 0x3e8)\n end;

# _Q19 (Fn+F7) Projector / Mirror mode
into method label _Q19 replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x046e)\n Notify(\_SB.PCI0.LPCB.KBD, 0x04ee)\n end;

# _Q2A (Fn+F8) Wireless ON/OFF - Mapped to Notification Center
into method label _Q2A replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0369)\n Notify(\_SB.PCI0.LPCB.KBD, 0x03e9)\n end;

# _Q66 (Fn+F9) Settings - Mapped to System Preferences
into method label _Q66 replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0364)\n Notify(\_SB.PCI0.LPCB.KBD, 0x03e4)\n end;
# _Q67 (Fn+F10) Windows Search (Cortana) - Mapped to Spotlight Search
into method label _Q67 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x036A)\n Notify(\_SB.PCI0.LPCB.KBD, 0x03eA)\n end;

# _Q68 (Fn+F11) Alt + Tab Menu - Disabled
into method label _Q68 replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x036B)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x03eB)\n end;

# _Q69 (Fn+F12) Start Menu - Mapped to LaunchPad
into method label _Q69 replace_content begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0367)\n Notify(\_SB.PCI0.LPCB.KBD, 0x03e7)\n end;

I hope that I haven't just missed it somewhere in here already, but is there a list of all possible codes, the KBD-Device could be notified with?

Read somewhere that they use this for parsing the keycodes within the kernel: https://opensource.apple.com/source...DSystem/IOKit/hidsystem/ev_keymap.h.auto.html

Only thing is that 1. of all the mask-part 0x40 is not within all of the above codes, which should be for special-keys, and secondly, there are 24 keys defined within that header, but none of the codes provided here would match this length of three bytes.

=> There has to be some magic happening between this Notify-instruction, and the kernel actually parsing the message. Is there any documentation on this? People just throw around codes, never providing any sources tho.
 
Status
Not open for further replies.
Top