Jump to content
oazisn

Need Help to Fix Touchpad, SD Card, Wake from Sleep, and some others problem on Lenovo ThinkBook 14-IIL 20SL Ice Lake G7

Recommended Posts

Hello everyone!

I need your help to fix Touchpad, SD Card, Wake from Sleep, and some others problem on Lenovo ThinkBook 14-IIL 20SL Ice Lake G7. Here's my send me zip file: https://drive.google.com/file/d/1-VH-aHM2iyutd894MD56uvqk9BDa0SDJ/view?usp=sharing 

Here is my spec:
Lenovo Thinkbook 14-IIL 20SL
Intel i5-1035g7 vendorId: 8086 deviceId: 8a52
16GB RAM 3200Mhz
Adata XPG 512GB SSD NVMe
macOS Big Sur 11.4
OpenCore 0.7.0
Audio Realtek ALC257
VoodooI2C 2.6.5 (each satellite kext based on this version)

Here is the description of every problem:
1. Touchpad SYNA2B60
I cannot do GPI0 pinning. When I boot to macOS with Windows 10 and GPI0 DSDT's patch from voodooi2c. I can't see any TPD0 listed on ioreg acpiplane.

2. Card Reader Realtek RTS522A vendorId: 10ec deviceId: 522a 
I've been trying from this tutorial but what I get is kernel panic after OpenCore boot.https://github.com/FIRSTPLATO/cardreader-kext/blob/main/README_en.md 

3. Wake from Sleep
When I try to sleep the laptop. The laptop can sleep really well. When I try to wake it up using mouse movement or keyboard. The screen is blank, no backlit at all. I can type my password and pressing Cmd+Q to make some beep mac alert.

4. Combo Audio Input Sense
When I plug the earphone with mic in, the audio routed to earphone immediately. But not with mic (input) I should manually setting the input from system preferences audio input. I've tried all AppleALC layout id that relevant to my codec but the best id is 11.

5. Flicker
When macOS fading out the apple boot animation to login form, the screen is blank, I can put my password to it with screen goes flickering. When log in successfully, the screen goes black for a while and came bak to normal. 

Maybe that's all. Any help is very appreciated. Please help me...

EDIT for update:
changed AAPL,ig-platform-id from 0100528A to 0000528A. My system feel more snappier. About This Mac also recognized the vram at 3072 MB. But still, the wake from sleep problem and screen flicker problem still exist. 

EDIT for update 2:
I've been disable CpuTscSync.kext, CtlnaAHCIPort.kext, XHCI-unsupported.kext, and FixLidSLEEP.aml. I also remove some unnecessary IGPU DeviceProperties. Here is new send me zip file that I do after wake from sleep. https://drive.google.com/file/d/1CsVIgcYj3zuijKHyojOwokrWWfWKZESi/view?usp=sharing

Edited by oazisn
Link to comment
Share on other sites

Now I can manage the touchpad. The touchpad is working well now with -vi2c-force-polling boot argument.
Here is how I do it.

1. Follow what VoodooI2C describe about GPIO pinning at https://github.com/VoodooI2C/VoodooI2C/blob/master/Documentation/GPIO Pinning.md . When your ACPI ID is not exist at IORegExplorer, you need to find _STA method 

From this:

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If ((TPVD == 0x4E))
                {
                    Return (0x0F)
                }

                Return (Zero)
            }

To this:

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                //If ((TPVD == 0x4E))
                //{
                    Return (0x0F)
                //}

                //Return (Zero)
            }

Then reboot, AFAIK you will see the ACPI ID exist at IORegExplorer.

Then you can continue do GPIO pinning from VoodooI2C. 

2. Choosing satellite kext for VoodooI2C.

For me, my touchpad vendor is synaptics. Lenovo driver also release syanptic pointing device settings. Here is what it's look like.

160388i520B9B74E4E5DE34.png

Take a look at port column. It tell us RMIHID. So I choose VoodooRMI as satellite kext.

