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

Trackpad Occasionally Stops Working After Sleep #46

Closed
panda2k opened this issue Aug 25, 2020 · 77 comments
Closed

Trackpad Occasionally Stops Working After Sleep #46

panda2k opened this issue Aug 25, 2020 · 77 comments

Comments

@panda2k
Copy link

panda2k commented Aug 25, 2020

Once I close the lid to sleep my MBXP (2018), there is a chance that once I reawaken it, the trackpad stops working. This isn't a reproducible issue but it is annoying since it requires a full restart. I have already tried to update VoodooI2CHID.kext and VoodooI2C.kext to v2.4.4 but that hasn't fixed the issue. It might be of use to note that if I plug in an external mouse, I am able to control my cursor. I am on Catalina 10.15.6

@yamanadamnor
Copy link

I am having the same issue. Also on catalina 10.15.6 and release 1.4.0 from this repo

@panda2k
Copy link
Author

panda2k commented Aug 25, 2020

I just found the fix. I changed the wakedelay to 1000 in /efi/boot/oc/Kexts/VoodooPS2Controller.kext/Contents/Info.plist. I then changed the wakedelay in /efi/boot/oc/Kexts/VoodooPS2Controller.kext/Contents/VoodooPS2Trackpad.kext/Contents/Info.plist to 10.

@panda2k panda2k closed this as completed Aug 25, 2020
@panda2k
Copy link
Author

panda2k commented Aug 26, 2020

Update: this didn't fix it. After around an hour or more of sleep, trackpad stops working on wake up

@panda2k panda2k reopened this Aug 26, 2020
@huotarih
Copy link

I have the same issue. I already upgraded to big sur, still same issue. Lmk if you find a fix.

@R-Teer
Copy link
Contributor

R-Teer commented Aug 27, 2020

Been having this issue since 10.15.5. Restart seems to be the only fix

@hudp16
Copy link

hudp16 commented Aug 29, 2020

Have no trackpad whatsoever (but kb is fine) not sure what I'd want more.

@bfrorum10
Copy link

Hello friends,

ich have the same Problem. Trackpad is not working after Sleep. did have any one the solution for this problem?

@jmalfara
Copy link

jmalfara commented Sep 2, 2020

I don't recall having this issue before 1.4.0 but no i get it. I might revert back to 1.3.0 and test

@profzei
Copy link
Owner

profzei commented Sep 3, 2020

...try to replace your config.plist with the following:
config.plist.zip
and, please, let me know your feedback (...our touchpad is quite weird in its behaviour) !

