Contribute
Register

LG GRAM 17Z990 Big Sur

Status
Not open for further replies.
A little bit more into my touchpad problem:
I would say I have my DSDT correctly patched, as long as It worked with Mojave.
Did the patching changed from Mojave?

Now... when I try to load VoodooI2C.kext from a desktop folder (EFI's FAT32 cannot be used for security, I understand) here it comes the error:

sudo kextutil -v 6 ./VoodooI2C.kext
Kext user-space log filter changed from 0xff2 to 0xfff.
Kext kernel-space log filter changed from 0xff2 to 0xfff.
Kext library architecture set to x86_64.
Can't stat /AppleInternal - No such file or directory.
Defaulting to kernel file '/System/Library/Kernels/kernel'
Executing: /usr/bin/kmutil load --bundle-path /Users/eduardp/Desktop/esborram/VoodooI2C.kext
Error Domain=KMErrorDomain Code=31 "Error occurred while building a collection:
1: One or more binaries has an error which prevented linking. See other errors.
2: Could not use 'com.alexandred.VoodooI2C' because: Failed to bind '__ZN11IOHIDDevice22_RESERVEDIOHIDDevice12Ev' as could not find a kext with 'com.alexandred.VoodooI2CServices' bundle-id
com.alexandred.VoodooI2C specific:
1: Failed to bind '__ZN11IOHIDDevice22_RESERVEDIOHIDDevice12Ev' as could not find a kext with 'com.alexandred.VoodooI2CServices' bundle-id
" UserInfo={NSLocalizedDescription=Error occurred while building a collection:
1: One or more binaries has an error which prevented linking. See other errors.
2: Could not use 'com.alexandred.VoodooI2C' because: Failed to bind '__ZN11IOHIDDevice22_RESERVEDIOHIDDevice12Ev' as could not find a kext with 'com.alexandred.VoodooI2CServices' bundle-id
com.alexandred.VoodooI2C specific:
1: Failed to bind '__ZN11IOHIDDevice22_RESERVEDIOHIDDevice12Ev' as could not find a kext with 'com.alexandred.VoodooI2CServices' bundle-id
}


sudo kextlibs -undef-symbols VoodooI2C.kext
Password:
For all architectures:
com.apple.iokit.IOACPIFamily = 1.4
com.apple.iokit.IOHIDFamily = 2.0
com.apple.iokit.IOPCIFamily = 2.9
com.apple.kpi.iokit = 20.4
com.apple.kpi.libkern = 20.4
com.apple.kpi.mach = 20.4

For x86_64:
6 symbols not found in any library kext:
__ZN11IOHIDDevice22_RESERVEDIOHIDDevice13Ev
__ZN11IOHIDDevice22_RESERVEDIOHIDDevice12Ev
__ZN10VoodooGPIO9metaClassE
__ZN11IOHIDDevice22_RESERVEDIOHIDDevice15Ev
__ZN11IOHIDDevice22_RESERVEDIOHIDDevice14Ev
__ZN10VoodooGPIO22setInterruptTypeForPinEii

I find almost nothing on the internet regarding __ZN11IOHIDDevice22_RESERVEDIOHIDDevice12Ev

so I must assume my problem is not common.

The kernel extension loader works somehow. Before I try to load VoodooI2C.kext the system shows:

sudo kextstat|grep 'Voodoo'
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
52 0 0 0xb000 0xb000 com.alexandred.VoodooI2CServices (1) DBFA5EBE-2783-30ED-8E39-5829C42D6832 <5 3>

And after failing to load it says:

sudo kextstat|grep 'Voodoo'
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
52 0 0 0xb000 0xb000 com.alexandred.VoodooI2CServices (1) DBFA5EBE-2783-30ED-8E39-5829C42D6832 <5 3>
158 0 0 0x19000 0x19000 me.kishorprins.VoodooInput (1.1.1) 2DBFF028-3A8F-37C9-A5D7-B435F5AA516F <54 6 5 3>
159 0 0xffffff7f9c23d000 0x5000 0x5000 org.coolstar.VoodooGPIO (1.1) 7ED39A4D-2EFD-35AE-9BC6-6215C17D93F1 <13 6 5 3>
So some things have been loaded.

Now, my only clue is that somewere I saw something related to System Integrity Protection. I have it disabled:

csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
Apple Internal: disabled
Kext Signing: disabled
Filesystem Protections: disabled
Debugging Restrictions: disabled
DTrace Restrictions: disabled
NVRAM Protections: disabled
BaseSystem Verification: disabled

