Contribute
Register

VoodooI2C Help and Support

Status
Not open for further replies.
You can have multiple devices under a single controller.
The I2C controller your trackpad is attached to is indeed I2C1.
Additionally, DSDTs usually contain devices that don't really exist. They are constructed from templates + machine specific data.

Undo every patch you have in TPL1 (it does not exist), and patch ETPD.
You can, of course, find it With Command+F in MaciASL :p

After you correctly patch ETPD for GPIO interrupts, it'll work just fine with VoodooI2CELAN :)

Note: This IOReg looks different than the previous one. That's due to Apple's kexts attaching to your I2C controllers.
Add CoolStar's patches to your config.plist to make them not attach. You can find both of them here (add both):
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_patches.plist

Of course, please attach a new archive after you make changes (Very simple with gen_debug.sh).

As asked, I'veedited the original DSDT again, but this time only patching ETPD. Also added the config.plist patches mentioned. But, unfortunately, no luck with the trackpad, it doesn't move at all using VoodooI2CELAN. Sad indeed. Pls help my soul. Thanks in advance! :)
 

Attachments

  • debug_24265.zip
    2.3 MB · Views: 56
As asked, I'veedited the original DSDT again, but this time only patching ETPD. Also added the config.plist patches mentioned. But, unfortunately, no luck with the trackpad, it doesn't move at all using VoodooI2CELAN. Sad indeed. Pls help my soul. Thanks in advance! :)
Apple's I2C kexts are attaching to your I2C controllers. You should add CoolStar's 2 patches to your config.plist. You can find them here:
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_patches.plist
I see you've added them to ACPI patches, but it'll, of course, not work, as you want to patch kexts...
See the config.plist in the link for the appropriate location to add them.

BTW, you can't install VoodooPS2Trackpad only (You have it in /L/E). Remove it.
You do need VoodooPS2 for keyboard, but all of the plugins are already included in it (just install latest release).

GenericUSBXHCI unnecessary, not applicable for you anyway.
All kexts should be installed to /L/E. Necessary kexts should also go to Clover/kexts/Other (while still being in /L/E)

You may want to update to macOS 10.13.6, or maybe just to 10.14. No reason to stay on 10.13.4.

ApfsDriverLoader-64.efi preferred over apfs.efi.
DataHubDxe-64.efi probably not needed.
VBoxHfs-64.efi can be removed (it's disabled in your config.plist anyway)
AptioMemoryFix.efi preferred over OsxAptioFixDrv-64.efi.

ForceKextsToLoad entries can/should be removed (they are for install only)

And... your version of Clover is quite old.
 
Hello vettz, I have the same device id pci8086,a368 and ACPI device PNP0C05. I tried adding the name in the IONameMatch with DSDT edits for Polling mode. For me the trackpad does not work at all. The logs says it has some trouble starting with polling mode.
Can you share with me the steps you took. I will try the same to make my trackpad work.

Thanks and regards,
Shubham

To get mine to work I had to use this DSDT patch, it's not the same as the one in the repo.


Code:
into method label _STA parent_label GPI0 replace_content begin

Return (0x0F)

end;

into_all method label _CRS parent_label TPD0 replace_content begin

ConcatenateResTemplate (SBFB, SBFI)

end;

Note: This worked for the Razer Blade 15, not sure if it will for you.

Also, I had your issue once before and all I had to do was dump a fresh version of my DSDT and re-patch it and it solved it.
 
Apple's I2C kexts are attaching to your I2C controllers. You should add CoolStar's 2 patches to your config.plist. You can find them here:
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_patches.plist
I see you've added them to ACPI patches, but it'll, of course, not work, as you want to patch kexts...
See the config.plist in the link for the appropriate location to add them.

BTW, you can't install VoodooPS2Trackpad only (You have it in /L/E). Remove it.
You do need VoodooPS2 for keyboard, but all of the plugins are already included in it (just install latest release).

GenericUSBXHCI unnecessary, not applicable for you anyway.
All kexts should be installed to /L/E. Necessary kexts should also go to Clover/kexts/Other (while still being in /L/E)

You may want to update to macOS 10.13.6, or maybe just to 10.14. No reason to stay on 10.13.4.

ApfsDriverLoader-64.efi preferred over apfs.efi.
DataHubDxe-64.efi probably not needed.
VBoxHfs-64.efi can be removed (it's disabled in your config.plist anyway)
AptioMemoryFix.efi preferred over OsxAptioFixDrv-64.efi.

ForceKextsToLoad entries can/should be removed (they are for install only)

And... your version of Clover is quite old.
Thank you for the reply! I will be performing all the above mentioned steps, could you pleaseclarify two bits for me? I honestly have no idea how to apply coolstar's patches to the kexts, I did however copy those two bits of code into my config.plist file. Is there a place I can read up on how to apply those patches? And the other thing : I was a noob while installing(still am) Macos on my laptop and do not even remember adding the forcekexts to load thing anywhere. Where should I be looking to disable it? Thanks a lot for everything you've done helping me man! I really appreciate what you do for the community. :')
 
Thank you for the reply! I will be performing all the above mentioned steps, could you pleaseclarify two bits for me? I honestly have no idea how to apply coolstar's patches to the kexts, I did however copy those two bits of code into my config.plist file. Is there a place I can read up on how to apply those patches? And the other thing : I was a noob while installing(still am) Macos on my laptop and do not even remember adding the forcekexts to load thing anywhere. Where should I be looking to disable it? Thanks a lot for everything you've done helping me man! I really appreciate what you do for the community. :')
The config.plist is, of course, a plist file. It means it has keys and values. You should understand the structure of such a file, and use a plist editor (like PlistEdit Pro or Xcode) to modify it.
See where CoolStar's patches are present in the config_patches.plist file, and add it to your config.plist in the same 'path' (Which is config.plist/KernelAndKextPatches/KextsToPatch)

ForceKextsToLoad entries are present in RehabMan's base config.plist files. They should be there for installation, but his guide says you should remove them after install.
 
The config.plist is, of course, a plist file. It means it has keys and values. You should understand the structure of such a file, and use a plist editor (like PlistEdit Pro or Xcode) to modify it.
See where CoolStar's patches are present in the config_patches.plist file, and add it to your config.plist in the same 'path' (Which is config.plist/KernelAndKextPatches/KextsToPatch)

ForceKextsToLoad entries are present in RehabMan's base config.plist files. They should be there for installation, but his guide says you should remove them after install.
Lol I feel like a dummy! That makes a lot of sense dude. Thanks again, I'll get to work on this.
 
Apple's I2C kexts are attaching to your I2C controllers. You should add CoolStar's 2 patches to your config.plist. You can find them here:
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_patches.plist
I see you've added them to ACPI patches, but it'll, of course, not work, as you want to patch kexts...
See the config.plist in the link for the appropriate location to add them.

BTW, you can't install VoodooPS2Trackpad only (You have it in /L/E). Remove it.
You do need VoodooPS2 for keyboard, but all of the plugins are already included in it (just install latest release).

GenericUSBXHCI unnecessary, not applicable for you anyway.
All kexts should be installed to /L/E. Necessary kexts should also go to Clover/kexts/Other (while still being in /L/E)

You may want to update to macOS 10.13.6, or maybe just to 10.14. No reason to stay on 10.13.4.

ApfsDriverLoader-64.efi preferred over apfs.efi.
DataHubDxe-64.efi probably not needed.
VBoxHfs-64.efi can be removed (it's disabled in your config.plist anyway)
AptioMemoryFix.efi preferred over OsxAptioFixDrv-64.efi.

ForceKextsToLoad entries can/should be removed (they are for install only)

And... your version of Clover is quite old.

OMG dude!!!! It worked!!!! OMG! I'm so happy man. It finally works, and I don't need to carry around a mouse any more. Thank you so much man, my words can't express how grateful I am! There is still however a slight issue with the trackpad not being able to click and drag at the same time. If clicked, the pointer doesn't move at all, the buttons on the trackpad are overall very glitchy, any fix to that? The scroll is really slow, and so is the pointer speed, any way for me to patch that stuff? I'm so glad I'm even able to move my cursor around while typing this to click some buttons lol.
 

Attachments

  • debug_22209.zip
    2.3 MB · Views: 73
OMG dude!!!! It worked!!!! OMG! I'm so happy man. It finally works, and I don't need to carry around a mouse any more. Thank you so much man, my words can't express how grateful I am! There is still however a slight issue with the trackpad not being able to click and drag at the same time. If clicked, the pointer doesn't move at all, the buttons on the trackpad are overall very glitchy, any fix to that? The scroll is really slow, and so is the pointer speed, any way for me to patch that stuff? I'm so glad I'm even able to move my cursor around while typing this to click some buttons lol.
Happy it's working :)

Are dragging and scrolling enabled and set correctly in SysPrefs>Accessibility>Mouse & Trackpad>Trackpad Options?
Scrolling should be enabled with inertia for best experience. You may also set scrolling speed over there.
Dragging should be enabled (probably without drag lock for a normal user). Maybe it's now disabled/set to 3 fingers.

Tracking (pointer) speed can be changed in SysPrefs>Trackpad.
I suggest to use tapping for primary (1 finger) and secondary (2 fingers) instead of clicking.

If you mean the pointer is glitchy/laggy, please try removing ACPIBatteryManager.kext for testing purpose (not sure why it's causing problems for some). Only do it after setting your preferred settings in SysPrefs, as the prefpane won't show without the battery driver.
 
Happy it's working :)

Are dragging and scrolling enabled and set correctly in SysPrefs>Accessibility>Mouse & Trackpad>Trackpad Options?
Scrolling should be enabled with inertia for best experience. You may also set scrolling speed over there.
Dragging should be enabled (probably without drag lock for a normal user). Maybe it's now disabled/set to 3 fingers.

Tracking (pointer) speed can be changed in SysPrefs>Trackpad.
I suggest to use tapping for primary (1 finger) and secondary (2 fingers) instead of clicking.

If you mean the pointer is glitchy/laggy, please try removing ACPIBatteryManager.kext for testing purpose (not sure why it's causing problems for some). Only do it after setting your preferred settings in SysPrefs, as the prefpane won't show without the battery driver.

This helped a lot! :) Scrolling issue got fixed. The dragging doesn't work with or without drag lock, but 3-finger drag does work well, so I'm good! The pointer isn't that glitchy or anything, just a tad bit too slow, and I can manage with what I've got now!! At last it is finally usable. Again, I appreciate it a ton man, was wonderful being on this journey with your help and guidance!
 
I can't enable my trackpad. I already on this Lenovo laptop, done almost everything. It's I2C HID (PCI0.I2C1.TPD0), PNP0C50, pci8086,a369. I already added pci8086,a369 to IONameMatch in VoodooI2CPCIController to VoodooI2C.kext and renamed compatible in VoodooI2CHIDDevice -> IOPropertyMatch, to PNP0C50. All of course with DSDT patches. But it's still don't working.
Thank you for advices.
 

Attachments

  • debug_123.zip
    3 MB · Views: 72
Status
Not open for further replies.
Back
Top