profzei / Matebook-X-Pro-2018

💻 Latest macOS on Huawei Matebook X Pro 2018
Apache License 2.0
371 stars 49 forks source link

Trackpad Occasionally Stops Working After Sleep #46

Closed panda2k closed 3 years ago

panda2k commented 4 years ago

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

mcoolidge commented 3 years ago

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

profzei commented 3 years ago

@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 commented 3 years ago

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

tlefko commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

profzei commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

Got it. Good luck!

On Tue, 24 Nov, 2020, 14:56 profzei, notifications@github.com wrote:

@sagar-chandarana https://github.com/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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/profzei/Matebook-X-Pro-2018/issues/46#issuecomment-733141018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA24JOJW7LPIUQDNJJJPIQDSRPXUJANCNFSM4QKC63KA .

LavenderMP commented 3 years ago

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

profzei commented 3 years ago

@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 commented 3 years ago

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

ldan93 commented 3 years ago

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

wiregen commented 3 years ago

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

mcoolidge commented 3 years ago

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

sagar-chandarana commented 3 years ago

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 commented 3 years ago

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

profzei commented 3 years ago

@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!

mkdj77 commented 2 years ago

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 commented 2 years ago

@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!