This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.

Let's see what happens if I turn it on. Not sure if it makes any sense, but I am clueless.
 
After lots and lots of reading I ended up following the path of the guy that made the EFI for Mojave.
As long as I've seen, our touchpad does not work like others and we don't need to calculate any pin number.
The device is named TPD0, the correct pin is 0x0000 for whatever reason, and then _CRS method must return
Return (ConcatenateResTemplate (I2CM (I2CX, BADR, SPED), SBFG))

That makes the touchpad work. At least for some time.

Right now, my EFI runs "ok". It boots Big Sur and sometimes the touchpad works. Wifi bluetooth, usb, ps2 mouses and audio work.

Sometimes the system does not boot. It likes to hung while loading PS2 stuff and other times there is a loop while loading wifi related stuff.

So, it only works sometimes. Yet, I guess the problem may be related with interrupts or something and someone can make it work once you find the problem.

Right now Battery does not work but it worked some days ago...

I attach my EFI in case someone wanna follow.
Any help will be highly appreciated.
 

Attachments

  • EFI.zip
    40.3 MB · Views: 67
After lots and lots of reading I ended up following the path of the guy that made the EFI for Mojave.
As long as I've seen, our touchpad does not work like others and we don't need to calculate any pin number.
The device is named TPD0, the correct pin is 0x0000 for whatever reason, and then _CRS method must return
Return (ConcatenateResTemplate (I2CM (I2CX, BADR, SPED), SBFG))

That makes the touchpad work. At least for some time.

Right now, my EFI runs "ok". It boots Big Sur and sometimes the touchpad works. Wifi bluetooth, usb, ps2 mouses and audio work.

Sometimes the system does not boot. It likes to hung while loading PS2 stuff and other times there is a loop while loading wifi related stuff.

So, it only works sometimes. Yet, I guess the problem may be related with interrupts or something and someone can make it work once you find the problem.

Right now Battery does not work but it worked some days ago...

I attach my EFI in case someone wanna follow.
Any help will be highly appreciated.
nope... too vague a profile:

Screenshot 2021-05-15 223829.jpg
 
A little bit more into my touchpad problem:
I would say I have my DSDT correctly patched, as long as It worked with Mojave.
Did the patching changed from Mojave?