Edit: btw itlwm.kext is enabled in the above mentioned config.plist (only because I use it): please check your kexts before using config.plist (if you don't want use it, please, put accordingly false attribute)

@elliotnash
Copy link

The new config.plist doesn't seem to help, I'm still getting track pad freezes maybe every other sleep.

@pablott
Copy link

pablott commented Sep 4, 2020

...try to replace your config.plist with the following:
config.plist.zip
and, please, let me know your feedback (...our touchpad is quite weird in its behaviour) !

What's the difference in this plist? Other than the itlwm.kext setting.

@pablott
Copy link

pablott commented Sep 6, 2020

I can test suggestions and provide logs if that's needed.

@yamanadamnor
Copy link

Any new updates on the trackpad issue?

@R-Teer
Copy link
Contributor

R-Teer commented Sep 8, 2020

...try to replace your config.plist with the following:
config.plist.zip
and, please, let me know your feedback (...our touchpad is quite weird in its behaviour) !

Edit: btw itlwm.kext is enabled in the above mentioned config.plist (only because I use it): please check your kexts before using config.plist (if you don't want use it, please, put accordingly false attribute)

Currently testing this plist @profzei, all seems pretty good so far, had a single isolated issue where i had no trackpad after waking from sleep - touchscreen continued to function though which is much better, allowed me to save any open documents at least. Will let you know if I find any further issues!

@profzei
Copy link
Owner

profzei commented Sep 8, 2020

@R-Teer Thank you very much for your feedback! ...nobody else?

@profzei
Copy link
Owner

profzei commented Sep 8, 2020

What's the difference in this plist? Other than the itlwm.kext setting.

@pablott : I re-enabled VoodooPS2Mouse and VoodooPS2Trackpad.kext... they were previously disabled in Release 1.1.0 in July according to acidanthera buglist

I can test suggestions and provide logs if that's needed.

@pablott : thank you very much...
Is your feedback still negative?
... this issue (for me) only appeared after applying Supplemental Update on 10.15.6, not before...

I'll make a new release in a few days surely before weekend!

@R-Teer
Copy link
Contributor

R-Teer commented Sep 9, 2020

@R-Teer Thank you very much for your feedback! ...nobody else?

Hey @profzei, hope you are well man!

I have been able to recreate the issue quite a few times now, having spend the past hour repeating the following;

  1. Connect to AC power
  2. Close lid of device
  3. Wait around 5 minutes
  4. Disconnect AC adapter
  5. Wait 5 minutes
  6. Open lid and wake from sleep

I have been able to recreate the issue about 5 or 6 times successfully.

This is occurring with both the old and new plist. I have also tried updating VoodooI2C and I2CHID to the latest versions from rehabman, and still facing the same issues. I'm currently running OS 11 and latest Opencore.

I hope this helps my friend!

R

@profzei
Copy link
Owner

profzei commented Sep 9, 2020

@R-Teer Hi, I can't use my MBXP till tomorrow afternoon... so I can only suggest some more tests:

1- does the issue appear if sleep&wake phases are both on AC or on battery? I can guess the answer is no... at least in my case...

2- try to disable in config.plist 2 things: SSDT-ADP1.aml and the patch AC0_ to ADP1 (the need to be disabled together...)

It seems to me that the issue may be related to AC plug on&off during sleep&wake phases (I never do that before in my daily use)...

Please, at the moment, do not update VoodooI2C and VoodooI2CHID to 2.4.4+ since we are using a modified 2.4.3 version to fix some random boot issue for our "very annoying" touchpad!😆

@yamanadamnor
Copy link

the new config.plist did not fix anything in my case. Im running 10.15.6 on release 1.4.0 with itlwm kext enabled.

@profzei
Copy link
Owner

profzei commented Sep 10, 2020

@yamanadamnor Have you also tried what I suggested yesterday in my previous post?

@yamanadamnor
Copy link

@yamanadamnor Have you also tried what I suggested yesterday in my previous post?

I will try and report back

@yamanadamnor
Copy link

@yamanadamnor Have you also tried what I suggested yesterday in my previous post?
Unfortunately your suggestions did not fix the issue. The trackpad is still broken after sleep. Although i noticed that the trackpad worked for a split second upon opening the lid.

@profzei
Copy link
Owner

profzei commented Sep 13, 2020

Hi everybody this issue seems to be general i.e. related to VoodooI2C & company. For reference see

Work in progress to fix it!

@pablott
Copy link

pablott commented Sep 14, 2020

What's the difference in this plist? Other than the itlwm.kext setting.

@pablott : I re-enabled VoodooPS2Mouse and VoodooPS2Trackpad.kext... they were previously disabled in Release 1.1.0 in July according to acidanthera buglist

I can test suggestions and provide logs if that's needed.

@pablott : thank you very much...
Is your feedback still negative?
... this issue (for me) only appeared after applying Supplemental Update on 10.15.6, not before...

I'll make a new release in a few days surely before weekend!

I couldn't test yet. I'm on 10.15.6 and always been I think, so I can't really compare. I don't think this was caused by plugging/unplugging to AC. I keep my laptop in a drawer and occassionally take it out, without plugging to AC. It still happens, usually after hours of sleeping.
It seems is a bug in the Voodoo kext based on your last post so I may wait for a new release with the fix.

@wiregen
Copy link

wiregen commented Sep 17, 2020

I have a ThinkPad T460S running opencore. The git I was using migrated from VoodooI2C to VoodooRMI and it was so much better. Could something like that be implemented on the MateBook X Pro?

@pablott
Copy link

pablott commented Sep 20, 2020

I have a ThinkPad T460S running opencore. The git I was using migrated from VoodooI2C to VoodooRMI and it was so much better. Could something like that be implemented on the MateBook X Pro?

Can you share the git repo? Maybe we can learn something form the plist that they are using.

@wiregen
Copy link

wiregen commented Sep 21, 2020

I have a ThinkPad T460S running opencore. The git I was using migrated from VoodooI2C to VoodooRMI and it was so much better. Could something like that be implemented on the MateBook X Pro?

Can you share the git repo? Maybe we can learn something form the plist that they are using.

Here you go! https://github.com/VoodooSMBus/VoodooRMI

@wiregen
Copy link

wiregen commented Sep 23, 2020

I have a ThinkPad T460S running opencore. The git I was using migrated from VoodooI2C to VoodooRMI and it was so much better. Could something like that be implemented on the MateBook X Pro?

Can you share the git repo? Maybe we can learn something form the plist that they are using.

Sorry here is the repo for the T460S Im using that uses VoodooRMI - https://github.com/simprecicchiani/ThinkPad-T460s-macOS-OpenCore

@zhen-zen
Copy link

Hi all, I just made release v. 1.6.0 using new VoodooI2C v. 2.5.2... It seems quite stable, but not perfect (still some bugs ahimé...): I ran into the same issue after 12 sleep & wake-up phases.
At this point I really don't know what I'm supposed to do for resolving this issue apart reverting back to VoodooI2C v. 2.3! (but in that case experience with gestures was less smooth!)

Quite weird, maybe do a binary search like git-bisect? One issue I have run into during 2.3 -2.4 has "Timed out waiting for bus to change state" in log. However, I have no idea since there's nothing strange in your log.

@tlefko
Copy link

tlefko commented Oct 26, 2020

any fix found yet? have same issue

@mcoolidge
Copy link

Same here. It seems to freeze 4/5 times after sleep even on the latest versions.

@profzei
Copy link
Owner

profzei commented Oct 29, 2020

@mcoolidge @tlefko
Hi, atm, there is not a significant update for this issue: it's related on VoodooI2C v. 2.5.2 as stated in many posts in various forums and for a lot of hackintosh configuration. It's not a specific issue for our configuration or our machine...

If you like, you could use VoodooI2C and VoodooI2CHID v. 2.3: it's the latest release which was working fine, i.e. no issue after wake-up... but with a worse feeling for gestures... but you can use it as a fall-back just until an official fix by VoodooI2C team

Atm I worked a lot for improving network experience... and I think I'm happy about it... I'll make a release within a few days

@mcoolidge
Copy link

Thanks profzei! Let me know if I can help with anything.

@tlefko
Copy link

tlefko commented Oct 29, 2020

@mcoolidge @tlefko
Hi, atm, there is not a significant update for this issue: it's related on VoodooI2C v. 2.5.2 as stated in many posts in various forums and for a lot of hackintosh configuration. It's not a specific issue for our configuration or our machine...
If you like, you could use VoodooI2C and VoodooI2CHID v. 2.3: it's the latest release which was working fine, i.e. no issue after wake-up... but with a worse feeling for gestures... but you can use it as a fall-back just until an official fix by VoodooI2C team
Atm I worked a lot for improving network experience... and I think I'm happy about it... I'll make a release within a few days

@profzei
was going to say, I can't get Airportitlwm enabled in both Big Sur and Catalina, invalid kext parameter.
Currently am using clover with i2c 2.4 and have smooth gestures btw, and Airportitlwm -- want to switch to OC for Big Sur though

you can use the IO80211 family kext integrated with Airportitlwm as a plugin perhaps, that's how I enabled it on clover

-all the best

@profzei
Copy link
Owner

profzei commented Oct 29, 2020

was going to say, I can't get Airportitlwm enabled in both Big Sur and Catalina, invalid kext parameter.
Currently am using clover with i2c 2.4 and have smooth gestures btw, and Airportitlwm -- want to switch to OC for Big Sur though

you can use the IO80211 family kext integrated with Airportitlwm as a plugin perhaps, that's how I enabled it on clover

-all the best

Atm I'm using AirportItlwm.kext without any issue on OC 0.6.2 following what I wrote on Network section... I abandoned Clover some months ago... I can also say that I created a compact version for AirportItlwm.kext which is only 2-3 MB instead of 10 MB... this is one of the items I'm working on these days and it will be available in a few days as stated above...

@tlefko
Copy link

tlefko commented Oct 29, 2020

was going to say, I can't get Airportitlwm enabled in both Big Sur and Catalina, invalid kext parameter.
Currently am using clover with i2c 2.4 and have smooth gestures btw, and Airportitlwm -- want to switch to OC for Big Sur though
you can use the IO80211 family kext integrated with Airportitlwm as a plugin perhaps, that's how I enabled it on clover
-all the best

Atm I'm using AirportItlwm.kext without any issue on OC 0.6.2 following what I wrote on Network section... I abandoned Clover some months ago... I can also say that I created a compact version for AirportItlwm.kext which is only 2-3 MB instead of 10 MB... this is one of the items I'm working on these days and it will be available in a few days as stated above...

yeah, im not sure what I did wrong --- im not experienced with open core, I followed your instructions for the forcekexttoload option. regardless, I look forward to the release :)

@Vatri91
Copy link

Vatri91 commented Nov 12, 2020

Was it possible to fix the bug in the last update from today?

@profzei
Copy link
Owner

profzei commented Nov 12, 2020

@Vatri91
Hi, I'm still working on it... time for experimenting long sleep periods is not much since I'm using MBXP as my daily driver...
🤞🏻

@isuke01
Copy link

isuke01 commented Nov 17, 2020

@profzei
Hey, I see this trackpad issue with almost every third sleep with BigSur 11.0.1, OC 0.6.3. even for not long sleeps like few minutes. If I can provide somehow logs for that I would be glad to help (I'm not sure how to get logs or something that can help to debug this issue)

@sagar-chandarana
Copy link

sagar-chandarana commented Nov 21, 2020

I imagine this is very annoying for people, for me it's been a struggle restarting all the time. Thanks for all your work @profzei just bought you a coffee.

@sagar-chandarana
Copy link

sagar-chandarana commented Nov 21, 2020

I replaced VoodooI2C.kext and VoodooI2CHID.kext with v2.3 and it just stopped booting, stuck at apple logo. What am I missing?
Edit: disabled VoodooInput and it's working now.

@profzei
Copy link
Owner

profzei commented Nov 21, 2020

@sagar-chandarana Thank you so much for your appreciation!
Are you using Big Sur 11.0.1 Public Release? ...and release 1.7.0?
Honestly, now I'm testing hibernatemode 25 so hibernate instead of sleep while I am monitoring the evolution of the state of VoodooI2C

@isuke01 Are you using latest release 1.7.0? If I remember well, your post was in the morning while my release was in the evening... sorry but I was very busy...

@sagar-chandarana
Copy link

sagar-chandarana commented Nov 23, 2020

@profzei I am still on Catalina latest update for now. Would be curious to know, for track pad, are things more stable with Big Sur? Does Hibernate work natively? Perhaps too early to say atm. Will wait a bit before I upgrade my daily work machine

@isuke01
Copy link

isuke01 commented Nov 23, 2020

@profzei
Hey, sorry I was busy too, we all have work and live I can undestand it :)
No I wasn't on 1.7.0 as far as I remember I think it wasn't there yet, I'll do some testing today hopefully since I want to test some performance against Windows in some apps :)

@profzei
Copy link
Owner

profzei commented Nov 24, 2020

@sagar-chandarana

Does Hibernate work natively?

I'm testing it... 'till now all is fine but I'm not able to "first sleep & then hibernate" but only hibernate closing lid for now... wip

@sagar-chandarana
Copy link

sagar-chandarana commented Nov 24, 2020 via email

@LavenderMP
Copy link

I solve this problem when using disable touch screen.
hope that help

@profzei
Copy link
Owner

profzei commented Nov 25, 2020

@LavenderMP Thank you for your feedback!
Also for me, 'till now, touchpad is working well after sleep&wake-up phase disabling touchscreen... this seems to be supported by @fewtarius's opinions in VoodooI2C issue section where he stated that the MultiGPIO feature enabled in VoodooI2C kext is buggy... so since we have two I2C devices (i.e. touchpad & touchscreen) a conservative approach is disabling one of them... i.e. touchscreen until an official fix will be released by VoodooI2C team.

Please, anyone interested see here using SSDT-DTPD.aml and related config.plist.
If your feedback will be positive, then I'll add them in next release...

@Vatri91
Copy link

Vatri91 commented Nov 25, 2020

Nice to hear that :) We already have a hackintosh that works perfectly :)

