Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not get ACPI device for PCI provider #463

Closed
ghost opened this issue Jul 11, 2021 · 5 comments
Closed

Could not get ACPI device for PCI provider #463

ghost opened this issue Jul 11, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Jul 11, 2021

Describe the bug
The trackpad stopped working after I added an extra M.2 drive, but it still didn't work when I removed the drive. It works in Windows always nevertheless. When in verbose boot, there are two lines, one is VoodooI2CPCIController::pci8086,a369 Could not get ACPI device for PCI provider, and the other one is the same but just for 8086,a368. The machine has two I2C controllers, one is I2C0 which is for the touchscreen optional assembly that I don't have, and I2C1 is for the dual pointing device. Many thanks!

Did you read the common errors documentation?
Please answer yes or no after reading https://voodooi2c.github.io/#Common%20Errors/Common%20Errors
yes

Did you read the troubleshooting documentation?
Please answer yes or no after reading .
yes

Have you searched the issue on Github, Gitter, or Google?
Please answer yes or no, this is to avoid creating duplicate Github issues.
yes

System Environment
Please answer:

  1. What is your operating system? Big Sur
  2. What version of the drivers (including drivers) are you using? Latest
  3. What is your hardware configuration? CFL-H

Troubleshooting Archive

mac.zip
DSDT

Additional context
Add any other context about the problem here.

@kprinssu
Copy link
Collaborator

This really looks like a specific issue with your ACPI as from what I can from your IO Registry dump, VoodooI2C is not finding any I2C controllers. As I do not have your EFI here, I can only speculate as to what the problem is, please upload a copy of your EFI folder.

Additionally, how are you patching in the GPIO pin?

@ghost
Copy link
Author

ghost commented Jul 12, 2021

This really looks like a specific issue with your ACPI as from what I can from your IO Registry dump, VoodooI2C is not finding any I2C controllers. As I do not have your EFI here, I can only speculate as to what the problem is, please upload a copy of your EFI folder.

Additionally, how are you patching in the GPIO pin?

Hi,

Thank you so much for your reply! My EFI folder can be downloaded from here.

I've patched it via 0x1b, which i believe should be the correct calculated value. Both GPIO and polling mode worked very well before I installed that cursed M.2 drive into my system. Thank you again!

Edit: I injected the DSDT via OpenCore because otherwise the basic tables won't load in macOS. So the I2C patch is also integrated into the DSDT...

@kprinssu
Copy link
Collaborator

kprinssu commented Jul 12, 2021

That would be your problem. By adding a new device (M.2 drive), your ACPI device paths most likely changed. That is why you should hotpatch. For now, you will need to take a new dump of your DSDT and re-patch it (I highly advise against this).

As this is a configuration issue, please use Gitter for further support.

@ghost
Copy link
Author

ghost commented Jul 12, 2021

THANK YOU!!!!!!

You're absolutely correct. The memory address in DSDT changed after I installed the drive. After I compared the changes and modified the patched DSDT, everything backs to work. Thank you sooooo much and fixing this -- and finally realizing the cause of this -- definitely made my day. Can't appreciate it more!!!

@kprinssu
Copy link
Collaborator

No worries @lulujyc, enjoy your hack :)

@VoodooI2C VoodooI2C locked and limited conversation to collaborators Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant