Closed thefiredragon closed 4 years ago
Hey there, Unfortunately I'm not aware of anyone with 10th Gen hardware who could make VoodooI2C properly load :( This could be some sort of an ACPI issue that patching (no idea what exactly) might solve.
Could we debug this? @3ig has the same notebook and wrote at gitter for this
Several of us have 10th gen hardware and would love to help debug this. The problem appears to begin within VoodooGPIO. In the data I provided, you can see it is failing on an interrupt request attempting to instantiate VoodooGPIOCoffeeLakeLP on a comet lake machine.
Okay thanks, how I can create a debug report? I don't have a kernel panic when I use voodooi2c perhaps this could be helpful, best Regards
I'd expect that there will be multiple problems around supporting comet lake, I'm chiming in with a me-to. You can build a debug package by following this:
https://github.com/alexandred/VoodooI2C/blob/master/Documentation/Troubleshooting.md
So ... still no solutions for this problem. Does anyone have any progress ?
I have the same CPU i7 10510U Lenovo S540 14 Installer does not boot with VoodooI2C.kext Without the kext I can boot into installer but the trackpad does not work. In README I can see that these ID's are fully supported: Hardware ID: PCI\VEN8086&DEV02E8&SUBSYS_380417AA&REV_00 Hardware ID: PCI\VEN8086&DEV02E9&SUBSYS_380317AA&REV_00
However I have also this one: Hardware ID: PCI\VEN8086&DEV02EA&SUBSYS_380617AA&REV_00
which is not in the supported list. Maybe thats the issue? Is there a way to support it?
@neblogas
You can manually add your id in VoodooI2C's info.plist and have a try. The problem appears to be something wrong with the controller (related to code or ACPI) but no the IDs.
I get this when booting with VoodooI2C
I Don't have Boot panics with voodooi2c it Just dont patch correctly with this error
2020-02-14 12:49:31.269809+0100 0xc1 Default 0x0 0 0 kernel: (kernel) VoodooGPIOCannonLakeLP::Loading GPIO Data for CannonLake-LP
2020-02-14 12:49:31.270408+0100 0xc1 Default 0x0 0 0 kernel: (kernel) VoodooGPIOCannonLakeLP::VoodooGPIO Init!
2020-02-14 12:49:31.270670+0100 0xc1 Default 0x0 0 0 kernel: (kernel) VoodooGPIOCannonLakeLP::VoodooGPIO Initializing Community 0
2020-02-14 12:49:31.270900+0100 0xc1 Default 0x0 0 0 kernel: (kernel) VoodooGPIOCannonLakeLP::VoodooGPIO Initializing Community 1
2020-02-14 12:49:31.271241+0100 0xc1 Default 0x0 0 0 kernel: (kernel) VoodooGPIOCannonLakeLP::VoodooGPIO Initializing Community 2
2020-02-14 12:49:31.271664+0100 0x76 Default 0x0 0 0 kernel: (kernel) VoodooGPIOCannonLakeLP::GPIO Controller is already awake! Not reinitializing.
2020-02-14 12:49:31.351034+0100 0xf4 Default 0x0 0 0 kernel: (kernel) VoodooI2CPCIController::pci8086,2e8 Starting I2C controller
2020-02-14 12:49:31.353167+0100 0xf5 Default 0x0 0 0 kernel: (kernel) VoodooI2CPCIController::pci8086,2e9 Starting I2C controller
2020-02-14 12:49:31.356766+0100 0xf4 Default 0x0 0 0 kernel: (kernel) VoodooI2CPCIController::pci8086,2e8 Set PCI power state D0
2020-02-14 12:49:31.357060+0100 0xf4 Default 0x0 0 0 kernel: (kernel) VoodooI2CPCIController::pci8086,2e8 Publishing nub
2020-02-14 12:49:31.357418+0100 0xf9 Default 0x0 0 0 kernel: (kernel) VoodooI2CControllerDriver::pci8086,2e8 Probing controller
2020-02-14 12:49:31.357565+0100 0xf5 Default 0x0 0 0 kernel: (kernel) VoodooI2CPCIController::pci8086,2e9 Set PCI power state D0
2020-02-14 12:49:31.357810+0100 0xf5 Default 0x0 0 0 kernel: (kernel) VoodooI2CPCIController::pci8086,2e9 Publishing nub
2020-02-14 12:49:31.357948+0100 0xf9 Default 0x0 0 0 kernel: (kernel) VoodooI2CControllerDriver::pci8086,2e8 Unknown Synopsys component type: 0xffffffff
2020-02-14 12:49:31.414039+0100 0xfe Default 0x0 0 0 kernel: (kernel) VoodooI2CControllerDriver::pci8086,2e9 Probing controller
2020-02-14 12:49:31.419961+0100 0xfe Default 0x0 0 0 kernel: (kernel) VoodooI2CControllerDriver::pci8086,2e9 Unknown Synopsys component type: 0xffffffff
I just can't figure it out, where the issue is
@phu54321 made a patch to work. can somebody test it: https://www.notion.so/Using-VoodooI2C-on-comet-lake-cpu-e-g-i5-10210u-142930887087445eaa533120455da5dc @thefiredragon @3ig @ben9923 @fewtarius @williambj1
I can confirm your patch works. Marvellous job. My trackpad works in pooling mode without any dstd patching.
@3ig could you provide your patched voodooi2c? Polling mode means you only patched windows 10 patch to dsdt and don't change anything ?
Great job! so much thanks.
Confirmed on Lenovo XiaoXin Pro 13'.
@phu54321 made a patch to work. can somebody test it: https://www.notion.so/Using-VoodooI2C-on-comet-lake-cpu-e-g-i5-10210u-142930887087445eaa533120455da5dc @thefiredragon @3ig @ben9923 @fewtarius @williambj1
Seems that this patch has sucessfully worked. So now we need to figure out another question: making this hack only work in 10th because it will make another platforms not work. Tested in 8th KBR and now I ll try to make it.
For now I have thought about two ways: by judging IOMatchedID
, or injecting a flag that marked 10th
and judging this flag.
@3ig could you provide your patched voodooi2c? Polling mode means you only patched windows 10 patch to dsdt and don't change anything ?
Great job! so much thanks.
Yes ... my reply was kind of misleading i did hotpatch for Windows 10 (XOSI)
thanks it's working for me, too ;)
Awesome job!
Confirmed on Lenovo XiaoXin Pro 13'.
If this built kext violated your @phu54321 rights, please let me know and I'll delete it as soon as possible.
Im okay :) Just quote me
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
@startpenghubingzhou gonna test it later.
@startpenghubingzhou have tested it and it works with windows 10 DSDT patch. Thanks!
I'm attaching some debug files because saw some error messages in system.log Send me Tomass-MacBook-Pro.zip
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
I2CHID doesn't seem to load with just this kext, my device still kernel panics as before. Can you folks push this code into a repo somewhere for analysis and testing?
If I boot without the I2CHID kext at all I can see that it sets property 0D on startup, finds all of the devices, indicates a GPIO conflict and informs that the satellite kext should work in polling mode.
have tested it and it works with windows 10 DSDT patch. Thanks!
Yeah good,and for now it's time to call @kprinssu to merge this code. I ' ll make a PR and then contact with him as soon as posssibles.
For some laptop which run 14 or later, you can test with this one: VoodooI2C test4.zip
Please create a PR. I don't have merge permissions but I'd love to see what the changes are.
Please create a PR. I don't have merge permissions but I'd love to see what the changes are.
Ok I ll make it after breakfast.
@kprinssu PR was sent, see https://github.com/alexandred/VoodooI2C/pull/245. Can' t figure out why CircleCI building failed.
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
I2CHID doesn't seem to load with just this kext, my device still kernel panics as before. Can you folks push this code into a repo somewhere for analysis and testing?
If I boot without the I2CHID kext at all I can see that it sets property 0D on startup, finds all of the devices, indicates a GPIO conflict and informs that the satellite kext should work in polling mode.
This may caused by i2chid not i2c so I need KP log to check.
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
I2CHID doesn't seem to load with just this kext, my device still kernel panics as before. Can you folks push this code into a repo somewhere for analysis and testing? If I boot without the I2CHID kext at all I can see that it sets property 0D on startup, finds all of the devices, indicates a GPIO conflict and informs that the satellite kext should work in polling mode.
This may caused by i2chid not i2c so I need KP log to check.
It looks like a VoodooGPIO panic, it's the same one from the issue I reported previously.
I'll get a fresh pic when I can.
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
I2CHID doesn't seem to load with just this kext, my device still kernel panics as before. Can you folks push this code into a repo somewhere for analysis and testing? If I boot without the I2CHID kext at all I can see that it sets property 0D on startup, finds all of the devices, indicates a GPIO conflict and informs that the satellite kext should work in polling mode.
This may caused by i2chid not i2c so I need KP log to check.
It looks like a VoodooGPIO panic, it's the same one from the issue I reported previously.
I'll get a fresh pic when I can.
Did you use vanilla version of voodooi2c to have a try?
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
I2CHID doesn't seem to load with just this kext, my device still kernel panics as before. Can you folks push this code into a repo somewhere for analysis and testing? If I boot without the I2CHID kext at all I can see that it sets property 0D on startup, finds all of the devices, indicates a GPIO conflict and informs that the satellite kext should work in polling mode.
This may caused by i2chid not i2c so I need KP log to check.
It looks like a VoodooGPIO panic, it's the same one from the issue I reported previously. I'll get a fresh pic when I can.
Did you use vanilla version of voodooi2c to have a try?
Yes. My VoodooGPIO panic is probably unrelated to this patch.
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
I2CHID doesn't seem to load with just this kext, my device still kernel panics as before. Can you folks push this code into a repo somewhere for analysis and testing? If I boot without the I2CHID kext at all I can see that it sets property 0D on startup, finds all of the devices, indicates a GPIO conflict and informs that the satellite kext should work in polling mode.
This may caused by i2chid not i2c so I need KP log to check.
It looks like a VoodooGPIO panic, it's the same one from the issue I reported previously. I'll get a fresh pic when I can.
Did you use vanilla version of voodooi2c to have a try?
Yes. My VoodooGPIO panic is probably unrelated to this patch.
if you can sure that this panic is unrelated to this patch, maybe opening a new issue is better.
I have built a new kext based on @phu54321 's work. For now I have added a detection about 10th CPU. Can anyone help me to test it? VoodooI2C.kext test3.zip
I2CHID doesn't seem to load with just this kext, my device still kernel panics as before. Can you folks push this code into a repo somewhere for analysis and testing? If I boot without the I2CHID kext at all I can see that it sets property 0D on startup, finds all of the devices, indicates a GPIO conflict and informs that the satellite kext should work in polling mode.
This may caused by i2chid not i2c so I need KP log to check.
It looks like a VoodooGPIO panic, it's the same one from the issue I reported previously. I'll get a fresh pic when I can.
Did you use vanilla version of voodooi2c to have a try?
Yes. My VoodooGPIO panic is probably unrelated to this patch.
if you can sure that this panic is unrelated to this patch, maybe opening a new issue is better.
I was hoping they were related, but it's probably not worth opening another issue as I'm using macOS less and less lately.
@fewtarius I haven't worked on the GPIO kext, but panic that looks like an invalid GPIO pin number.
ben9923 maybe more help here.
on 10.15.3 Trackpad was working with the patch above.
After upgrade to 10.15.4 trackpad works after sleep.
Closing as Comet Lake support has been merged in with PR https://github.com/alexandred/VoodooI2C/pull/246. Please create new Github issue for any new issues.
Is there a way to fix Unknown Synopsys component type: 0xffffffff on Comet Lake i7 1051u? I could provide logs. Think it makes no sense to try patch my DSDT before this is solved or I am wrong here at this point?
best Regards