VoodooSMBus / VoodooRMI

Synaptic Trackpad driver over SMBus/I2C for macOS
GNU General Public License v2.0
237 stars 19 forks source link

T450s Big Sur can't load the VoodooRMI.kext or VoodooSMBus.kext #23

Closed findyy99 closed 4 years ago

findyy99 commented 4 years ago
image image
1Revenger1 commented 4 years ago

What Bootloader? If it's OpenCore, are there any logs from opencore? Kernel Collection or Prelinked Kernel? Where is the kext? Is it injected or under Library/Extensions or other place?

I've tested it with Big Sur using Prelinked Kernel and it 100% worked. I'm not planning on testing more though with Big Sur until closer to release.

findyy99 commented 4 years ago

@1Revenger1

findyy99 commented 4 years ago

This is the OpenCore log! opencore-2020-07-13-031013.txt

1Revenger1 commented 4 years ago

Does it work under Catalina? I'd also check IORegistryExplorer and make sure something isn't attached to SBUS other than VoodooSMBus

findyy99 commented 4 years ago

@1Revenger1 I will try to boot my Catalina on my USB drive, and give a feedback later! Thank you!

findyy99 commented 4 years ago

@1Revenger1 Sorry, it seems my problem. Catalina still doesn't work. Can you please help me with my EFI? OC.zip

1Revenger1 commented 4 years ago

Again, check SBUS under IORegistryExplorer

findyy99 commented 4 years ago
image
1Revenger1 commented 4 years ago

It may be a different name, should start with S though. Basically are looking for the SMBus PCI device. Basically you want to make sure VoodooSMBus is attached, not AppleSMBusPCI

findyy99 commented 4 years ago
1Revenger1 commented 4 years ago

Hmm, so we haven't had anyone test this yet - my system doesn't need it. But can you try adding the two lines shown below under VoodooSMBus.kext/Contents/Info.plist? Should be done actually as below, right before the end of the plist

https://github.com/VoodooSMBus/VoodooSMBus/pull/41/files

findyy99 commented 4 years ago

@1Revenger1 Anyway, Thank you so much, I will have a try! πŸ‘

1Revenger1 commented 4 years ago

Yep. If you don't mind, can you send a DSDT as well? The above link should fix it, but I'm curious. AppleSMBusPCI will load on apple devices and is another kext for the i801 SMBus chip found on Intel chipsets. On some systems, it'll attach I'm guessing because some properties exist in ACPI that I'd like to double check. The above link is a much cleaner solution then any ACPI solution though.

findyy99 commented 4 years ago

Sure! And I have tried add the above two lines to the plist. Doesn't work, this is the DSDT I am using. I really appreciate you taking the time to help me! DSDT.zip

1Revenger1 commented 4 years ago

Were the two lines added right before

</dict>
</plist>

At the very end of the file?

And thanks for the DSDT, I'll take a look tomorrow. You don't have an SSDT for SBUS/MCHC also right? That would cause this as well

findyy99 commented 4 years ago
image
findyy99 commented 4 years ago

I have found the SMBU in the IORegistryExplorer. But not VoodooSMBus, It's AppleSMBusPCI.

image
1Revenger1 commented 4 years ago

Oh, this laptop is from like 2015. Likely needed the edit above, but you now also need to add the device id to the Info.plist. there should be instructions for adding device id in the README under the dev branch (not master!) in the VoodooSMBus repo.

findyy99 commented 4 years ago

Sorry, I just realized maybe I should go to VoodooSMBus repository looking for some information. Thank you!πŸ˜„πŸ˜„πŸ‘πŸ‘πŸ‘

findyy99 commented 4 years ago

amazing!I add my own device-id and vendor-id everything works fine! Thank you again! πŸ‘πŸ‘ Oh, expect one thing, system preferences said No trackpad found.

gimdh commented 4 years ago

Can you check if VoodooInput kext is loaded properly? If you have Trackpoint, but no touchpad, then it is likely that VoodooInput not loading is the issue.

findyy99 commented 4 years ago

@gimdh Thanks! I figure out it. The Voodooinput has been loaded. Just because my
Acpibatterymanager or SMCBattery is not loaded. By the way, it works good on ThinkPad T450S!

1Revenger1 commented 4 years ago

Cool! Do you mind adding the device Id in a PR maybe for VoodooSMBus? If you can't figure it out, I can put a PR in for you.

findyy99 commented 4 years ago

Sorry , I am not familiar with how to use Github, Maybe you can put a PR!