{"id":30520,"date":"2020-10-22T15:58:53","date_gmt":"2020-10-22T19:58:53","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=30520"},"modified":"2020-11-02T16:25:31","modified_gmt":"2020-11-02T21:25:31","slug":"unresponsive-keyboard-after-waking-mac","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/10\/22\/unresponsive-keyboard-after-waking-mac\/","title":{"rendered":"Unresponsive Keyboard After Waking Mac"},"content":{"rendered":"<p><a href=\"https:\/\/news.ycombinator.com\/item?id=24839101\">eptcyka<\/a>:<\/p>\n<blockquote cite=\"https:\/\/news.ycombinator.com\/item?id=24839101\"><p>Apple seems to do all kinds of weird networking <em>stuff<\/em>. For instance, during wakeup, your T2 equipped Macbook will wait for a DNS response and then use said DNS response to synchronize time via NTP before letting the user use the keyboard. Probably checking timestamps on signatures for the keyboard firmware, or something stupid like that. This only happens if it happens to have a default route.<\/p><p>Similarly, all macOS machines will test a DHCP supplied default route before applying it by trying to reach something on the internet. So if you happen to have some firewall rules that block internet access, no default route will be applied until the internet check times out.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/10\/22\/apple-apps-exempt-from-network-filters-and-vpns\/\">Apple Apps Exempt From Network Filters and VPNs<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/10\/07\/checkra1n-t2-exploit\/\">checkra1n T2 Exploit<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/05\/22\/macos-10-15-slow-by-design\/\">macOS 10.15: Slow by Design<\/a><\/li>\n<\/ul>\n\n<p id=\"unresponsive-keyboard-after-waking-mac-update-2020-11-02\">Update (2020-11-02): <a href=\"https:\/\/twitter.com\/benskuhn\/status\/1318695731432128513\">Ben Kuhn<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/benskuhn\/status\/1318695731432128513\">\n<p>I noticed my MacBook would sometimes become unresponsive to keyboard input after opening the lid.<\/p>\n<p>Eventually I realized it only happened in my backyard. WTF?!<\/p>\n<p>Finally figured out why and the answer is... horrifying<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>eptcyka: Apple seems to do all kinds of weird networking stuff. For instance, during wakeup, your T2 equipped Macbook will wait for a DNS response and then use said DNS response to synchronize time via NTP before letting the user use the keyboard. Probably checking timestamps on signatures for the keyboard firmware, or something stupid [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-10-22T19:58:56Z","apple_news_api_id":"d1fd1e07-5021-4199-848a-c4e9feaba228","apple_news_api_modified_at":"2020-11-02T21:25:35Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/A0f0eB1AhQZmEisTp_quiKA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1607,728,423,30,1666,476,48,364],"class_list":["post-30520","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-t2","tag-domain-name-system-dns","tag-keyboard","tag-mac","tag-macos-10-15","tag-networking","tag-security","tag-time"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=30520"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30520\/revisions"}],"predecessor-version":[{"id":30566,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30520\/revisions\/30566"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=30520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=30520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=30520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}