3. Force Polling

After post an issue at VoodooRMI, the maintainer suggest me to enable -vi2c-force-polling boot argument. So I do it. Then the touchpad works. Reference: https://github.com/VoodooSMBus/VoodooRMI/issues/117#issuecomment-865714444

 

I still worried about the side effect of  -vi2c-force-polling boot argument. Still using it right now. Any advice how can I manage the polling for this device without force polling boot argument? Here is the latest send me zip file ( https://www.mediafire.com/file/xiozj2xq98nvblh/Send_me_Aziss-MacBook-Pro.zip/file ). I also attached original DSDT.  

 

Thanks In Advance.

DSDT.aml

Edited by oazisn
Link to comment
Share on other sites

  • Administrators

if work just enjoy

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

8 minutes ago, MaLd0n said:

if work just enjoy

Yeah, but I found another bug. After using the touchpad for a while, the touchpad doesn't work anymore. Here is the log of what VoodooRMI tells:

Last login: Wed Jun 23 20:52:57 on console

oazisn@Aziss-MacBook-Pro ~ % sudo dmesg | grep -i VRMI         

Password:

[    3.621677]: VRMI - Info: RMII2C::TPD0 Could not get interrupt event source, falling back to polling

[    3.636098]: VRMI - Info: RMI Bus (RELEASE) Starting up!

[    3.649858]: VRMI - Info: RMII2C::TPD0 reset completed

[    3.662070]: VRMI - Error: Unable to reset

[    3.673711]: VRMI - Error: RMI initial reset failed! Continuing in spite of this

[    3.695391]: VRMI - Info: Initializing F34.

[    3.707125]: VRMI - Info: F34 not implemented

[    3.719195]: VRMI - Info: Initializing F01.

[    3.734898]: VRMI - Info: Found RMI4 device, manufacturer: Synaptics, product: TM3336-003, fw id: 2716135

[    3.751056]: VRMI - Info: Initializing F11.

[    3.770634]: VRMI - Info: Initializing F30.

[    3.784210]: VRMI - Info: Initializing F54.

[    3.795523]: VRMI - Info: F54 not implemented

[    3.808331]: VRMI - Info: Initializing F55.

[    3.819724]: VRMI - Info: F55 not implemented

[ 1027.481106]: VRMI - Error: RMII2C::TPD0 failed to read I2C input

[ 1027.481115]: VRMI - Error: Unable to read IRQ

[ 1027.493070]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.493088]: VRMI - Error: Unable to read IRQ

[ 1027.499181]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.499197]: VRMI - Error: Unable to read IRQ

[ 1027.505374]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.505390]: VRMI - Error: Unable to read IRQ

[ 1027.511413]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.511431]: VRMI - Error: Unable to read IRQ

[ 1027.517755]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.517773]: VRMI - Error: Unable to read IRQ

[ 1027.523938]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.523962]: VRMI - Error: Unable to read IRQ

[ 1027.530423]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.530448]: VRMI - Error: Unable to read IRQ

[ 1027.536670]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.536695]: VRMI - Error: Unable to read IRQ

[ 1027.542921]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.542935]: VRMI - Error: Unable to read IRQ

[ 1027.549258]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.549283]: VRMI - Error: Unable to read IRQ

[ 1027.554866]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.554893]: VRMI - Error: Unable to read IRQ

[ 1027.561362]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.561390]: VRMI - Error: Unable to read IRQ

[ 1027.567483]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.567508]: VRMI - Error: Unable to read IRQ

[ 1027.573361]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.573384]: VRMI - Error: Unable to read IRQ

[ 1027.579663]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.579688]: VRMI - Error: Unable to read IRQ

[ 1027.585805]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.585835]: VRMI - Error: Unable to read IRQ

[ 1027.592079]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.592096]: VRMI - Error: Unable to read IRQ

[ 1027.598346]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.598370]: VRMI - Error: Unable to read IRQ

[ 1027.604585]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.604609]: VRMI - Error: Unable to read IRQ