Now... when I try to load VoodooI2C.kext from a desktop folder (EFI's FAT32 cannot be used for security, I understand) here it comes the error:






I find almost nothing on the internet regarding __ZN11IOHIDDevice22_RESERVEDIOHIDDevice12Ev

so I must assume my problem is not common.

The kernel extension loader works somehow. Before I try to load VoodooI2C.kext the system shows:



And after failing to load it says:


So some things have been loaded.

Now, my only clue is that somewere I saw something related to System Integrity Protection. I have it disabled:



Let's see what happens if I turn it on. Not sure if it makes any sense, but I am clueless.
Sorry I didn't tell but all those problems got solved when I told config.plist to unload Voodo related kexts and then loading them again. I resolved kextcache was not being called correctly and that is why different extensions kept warning about other incompatible siblins.
Anyway, that is only a suposition but the problem solved by itself.
 
Battery Indicator works now after patching.

I have patched DSDT for battery and it works now.

The only thing left (that I can see) is trackpad not working most times.

The trackpad kexts seem to be loaded:

sudo kextstat|grep 'oodoo'
Password:
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
52 1 0 0xb000 0xb000 com.alexandred.VoodooI2CServices (1) DBFA5EBE-2783-30ED-8E39-5829C42D6832 <5 3>
64 1 0 0x27000 0x27000 org.coolstar.VoodooGPIO (1.1) 7ED39A4D-2EFD-35AE-9BC6-6215C17D93F1 <13 6 5 3>
67 1 0 0x19000 0x19000 as.acidanthera.voodoo.driver.PS2Controller (2.1.6) B2B40368-4D21-3702-97A9-9E1F01112B3C <13 8 6 5 3 1>
73 1 0 0x3b000 0x3b000 com.alexandred.VoodooI2C (2.6.5) 748C2CC2-07FD-3FD5-8E86-874C73317356 <64 54 52 14 13 6 5 3 1>
101 0 0 0xd000 0xd000 as.acidanthera.voodoo.driver.PS2Keyboard (2.1.6) CE5D8919-D86C-376A-A038-78431E09D5F4 <67 54 8 6 5 3 1>
102 0 0 0x34000 0x34000 com.alexandred.VoodooI2CHID (1) 4DB3F9FC-39D6-3AB7-8962-7BC3E137019E <73 54 13 6 5 3>
109 0 0 0x19000 0x19000 me.kishorprins.VoodooInput (1.1.1) 2DBFF028-3A8F-37C9-A5D7-B435F5AA516F <54 6 5 3>



And I don't see any error in log that gives me a hint:

2021-05-17 20:09:24.271201+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.271646+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.271648+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.271650+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.783694+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:09:24.783816+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x100000455 (0x0)
2021-05-17 20:09:24.785424+0200 0x6f Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 close by IOHIDLibUserClient 0x100000455 (0x0)
2021-05-17 20:09:24.800963+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:25.918565+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:26.200953+0200 0x5cd Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:09:26.206852+0200 0x5cd Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooI2CHIDDevice:0x1000003b0 new user client
2021-05-17 20:09:26.210131+0200 0x5f8 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooI2CHIDDevice:0x1000003b0 open by IOHIDLibUserClient 0x10000046d (0x0)
2021-05-17 20:09:26.216621+0200 0x5f7 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x10000046b (0x0)
2021-05-17 20:09:26.844224+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext com.alexandred.VoodooI2C, v2.6.5: a loaded copy is already present (same version and executable).
2021-05-17 20:09:26.865964+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext org.coolstar.VoodooGPIO, v1.1: a loaded copy is already present (same version and executable).
2021-05-17 20:09:26.887438+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext com.alexandred.VoodooI2CServices, v1.0: a loaded copy is already present (same version and executable).
2021-05-17 20:09:26.909991+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext me.kishorprins.VoodooInput, v1.1.1: a loaded copy is already present (same version and executable).
2021-05-17 20:09:27.049650+0200 0x61c Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.049657+0200 0x61c Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.100757+0200 0x616 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.100768+0200 0x616 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.192413+0200 0xc9 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.192477+0200 0xc9 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.340618+0200 0x614 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.340623+0200 0x614 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.564960+0200 0x694 Default 0x0 0 0 kernel: (VoodooInput) <private>
2021-05-17 20:09:27.565169+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 init
2021-05-17 20:09:27.565318+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 Start
2021-05-17 20:09:27.565633+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 NewUserClient type:0
2021-05-17 20:09:27.565634+0200 0x6d6 Default 0x0 0 0 kernel: (VoodooInput) <private>
2021-05-17 20:09:27.565651+0200 0x6db Default 0x0 0 0 kernel: (VoodooInput) <private>
2021-05-17 20:09:27.565697+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceUserClient 1.3.0 init
2021-05-17 20:09:27.565803+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceUserClient 1.3.0 Start
2021-05-17 20:09:27.565808+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 UserClient is created
2021-05-17 20:09:28.753149+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753157+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753162+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753172+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753179+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753182+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753187+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.780966+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.780974+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.780975+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.782301+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.782308+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.782313+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262446+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262454+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262458+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262464+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262470+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262473+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262476+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.280745+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.280756+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.280756+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.282052+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.282057+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.282060+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.950121+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:41.006623+0200 0x98a Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:09:41.006778+0200 0x98a Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x1000005cc (0x0)
2021-05-17 20:09:41.006900+0200 0x98a Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 close by IOHIDLibUserClient 0x1000005cc (0x0)
2021-05-17 20:10:07.696201+0200 0x1344 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:10:07.696317+0200 0x1344 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x1000006b3 (0x0)
2021-05-17 20:10:07.697040+0200 0x6f Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 close by IOHIDLibUserClient 0x1000006b3 (0x0)
2021-05-17 20:10:09.065708+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:10:09.070640+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooI2CHIDDevice:0x1000003b0 new user client


Given the fact that the trackpad works every now and then, I must assume DSDT is correctly patched...

Any help will be highly appreciated. I atach my working EFI with battery.

PS: Given the fact that the boot process hangs every now and then and in a couple of different consistent steps I would guess my problem is related to interrupts and how are devices taking control of them depending on how fast do I choose boot options. Yet I have no idea.

PS2: Trackpad IS SHOWN in preferences, with gestures configuration and all.
 

Attachments

  • EFI 20210517 WithBattery.zip
    39 MB · Views: 53
Last edited:
Battery Indicator works now after patching.

I have patched DSDT for battery and it works now.

The only thing left (that I can see) is trackpad not working most times.

The trackpad kexts seem to be loaded:

sudo kextstat|grep 'oodoo'
Password:
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
52 1 0 0xb000 0xb000 com.alexandred.VoodooI2CServices (1) DBFA5EBE-2783-30ED-8E39-5829C42D6832 <5 3>
64 1 0 0x27000 0x27000 org.coolstar.VoodooGPIO (1.1) 7ED39A4D-2EFD-35AE-9BC6-6215C17D93F1 <13 6 5 3>
67 1 0 0x19000 0x19000 as.acidanthera.voodoo.driver.PS2Controller (2.1.6) B2B40368-4D21-3702-97A9-9E1F01112B3C <13 8 6 5 3 1>
73 1 0 0x3b000 0x3b000 com.alexandred.VoodooI2C (2.6.5) 748C2CC2-07FD-3FD5-8E86-874C73317356 <64 54 52 14 13 6 5 3 1>
101 0 0 0xd000 0xd000 as.acidanthera.voodoo.driver.PS2Keyboard (2.1.6) CE5D8919-D86C-376A-A038-78431E09D5F4 <67 54 8 6 5 3 1>
102 0 0 0x34000 0x34000 com.alexandred.VoodooI2CHID (1) 4DB3F9FC-39D6-3AB7-8962-7BC3E137019E <73 54 13 6 5 3>
109 0 0 0x19000 0x19000 me.kishorprins.VoodooInput (1.1.1) 2DBFF028-3A8F-37C9-A5D7-B435F5AA516F <54 6 5 3>



And I don't see any error in log that gives me a hint:

2021-05-17 20:09:24.271201+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.271646+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.271648+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.271650+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:24.783694+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:09:24.783816+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x100000455 (0x0)
2021-05-17 20:09:24.785424+0200 0x6f Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 close by IOHIDLibUserClient 0x100000455 (0x0)
2021-05-17 20:09:24.800963+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:25.918565+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:26.200953+0200 0x5cd Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:09:26.206852+0200 0x5cd Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooI2CHIDDevice:0x1000003b0 new user client
2021-05-17 20:09:26.210131+0200 0x5f8 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooI2CHIDDevice:0x1000003b0 open by IOHIDLibUserClient 0x10000046d (0x0)
2021-05-17 20:09:26.216621+0200 0x5f7 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x10000046b (0x0)
2021-05-17 20:09:26.844224+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext com.alexandred.VoodooI2C, v2.6.5: a loaded copy is already present (same version and executable).
2021-05-17 20:09:26.865964+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext org.coolstar.VoodooGPIO, v1.1: a loaded copy is already present (same version and executable).
2021-05-17 20:09:26.887438+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext com.alexandred.VoodooI2CServices, v1.0: a loaded copy is already present (same version and executable).
2021-05-17 20:09:26.909991+0200 0x2b9 Default 0x0 0 0 kernel: Refusing new kext me.kishorprins.VoodooInput, v1.1.1: a loaded copy is already present (same version and executable).
2021-05-17 20:09:27.049650+0200 0x61c Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.049657+0200 0x61c Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.100757+0200 0x616 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.100768+0200 0x616 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.192413+0200 0xc9 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.192477+0200 0xc9 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.340618+0200 0x614 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.340623+0200 0x614 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:27.564960+0200 0x694 Default 0x0 0 0 kernel: (VoodooInput) <private>
2021-05-17 20:09:27.565169+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 init
2021-05-17 20:09:27.565318+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 Start
2021-05-17 20:09:27.565633+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 NewUserClient type:0
2021-05-17 20:09:27.565634+0200 0x6d6 Default 0x0 0 0 kernel: (VoodooInput) <private>
2021-05-17 20:09:27.565651+0200 0x6db Default 0x0 0 0 kernel: (VoodooInput) <private>
2021-05-17 20:09:27.565697+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceUserClient 1.3.0 init
2021-05-17 20:09:27.565803+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceUserClient 1.3.0 Start
2021-05-17 20:09:27.565808+0200 0x6d7 Default 0x0 0 0 kernel: (VoodooInput) Karabiner-DriverKit-VirtualHIDDeviceRoot 1.3.0 UserClient is created
2021-05-17 20:09:28.753149+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753157+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753162+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753172+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753179+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753182+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.753187+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.780966+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.780974+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.780975+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.782301+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.782308+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:28.782313+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262446+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262454+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262458+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262464+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262470+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262473+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.262476+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.280745+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.280756+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.280756+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.282052+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.282057+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.282060+0200 0x1a7 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:33.950121+0200 0x176 Default 0x0 0 0 kernel: (VoodooInput) <compose failure [UUID]>
2021-05-17 20:09:41.006623+0200 0x98a Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:09:41.006778+0200 0x98a Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x1000005cc (0x0)
2021-05-17 20:09:41.006900+0200 0x98a Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 close by IOHIDLibUserClient 0x1000005cc (0x0)
2021-05-17 20:10:07.696201+0200 0x1344 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:10:07.696317+0200 0x1344 Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 open by IOHIDLibUserClient 0x1000006b3 (0x0)
2021-05-17 20:10:07.697040+0200 0x6f Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 close by IOHIDLibUserClient 0x1000006b3 (0x0)
2021-05-17 20:10:09.065708+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooInputSimulatorDevice:0x100000412 new user client
2021-05-17 20:10:09.070640+0200 0x53c Debug 0x0 0 0 kernel: (IOHIDFamily) VoodooI2CHIDDevice:0x1000003b0 new user client


Given the fact that the trackpad works every now and then, I must assume DSDT is correctly patched...

Any help will be highly appreciated. I atach my working EFI with battery.

PS: Given the fact that the boot process hangs every now and then and in a couple of different consistent steps I would guess my problem is related to interrupts and how are devices taking control of them depending on how fast do I choose boot options. Yet I have no idea.

PS2: Trackpad IS SHOWN in preferences, with gestures configuration and all.
DSDT.aml shouldn't be used with OpenCore


this section:
Code:
<dict>
                <key>Base</key>
                <string></string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>change OSID to XSID (to avoid match against _OSI XOSI patch)</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>T1NJRA==</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>WFNJRA==</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data></data>
            </dict>
            <dict>
                <key>Base</key>
                <string></string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>change _OSI to XOSI</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X09TSQ==</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>WE9TSQ==</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data></data>
            </dict>

missing XOSI.aml

make sure VoodooPS2Controller and VoodooI2C kexts are listed in the correct order in your config.plist

try with only:
Code:
            <string>HfsPlus.efi</string>
            <string>OpenCanopy.efi</string>
            <string>OpenRuntime.efi</string>
 
DSDT.aml shouldn't be used with OpenCore


this section:
Code:
<dict>
                <key>Base</key>
                <string></string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>change OSID to XSID (to avoid match against _OSI XOSI patch)</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>T1NJRA==</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>WFNJRA==</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data></data>
            </dict>
            <dict>
                <key>Base</key>
                <string></string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>change _OSI to XOSI</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X09TSQ==</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>WE9TSQ==</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data></data>
            </dict>

missing XOSI.aml

make sure VoodooPS2Controller and VoodooI2C kexts are listed in the correct order in your config.plist

try with only:
Code:
            <string>HfsPlus.efi</string>
            <string>OpenCanopy.efi</string>
            <string>OpenRuntime.efi</string>
Thank you very much for your tips.
I followed all your tips and somehow It worked...
I must try some times more to see if the trackpad keeps working.

Some problems with your proposals:
I do have the os runing in apfs over an nmve disk, so I understand I cannot remove those drivers. I tried to remove the others but then keyboard wasn't working in OC so, by now i kept all drivers. Please, tell me if some of them are problematic or not.

The trackpad stopped working few seconds after boot up. I understand the problem now is with the drivers and not the OC and DSDT configuration.

I followed your instructions and run it without DSDT.am in OC config. Anyway, I must put it back because patching battery with ssdt is way too complicated for me.
What I will do is to apply only battery patch to a new DDST so it only is patched for battery.



Anyway, backlight at boot up keeps without working and that is a major drawback, any clue is wellcome.
 
Thank you very much for your tips.
I followed all your tips and somehow It worked...
I must try some times more to see if the trackpad keeps working.

Some problems with your proposals:
I do have the os runing in apfs over an nmve disk, so I understand I cannot remove those drivers. I tried to remove the others but then keyboard wasn't working in OC so, by now i kept all drivers. Please, tell me if some of them are problematic or not.

The trackpad stopped working few seconds after boot up. I understand the problem now is with the drivers and not the OC and DSDT configuration.

I followed your instructions and run it without DSDT.am in OC config. Anyway, I must put it back because patching battery with ssdt is way too complicated for me.
What I will do is to apply only battery patch to a new DDST so it only is patched for battery.



Anyway, backlight at boot up keeps without working and that is a major drawback, any clue is wellcome.
try adding ALS0.aml for backlight

may help with battery patching:
 
Thank you very much for your tips. I keep with the same problems and nothing I try seems to have any influence, always the same results.

a) I tried to add an ALS0.aml I found over the internet. I am not sure if that is the one i should use or if I need to tweak it someway. Did not help.

