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

一个不需要重命名的触摸板SSDT #365

Closed
okexi opened this issue Mar 30, 2020 · 11 comments
Closed

一个不需要重命名的触摸板SSDT #365

okexi opened this issue Mar 30, 2020 · 11 comments
Labels
enhancement Trackpad Touchpad related issue

Comments

@okexi
Copy link

okexi commented Mar 30, 2020

根据

http://bbs.pcbeta.com/viewthread-1839143-1-1.html(47楼是我的回复)

我重构了一个SSDT-TPD0.aml,不需要在config里重命名,直接加载就能正常使用触摸板,目前在我的小米Pro上正常工作,触摸板名称为ETD2303,oc0.5.6, macos 15.4。分享出来,希望能有用处,简化config。
SSDT-TPD0.zip

@johnnynunez
Copy link

I'm trying to do this on Xiaomi mi air. The trackpad load good, but log tell me that bus is not correct, and I put the bus like the tutorial
SSDT-TPD0.dsl.zip

@stevezhengshiqi
Copy link
Collaborator

stevezhengshiqi commented Apr 10, 2020

@johnnync13 Please submit the log. VoodooI2C will use default bus config if there's no FMCN or SSCN. No need to insert these values if your DSDT doesn't have them.

@johnnynunez
Copy link

How can I extract the log?

@stevezhengshiqi
Copy link
Collaborator

stevezhengshiqi commented Apr 10, 2020

log show --last boot | grep "VoodooI2C" > VoodooI2Clog.txt
Not sure whether it works, I prefer using /~https://github.com/syscl/maclog

@stevezhengshiqi
Copy link
Collaborator

@johnnync13 Your DSDT is needed for further diagnosis.

@johnnynunez
Copy link

johnnynunez commented Apr 11, 2020

@stevezhengshiqi al files in zip. Thanks so much!
Air.zip
79039607-12bb0980-7beb-11ea-8b51-4778619b686e

79039608-151d6380-7beb-11ea-8a1f-f2a4d392dbf4-2

@stevezhengshiqi
Copy link
Collaborator

@johnnync13 Your log is OK, the prompt (VoodooI2C) VoodooI2CControllerDriver::pci8086,9d60 Warning: Error getting bus config, using defaults where necessary can be ignored. VoodooI2C will automatically inject the correct bus config.

BTW, I have the same error as you after adding force-online property

 (AppleIntelKBLGraphicsFramebuffer) <AppleIntelKBLGraphicsFramebuffer`IntelFBClientControl::doAttribute(unsigned int, unsigned long*, unsigned long, unsigned long*, unsigned long*, IOExternalMethodArguments*)> [IGFB][ERROR  ] [AGDC] Failed with status -536870212 for stream access aux

I reported my doubt on acidanthera/WhateverGreen@8169a6a#commitcomment-38309594 but I don't get response. If you have any clue please tell me.

@johnnynunez
Copy link

johnnynunez commented Apr 12, 2020

with the default bus it doesn't work either :(
Pin is correct
photo5807854176259126051
debug_1401.zip
photo5807854176259126050

@stevezhengshiqi
Copy link
Collaborator

@johnnync13 If the trackpad doesn't work, why you say

The trackpad load good

Need your patched SSDT with working trackpad. I have no idea which is your Trackpad device. I see you use I2C1 in your SSDT, but your TPD0 device is under I2C0.

@johnnynunez
Copy link

the trackpad already works for me. I have changed the External statements.
Thank you a lot

@stevezhengshiqi
Copy link
Collaborator

Then no need to worry about FMCN or SSCN.

stevezhengshiqi added a commit that referenced this issue Jul 11, 2020
… and fix #365. Also remove MATH._STA and LDR2._STA rename.
stevezhengshiqi added a commit that referenced this issue Jul 11, 2020
… and fix #365. Also remove MATH._STA and LDR2._STA rename.
stevezhengshiqi added a commit that referenced this issue Jul 11, 2020
… and fix #365. Also remove MATH._STA and LDR2._STA rename.
stevezhengshiqi added a commit that referenced this issue Jul 11, 2020
… and fix #365. Also remove MATH._STA and LDR2._STA rename.
stevezhengshiqi added a commit that referenced this issue Jul 11, 2020
… and fix #365. Also remove MATH._STA and LDR2._STA rename.
stevezhengshiqi added a commit that referenced this issue Jul 11, 2020
… and fix #365. Also remove MATH._STA and LDR2._STA rename.
stevezhengshiqi added a commit that referenced this issue Jul 11, 2020
… and fix #365. Also remove MATH._STA and LDR2._STA rename.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Trackpad Touchpad related issue
Projects
None yet
Development

No branches or pull requests

3 participants