[ 1027.611107]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 0

[ 1027.611134]: VRMI - Error: Unable to read IRQ

[ 1027.617409]: VRMI - Error: RMII2C::TPD0 RMI_READ_DATA_REPORT_ID mismatch 1

oazisn@Aziss-MacBook-Pro ~ %

I will make an issue at the github repo of VoodooRMI. Right now, I'm still hoping I can use the touchpad without force polling method. Can you help me? 

Link to comment
Share on other sites

  • Administrators

some time ago i tested this project and this problem appear too

i'm using voodooi2c with satelites now

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

1 minute ago, MaLd0n said:

some time ago i tested this project and this problem appear too

i'm using voodooi2c with satelites now

Unfortunately, VoodooI2CHID and VoodooI2CSynaptics doesn't work at my laptop. I kinda jealous about that.

Link to comment
Share on other sites

  • Administrators

many syna work with VoodooI2C.kext and VoodooI2CHID.kext

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

2 hours ago, MaLd0n said:

many syna work with VoodooI2C.kext and VoodooI2CHID.kext

I hope that so... but reality isn't

here is the log when I use VoodooI2CHID, proper gpio pinning at 0x8e

Last login: Wed Jun 23 22:15:08 on console
oazisn@Aziss-MacBook-Pro ~ % sudo dmesg | grep -i oodoo
Password:
[    2.905980]: VoodooGPIOIceLakeLP::Loading GPIO Data for IceLake-LP
[    2.905989]: VoodooGPIOIceLakeLP::VoodooGPIO Init!
[    2.905991]: VoodooGPIOIceLakeLP::VoodooGPIO Initializing Community 0
[    2.906029]: VoodooGPIOIceLakeLP::VoodooGPIO Initializing Community 1
[    2.906061]: VoodooGPIOIceLakeLP::VoodooGPIO Initializing Community 2
[    2.906088]: VoodooGPIOIceLakeLP::VoodooGPIO Initializing Community 3
[    2.906187]: VoodooGPIOIceLakeLP::GPIO Controller is already awake! Not reinitializing.
[    3.096726]: VoodooI2CPCILakeController::pci8086,34e8 Starting I2C controller
[    3.096748]: VoodooI2CPCILakeController::pci8086,34e8 Set PCI power state D0
[    3.096751]: VoodooI2CPCILakeController::pci8086,34e8 Current CPU is Comet Lake or Ice Lake, patching...
[    3.096854]: VoodooI2CPCILakeController::pci8086,34e8 Publishing nub
[    3.097285]: VoodooI2CControllerDriver::pci8086,34e8 Probing controller
[    3.097331]: VoodooI2CControllerDriver::pci8086,34e8 Found valid Synopsys component, continuing with initialisation
[    3.097373]: VoodooI2CControllerDriver::pci8086,34e8 Got bus configuration values
[    3.097419]: VoodooI2CControllerDriver::pci8086,34e8 Publishing device nubs
[    3.097423]: VoodooI2CControllerDriver::pci8086,34e8 Found I2C device: SYNA2B60
[    3.098430]: VoodooI2CDeviceNub::TPD0 Got GPIO Controller! VoodooGPIOIceLakeLP
[    3.600867]: VoodooI2CHIDDevice:0x100000300 start
[    3.600875]: VoodooGPIOIceLakeLP::Registering hardware pin 0x61 for GPIO IRQ pin 0x8E
[    3.613398]: VoodooGPIOIceLakeLP::Successfully registered hardware pin 0x61 for GPIO IRQ pin 0x8E
[   15.728232]: VoodooI2CHIDDevice::SYNA2B60 Timeout waiting for device to complete host initiated reset
[   15.849657]: VoodooI2CHIDDevice:0x100000300 creating interfaces
[   15.853894]: VoodooI2CHIDDevice:0x100000300 open by IOHIDEventDriver 0x100000309 (0x0)
oazisn@Aziss-MacBook-Pro ~ %

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...