b) Most times I boot up the system it halts with a message:
ApplePS2Controller: Notification consumer published: ApplePS2Controller
ApplePS2Controller: Notification consumer published: ApplePS2Keyboard

...or it halts with a loop trying to load itlwm once and again until a forbidden signal appears at the center of the screen.

c) No backlight at boot up (that is the most anoying bug because it limits the times you can reboot to try to solve other problems).

d) No trackpad (it has been a long time since I saw it working for the last time.

At the EFI I attach, you can see the DSDT is heavily patched. The reason is that I was trying to be certain that patches were applied. One of the problems I have is that I have no idea how do I create OpenCore hot patches to DSDT. I understand they are direct binary substitutions, but I don't get how I can convert _CRS to XCRS only for a given device and not the others. As long as I find no info about what is the logic on it, I do have to patch the DSDT if I want the SSDT to apply.

I send you an opencore log to see If you find a clue about what is going on on my system.

The system wakes up to tell me system clock is not set (until wifi connects to the internet and time can be refreshed), maybe that is a clue of something not working as expected?

I wake up the system with GRUB2 and then jump to Opencore. Maybe GRUB loads ACPI DSDT and that is why my patched one does not work as I expect?

Kubuntu lost audio in lately... may be the patched DSDT?

Well, I attach the last EFI. Maybe someone finds what is going on and can make it work.
 

Attachments

  • EFI.zip
    40.4 MB · Views: 90
  • opencore-2021-05-30-100126.txt
    256 KB · Views: 48
Thank you very much for your tips. I keep with the same problems and nothing I try seems to have any influence, always the same results.

a) I tried to add an ALS0.aml I found over the internet. I am not sure if that is the one i should use or if I need to tweak it someway. Did not help.

