Contribute
Register

Certain function keys not working on T480

Status
Not open for further replies.
Joined
Mar 6, 2019
Messages
14
Motherboard
Thinkpad T480-Clover
CPU
i5-8250U
Graphics
UHD 620, 1920x1080
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi there,

I'm new to Hackintosh and used Maemo's EFI in the process.

Out of the box, the sound and brightness keys (also Fn keys) work but any other function key seems to be irresponsive (pressing Fn + Fn1-12 is detected however).
I've tried logging the keystrokes using the debug version of VoodooPs2Controller.kext and ACPIDebug.kext but none of them are showing any response.

I've verified that RMDT is installed by running 'patchmatic -extract', decompiling using iasl, and verifying that the following piece of code exists:
Code:
Device (RMDT)
    {
        Name (_HID, "RMD0000")  // _HID: Hardware ID
        Name (RING, Package (0x0100){})
        Mutex (RTMX, 0x00)
        Name (HEAD, Zero)
        Name (TAIL, Zero)
        Method (PUSH, 1, NotSerialized)
        {
            Acquire (RTMX, 0xFFFF)
            Add (HEAD, One, Local0)
            If (LGreaterEqual (Local0, SizeOf (RING)))
            {
                Store (Zero, Local0)
            }

            If (LNotEqual (Local0, TAIL))
            {
                Store (Arg0, Index (RING, HEAD))
                Store (Local0, HEAD)
            }

            Release (RTMX)
            Notify (RMDT, 0x80)
        }

        .
        .
        .

        Method (P7, 7, Serialized)
        {
            Name (TEMP, Package (0x07){})
            Store (Arg0, Index (TEMP, Zero))
            Store (Arg1, Index (TEMP, One))
            Store (Arg2, Index (TEMP, 0x02))
            Store (Arg3, Index (TEMP, 0x03))
            Store (Arg4, Index (TEMP, 0x04))
            Store (Arg5, Index (TEMP, 0x05))
            Store (Arg6, Index (TEMP, 0x06))
            PUSH (TEMP)
        }
    }

VoodooPs2Controller logs all other keystrokes including brightness/volume controls, and ACPIDebug was confirmed to be running using 'ioreg'.

Results aren't shown in Console or in Terminal when I use the 'log' command.

Clover folder is attached below. Any help would be greatly appreciated!
 

Attachments

  • debug_18097.zip
    1.8 MB · Views: 163
Last edited:
Hi there,

I'm new to Hackintosh and used Maemo's EFI in the process.

Out of the box, the sound and brightness keys (also Fn keys) work but any other function key seems to be irresponsive (pressing Fn + Fn1-12 is detected however).
I've tried logging the keystrokes using the debug version of VoodooPs2Controller.kext and ACPIDebug.kext but none of them are showing any response.

I've verified that RMDT is installed by running 'patchmatic -extract', decompiling using iasl, and verifying that the following piece of code exists:
Code:
Device (RMDT)
    {
        Name (_HID, "RMD0000")  // _HID: Hardware ID
        Name (RING, Package (0x0100){})
        Mutex (RTMX, 0x00)
        Name (HEAD, Zero)
        Name (TAIL, Zero)
        Method (PUSH, 1, NotSerialized)
        {
            Acquire (RTMX, 0xFFFF)
            Add (HEAD, One, Local0)
            If (LGreaterEqual (Local0, SizeOf (RING)))
            {
                Store (Zero, Local0)
            }

            If (LNotEqual (Local0, TAIL))
            {
                Store (Arg0, Index (RING, HEAD))
                Store (Local0, HEAD)
            }

            Release (RTMX)
            Notify (RMDT, 0x80)
        }

        .
        .
        .

        Method (P7, 7, Serialized)
        {
            Name (TEMP, Package (0x07){})
            Store (Arg0, Index (TEMP, Zero))
            Store (Arg1, Index (TEMP, One))
            Store (Arg2, Index (TEMP, 0x02))
            Store (Arg3, Index (TEMP, 0x03))
            Store (Arg4, Index (TEMP, 0x04))
            Store (Arg5, Index (TEMP, 0x05))
            Store (Arg6, Index (TEMP, 0x06))
            PUSH (TEMP)
        }
    }

VoodooPs2Controller logs all other keystrokes including brightness/volume controls, and ACPIDebug was confirmed to be running using 'ioreg'.

Results aren't shown in Console or in Terminal when I use the 'log' command.

Clover folder is attached below. Any help would be greatly appreciated!
As per rules, please update your hardware profile to allow others to help you easier

please read the faq for proper hardware profile setup:
 
Hi there,

I'm new to Hackintosh and used Maemo's EFI in the process.

Out of the box, the sound and brightness keys (also Fn keys) work but any other function key seems to be irresponsive (pressing Fn + Fn1-12 is detected however).
I've tried logging the keystrokes using the debug version of VoodooPs2Controller.kext and ACPIDebug.kext but none of them are showing any response.

I've verified that RMDT is installed by running 'patchmatic -extract', decompiling using iasl, and verifying that the following piece of code exists:
Code:
Device (RMDT)
    {
        Name (_HID, "RMD0000")  // _HID: Hardware ID
        Name (RING, Package (0x0100){})
        Mutex (RTMX, 0x00)
        Name (HEAD, Zero)
        Name (TAIL, Zero)
        Method (PUSH, 1, NotSerialized)
        {
            Acquire (RTMX, 0xFFFF)
            Add (HEAD, One, Local0)
            If (LGreaterEqual (Local0, SizeOf (RING)))
            {
                Store (Zero, Local0)
            }

            If (LNotEqual (Local0, TAIL))
            {
                Store (Arg0, Index (RING, HEAD))
                Store (Local0, HEAD)
            }

            Release (RTMX)
            Notify (RMDT, 0x80)
        }

        .
        .
        .

        Method (P7, 7, Serialized)
        {
            Name (TEMP, Package (0x07){})
            Store (Arg0, Index (TEMP, Zero))
            Store (Arg1, Index (TEMP, One))
            Store (Arg2, Index (TEMP, 0x02))
            Store (Arg3, Index (TEMP, 0x03))
            Store (Arg4, Index (TEMP, 0x04))
            Store (Arg5, Index (TEMP, 0x05))
            Store (Arg6, Index (TEMP, 0x06))
            PUSH (TEMP)
        }
    }

VoodooPs2Controller logs all other keystrokes including brightness/volume controls, and ACPIDebug was confirmed to be running using 'ioreg'.

Results aren't shown in Console or in Terminal when I use the 'log' command.

Clover folder is attached below. Any help would be greatly appreciated!

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Post has been updated with debug files. Sorry about that!
 
Post has been updated with debug files. Sorry about that!
your kexts should be installed to /Library/Extensions/

config.plist
InjectKexts should be set to Detect
 
your kexts should be installed to /Library/Extensions/

config.plist
InjectKexts should be set to Detect

Hi,
I followed your instructions and my computer can’t boot up now due a kernel panic... how do I move the files back to S/L/E when single user and recover mode result in a boot loop?
 
Nevermind, seems to be caused by a completely unrelated issue. I fixed it by booting from USB -- here is the debug file after installing kexts to /L/E and changing InjectKexts to Detect
 

Attachments

  • debug_23601.zip
    5.2 MB · Views: 187
