Keyboard and touchpad lost after sleep

Occasionally, not always, after the Catalina upgrade, whenever my macbook sleeps, I lose the keyboard and the touchpad.

I must use my fingerprint to log in and once I do, I have no touchpad nor keyboard. I need to reboot everytime this happens.

Posted on Oct 10, 2019 2:08 PM

Reply
Question marked as Top-ranking reply

Posted on May 26, 2020 8:56 PM

Ok, I can confirm that 10.15.5 released today does not fix this issue.

For all the troubled souls like myself in this forum and beyond, here is a temporary workaround I figured out yesterday to get this gremlin out of your sight, until Apple officially fixes this.

Since the bug only occurs when Wi-Fi is on, we can create a process that automatically turns off Wi-Fi upon sleeping and turns it back on from waking up.


  • Install Homebrew

Copy this line to Terminal and hit Enter.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"


  • Enter
brew install sleepwatcher

to install Sleepwatcher.


  • Enter the following code to create two files . sleep and .wakeup in the home directory ~/
touch ~/.sleep && chmod 700 ~/.sleep
touch ~/.wakeup && chmod 700 ~/.wakeup


  • Go to ~/ and edit .sleep and .wakeup with a code editor of your choice, I used Xcode. These would dictate how Sleepwatcher would perform.

For .sleep

#!/bin/bash
networksetup setairportpower en0 off


For .wakeup

#!/bin/bash
networksetup setairportpower en0 on


  • Finally, enter the following code in Terminal that would configure launchd to run Sleepwatcher at startup or login
cp /usr/local/Cellar/sleepwatcher/2.2.1/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist



Now everything is set, go on and close the lid, wait awhile and reopen it, notice the Wi-Fi icon is off and quickly turns back on.


Although this is not the most elegant solution, it eases me from the paranoia that makes my blood frozen every time I suspect to see a yet again frozen computer. A moment of idea and inspiration just can't wait an extra 15 seconds.


I'm not an expert in these, if anyone would spot a mistake or suggest a better solution please post here, thank you.


I learned from these sources:

https://www.kodiakskorner.com/log/258

https://gist.github.com/ziadoz/7bddcf346adb89da1e990126c9f82429

https://github.com/wujunchuan/wujunchuan.github.io/issues/9


Similar questions

282 replies

Feb 25, 2020 1:50 AM in response to servo186

I'm on a brand new 16" macbook pro. No VM ware. And same problem! sometimes 10-30 sec and it fixes itself, sometimes it doesn't. Looks like a 10.15 bug. Apple are you monitoring this ?


Also, I have wifi on all the time and for me that is a constant. Will be a real pain if I have to manually turn it off before sleep. In that case I'll probably run Amphetamine al the time!

Apr 13, 2020 9:18 PM in response to servo186

I just started having this issue tonight on my 13" 2019 MacBook Pro. I do have a VPN but it's rarely connected (it wasn't tonight) and I'm on Catalina. The only weird thing today is that my WiFi's been really spotty all night so I'm not sure if that's somehow causing it. It shouldn't be the issue. I haven't done any troubleshooting yet but just wanted to chime in and report that yet another 2019 Pro is experiencing this problem. Hopefully Apple will notice.

May 14, 2020 9:48 AM in response to servo186

I have this exact same issue on my Macbook "Pro" 2018 touchbar with the latest Catalina version. I just reinstalled the OS and didn't even installed any program or application. After a few hours, the problem appeared again. Can't believe that a 3000$ laptop is having this kind of issues!! Already filled up the feedback report and I'm going to publish this on social media. Let's see if that makes Apple react.

May 20, 2020 8:56 PM in response to thinman.

I haven't had the issue for a couple of days. Although my laptop seems to be suffering from nightly rebooting errors.


Is it software that we all share? I mean nonapp store stuff that is causing it? I am using an airbook 2020 i5 and a macbook pro 16 2019. ONly using one blue tooth device (Jabra MOVE v2.5.0 headset)


I have the following installed that might be non-app store (actually some are):


Zoom

Wechat

URL shortener

Turbo Boost switcher pro

Toothfairy

There

Teamview

speed test

Sophos

Skype

Pock

PDF editor 6

Parallels toolbox

Parallels

Onedrive

Nordvpn

Nightowl

Microsoft suit including Teams

Macupdater

MAc fan control

Intel Power gadget

Grammarly

Chrome

Gemini 2

Folx

Enolsoft pdf password remover

drop over

discord

Clean my macx

Bartender 3

BAck up and sync

Audacity

AStrill VPN

Annotate

Android File transfer

Amazon photos

Alfred


One of these perhaps?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Keyboard and touchpad lost after sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.