b) Most times I boot up the system it halts with a message:
ApplePS2Controller: Notification consumer published: ApplePS2Controller
ApplePS2Controller: Notification consumer published: ApplePS2Keyboard

...or it halts with a loop trying to load itlwm once and again until a forbidden signal appears at the center of the screen.

c) No backlight at boot up (that is the most anoying bug because it limits the times you can reboot to try to solve other problems).

d) No trackpad (it has been a long time since I saw it working for the last time.

At the EFI I attach, you can see the DSDT is heavily patched. The reason is that I was trying to be certain that patches were applied. One of the problems I have is that I have no idea how do I create OpenCore hot patches to DSDT. I understand they are direct binary substitutions, but I don't get how I can convert _CRS to XCRS only for a given device and not the others. As long as I find no info about what is the logic on it, I do have to patch the DSDT if I want the SSDT to apply.

I send you an opencore log to see If you find a clue about what is going on on my system.

The system wakes up to tell me system clock is not set (until wifi connects to the internet and time can be refreshed), maybe that is a clue of something not working as expected?

I wake up the system with GRUB2 and then jump to Opencore. Maybe GRUB loads ACPI DSDT and that is why my patched one does not work as I expect?

Kubuntu lost audio in lately... may be the patched DSDT?

Well, I attach the last EFI. Maybe someone finds what is going on and can make it work.
list all the patches you did in your DSDT

you should only need:
HfsPlus.efi
OpenCanopy.efi
OpenRuntime.efi
in your drivers section

make sure to load your kexts in the correct order, example of mine:
Code:
<dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>BundlePath</key>
                <string>VoodooI2C.kext/Contents/Plugins/VoodooGPIO.kext</string>
                <key>Comment</key>
                <string>Touchpad</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/VoodooGPIO</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>19.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>BundlePath</key>
                <string>VoodooI2C.kext/Contents/Plugins/VoodooInput.kext</string>
                <key>Comment</key>
                <string>Touchpad</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/VoodooInput</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>19.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>BundlePath</key>
                <string>VoodooI2C.kext/Contents/Plugins/VoodooI2CServices.kext</string>
                <key>Comment</key>
                <string>Touchpad</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/VoodooI2CServices</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>19.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>BundlePath</key>
                <string>VoodooI2C.kext</string>
                <key>Comment</key>
                <string>Touchpad</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/VoodooI2C</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>19.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>BundlePath</key>
                <string>VoodooI2CELAN.kext</string>
                <key>Comment</key>
                <string>Touchpad</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/VoodooI2CELAN</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>19.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
 
Status
Not open for further replies.
Back
Top