Nevermind, seems to be caused by a completely unrelated issue. I fixed it by booting from USB -- here is the debug file after installing kexts to /L/E and changing InjectKexts to Detect
you should check your kextcache output:
Code:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e710e8f0 [0x7fff845978e0]> { URL = "BrcmPatchRAM2.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e540f680 [0x7fff845978e0]> { URL = "BrcmFirmwareData.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e71015f0 [0x7fff845978e0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e56ee8e0 [0x7fff845978e0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e56d48e0 [0x7fff845978e0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e56b9480 [0x7fff845978e0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e56b7770 [0x7fff845978e0]> { URL = "VirtualSMC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.VirtualSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e5412bb0 [0x7fff845978e0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fc3e5699a60 [0x7fff845978e0]> { URL = "ACPIDebug.kext/ -- file:///Library/Extensions/", ID = "com.rehabman.driver.ACPIDebug" }
ACPIDebug.kext does not authenticate; omitting.
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e562bf70 [0x7fff845978e0]> { URL = "USBInjectAll.kext/ -- file:///Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e562abb0 [0x7fff845978e0]> { URL = "BT4LEContiunityFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.BT4LEContiunityFixup" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fc3e5618470 [0x7fff845978e0]> { URL = "SMCProcessor.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.SMCProcessor" }
SMCProcessor.kext does not authenticate; omitting.
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fc3e5623790 [0x7fff845978e0]> { URL = "VoltageShift.kext/ -- file:///Library/Extensions/", ID = "com.sicreative.VoltageShift" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fc3e5620140 [0x7fff845978e0]> { URL = "SMCBatteryManager.kext/ -- file:///Library/Extensions/", ID = "ru.usrsse2.SMCBatteryManager" }
SMCBatteryManager.kext does not authenticate; omitting.
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e560acd0 [0x7fff845978e0]> { URL = "WhateverGreen.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.WhateverGreen" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e561cf30 [0x7fff845978e0]> { URL = "IntelMausiEthernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.IntelMausiEthernet" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fc3e6e890b0 [0x7fff845978e0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
AppleALC.kext does not authenticate; omitting.
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e6e84e90 [0x7fff845978e0]> { URL = "NoTouchID.kext/ -- file:///Library/Extensions/", ID = "xyz.racermaster.NoTouchID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e5609660 [0x7fff845978e0]> { URL = "AppleBacklightFixup.kext/ -- file:///Library/Extensions/", ID = "com.hieplpvip.AppleBacklightFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc3e699e9d0 [0x7fff845978e0]> { URL = "AppleBacklightFixup.kext/ -- file:///System/Library/Extensions/", ID = "com.hieplpvip.AppleBacklightFixup" }
KernelCache ID: 27C6A96213A61B8BF44D02D4AA2ADAAD
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb0fadf8d0 [0x7fff845978e0]> { URL = "AppleBacklightFixup.kext/ -- file:///System/Library/Extensions/", ID = "com.hieplpvip.AppleBacklightFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb0ffbe260 [0x7fff845978e0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb0ffc00e0 [0x7fff845978e0]> { URL = "BrcmFirmwareData.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb0ffc25a0 [0x7fff845978e0]> { URL = "NoTouchID.kext/ -- file:///Library/Extensions/", ID = "xyz.racermaster.NoTouchID" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fdb0ffc4600 [0x7fff845978e0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb0fff5e60 [0x7fff845978e0]> { URL = "IntelMausiEthernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.IntelMausiEthernet" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb1085aba0 [0x7fff845978e0]> { URL = "WhateverGreen.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.WhateverGreen" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fdb10847f50 [0x7fff845978e0]> { URL = "SMCBatteryManager.kext/ -- file:///Library/Extensions/", ID = "ru.usrsse2.SMCBatteryManager" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fdb10850890 [0x7fff845978e0]> { URL = "VoltageShift.kext/ -- file:///Library/Extensions/", ID = "com.sicreative.VoltageShift" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fdb10859ad0 [0x7fff845978e0]> { URL = "SMCProcessor.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.SMCProcessor" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb1085dd70 [0x7fff845978e0]> { URL = "BT4LEContiunityFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.BT4LEContiunityFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb10860920 [0x7fff845978e0]> { URL = "USBInjectAll.kext/ -- file:///Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb108597c0 [0x7fff845978e0]> { URL = "AppleBacklightFixup.kext/ -- file:///Library/Extensions/", ID = "com.hieplpvip.AppleBacklightFixup" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fdb108d17e0 [0x7fff845978e0]> { URL = "ACPIDebug.kext/ -- file:///Library/Extensions/", ID = "com.rehabman.driver.ACPIDebug" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb108eed30 [0x7fff845978e0]> { URL = "VirtualSMC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.VirtualSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb1092a5e0 [0x7fff845978e0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb108f2240 [0x7fff845978e0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb10910b00 [0x7fff845978e0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb10936c80 [0x7fff845978e0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdb10946f90 [0x7fff845978e0]> { URL = "BrcmPatchRAM2.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
they need to be installed correctly (kexts rejected....)
 
Okay, all kexts should be installed correctly now, but still no output in Console or using the 'log show' command. Apologies for all my newbie errors :p
 

Attachments

  • debug_23469.zip
    5.4 MB · Views: 169
Status
Not open for further replies.
Back
Top