@ldan93
Copy link

ldan93 commented Nov 26, 2020

Disabling the touchscreen also seems to fix the issue on my side : 3rd day without any trackpad failure. Wonderful :)

@wiregen
Copy link

wiregen commented Nov 27, 2020

This is day 3 for me also with no trackpad freezing from wake! Woohoo!

@mcoolidge
Copy link

It's been a few days for me with the .aml file and modified config. No issues so far!

@sagar-chandarana
Copy link

upvoting this to be included as an official fix in the next release, along with a patch for people who would like to reenable touch

@panda2k
Copy link
Author

panda2k commented Nov 29, 2020

New .aml and modified config have completely fixed trackpad issues for me. I'm on 11.0.1 too.

@profzei
Copy link
Owner

profzei commented Nov 29, 2020

@panda2k @sagar-chandarana @mcoolidge @wiregen @ldan93 @Vatri91 @LavenderMP In Italian spoke we say: "Bene bene bene!" Thank you very much for your feedback! This fix will be included in the next maintenance release scheduled immediately after the next Acidanthera team update!

@profzei profzei closed this as completed Nov 29, 2020
@mkdj77
Copy link

mkdj77 commented Oct 17, 2021

i have same issues guess trackpad only works after sleep and not on boot
but soon gets disabled again.
x360 laptop 10th gen
synaptics trackpad
i5 10210u

@profzei
Copy link
Owner

profzei commented Oct 17, 2021

@mkdj77 What you reported is related to the fact your DSDT is not compatible with Huawei Matebook X Pro 2018 one...
I'm sorry but you need to patch your DSDT by yourself... Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests