{"id":17338,"date":"2017-03-08T11:36:45","date_gmt":"2017-03-08T16:36:45","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=17338"},"modified":"2017-10-02T16:11:59","modified_gmt":"2017-10-02T20:11:59","slug":"sierra-bluetooth-problems-and-the-logitech-k811-keyboard","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/03\/08\/sierra-bluetooth-problems-and-the-logitech-k811-keyboard\/","title":{"rendered":"Sierra Bluetooth Problems and the Logitech K811 Keyboard"},"content":{"rendered":"<p>Ever since updating to macOS 10.12.2, my MacBook Pro has had horrible problems with Bluetooth. Multiple times per day, the keyboard disconnects. Sometimes it reconnects automatically a few seconds later. Sometimes it reconnects only after I power cycle it or toggle Bluetooth. Sometimes to get it to reconnect I have to reset the Mac&rsquo;s Bluetooth module by holding down the Option and Shift keys (on the internal keyboard, natch) to access the Debug submenu of the Bluetooth menu bar icon. And sometimes all that fails and I have to reboot the Mac.<\/p>\n\n<p>At first I thought this was due to a hardware problem with my original aluminum Apple keyboard. I had been able to <a href=\"http:\/\/mjtsai.com\/blog\/2015\/04\/26\/reviving-an-apple-wireless-keyboard\/\">extend its life<\/a> by making better connections to the batteries, but power problems with this model seem to be common, and eventually something inside of it breaks.<\/p>\n\n<p>Liking the keyboard&rsquo;s feel, but tired of dealing with the AA batteries, I replaced it with a <a href=\"http:\/\/www.apple.com\/shop\/product\/MLA22LL\/A\/magic-keyboard-us-english\">Magic Keyboard<\/a> (<a href=\"http:\/\/www.amazon.com\/dp\/B016QO64FI\/?tag=michaeltsai-20\">Amazon<\/a>). I ended up liking the Magic Keyboard slightly less, as it&rsquo;s flatter, it&rsquo;s harder to feel the edges of the keys, and the left-right arrow keys are harder to find because they aren&rsquo;t half-size.<\/p>\n\n<p>More importantly, the Magic Keyboard <em>also<\/em> would disconnect all the time. Sometimes it would reconnect and think that a key was stuck down. I&rsquo;d see the same letter repeat for several lines, or see several lines of text delete one character at a time. Still suspecting a hardware problem, I reported these problems to Apple Care. After ruling out Wi-Fi as a cause and also reproducing the problem on a second Mac, I got them to send me a replacement Magic Keyboard. It exhibited the exact same problems. Curiously, the Magic Keyboard also did not work reliably when directly connected via Lightning. I had thought that when used with a cable it would act like a regular USB keyboard, but apparently the cable only provides charging and Bluetooth pairing assistance.<\/p>\n\n<p>Thinking\/hoping that the problem was with Apple&rsquo;s keyboards, I then bought a <a href=\"https:\/\/www.logitech.com\/en-us\/product\/illuminated-keyboard-for-mac-ipad-iphone\">Logitech K811<\/a> (<a href=\"http:\/\/www.amazon.com\/dp\/B0099SMFP2\/?tag=michaeltsai-20\">Amazon<\/a>), which I&rsquo;d heard good things about. Indeed, it&rsquo;s a great keyboard. It&rsquo;s like an improved version of the Apple aluminum keyboard that I liked so much. It can pair with three different devices at once and quickly switch between them. It&rsquo;s still low-profile, but the keys have slightly more travel than Apple&rsquo;s, they&rsquo;re slightly clickier, and there are larger spaces between them, so it&rsquo;s easier to feel their edges. It has the T-shaped arrow key layout, and you also get an extra function key: F13. One downside is that some of the hardware functions (like brightness) are assigned to different F numbers than on the internal keyboard, and I have had a hard time getting used to this.<\/p>\n\n<p>There are also a bunch of software issues compared with the Apple keyboard. The OS doesn&rsquo;t know the keyboard&rsquo;s battery level. You need to install a <a href=\"http:\/\/apple.stackexchange.com\/q\/197719\/2121\">kernel extension<\/a> to make the media keys behave as standard function keys. Both the menu bar and flashing bezel indicators for Caps Lock get out of sync with the actual state of the key. It keeps forgetting the level I&rsquo;ve set for the keyboard backlight. LaunchBar and Dictation can&rsquo;t detect taps of the fn key.<\/p>\n\n<p>And the Enter key doesn&rsquo;t work. You&rsquo;re supposed to be able to type Enter by pressing fn-Return, but (unlike with Apple&rsquo;s keyboard) this <a href=\"http:\/\/apple.stackexchange.com\/questions\/40192\/how-can-i-tell-exactly-what-keys-are-being-pressed-on-the-mac\">just generates a Return<\/a>. Logitech support first blamed this on a defective keyboard and sent me a replacement that had the same problem (as did another, older, Logitech keyboard that I tried). They then blamed a recent OS update, but I reproduced the problem on 10.10. It&rsquo;s <a href=\"http:\/\/apple.stackexchange.com\/q\/267547\/2121\">possible<\/a> to use <a href=\"https:\/\/github.com\/tekezo\/Karabiner-Elements\">Karabiner Elements<\/a> to program another key to act as Enter, but that didn&rsquo;t seem worth the extra software to me. Instead, I opted to use the alternate keyboard shortcuts&mdash;unfortunately not consistent&mdash;in the apps where I used Enter: Control-Return to execute a BBEdit shell worksheet command, Command-Return to send a tweet in Tweetbot, Command-Return to submit an event edit in Fantastical, and Command-K to compile an AppleScript in Script Debugger.<\/p>\n\n<p>The main problem, though, is that the K811 is subject to the same disconnection issues as Apple&rsquo;s keyboard, although it seems to be slightly better at auto-reconnecting and does not repeat keys. I&rsquo;m now convinced that the Bluetooth keyboard problems, which <a href=\"https:\/\/robservatory.com\/debugging-bluetooth-issues-in-macos-sierra\/\">others<\/a> <a href=\"https:\/\/twitter.com\/pgor\/status\/838961394145906690\">have<\/a> <a href=\"http:\/\/d.dafacto.com\/9c8g\">also<\/a> noticed, are due to an OS bug. And it&rsquo;s not limited to keyboards: when I tested a Microsoft Bluetooth mouse, it also kept disconnecting. Fortunately, <a href=\"http:\/\/mjtsai.com\/blog\/2017\/02\/23\/magicgrips-for-magic-mouse\/#comment-2680219\">my wireless mouse<\/a> does not rely on Bluetooth.<\/p>\n<p>The keyboard disconnections have gotten so frequent that I pulled my <a href=\"http:\/\/www.apple.com\/shop\/product\/MB110LL\/B\/apple-keyboard-with-numeric-keypad-us-english\">Apple aluminum USB keyboard<\/a> out of storage. It works reliably, but I miss the narrower layout of the newer keyboards (which keep my mouse more centered), I keep forgetting that the corner key is Control rather than fn, and I miss the dual-purpose function keys that fn enables.<\/p>\n\n<p>Update (2017-03-08): <a href=\"https:\/\/twitter.com\/addisonwebb\/status\/839541842572165121\">Addison Webb<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/addisonwebb\/status\/839541842572165121\"><p>I&rsquo;m having the exact same issues with my Late 2015 iMac. It&rsquo;s super annoying and I also solved the problem with my Apple USB keyboard.<\/p><\/blockquote>\n<p><a href=\"https:\/\/twitter.com\/jordanmerrick\/status\/839545704427237376\">Jordan Merrick<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/jordanmerrick\/status\/839545704427237376\"><p>I have two Logitech BT keyboards, K780 and K380. Both completely unusable with Sierra, yet worked flawlessly with El Cap.<\/p><\/blockquote>\n<p>I was able to get the Magic Keyboard to work in wired mode by connecting it via Lightning and then unpairing it in the Bluetooth pane in System Preferences. I expect this to be more reliable, though it keeps auto re-pairing even before I reboot. I don&rsquo;t want to turn Bluetooth off entirely because I use it for my AirPods and Universal Clipboard.<\/p>\n\n<p><a href=\"https:\/\/pxlnv.com\/linklog\/stuck-mouse-cursor-graphic-bug\/\">Nick Heer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/pxlnv.com\/linklog\/stuck-mouse-cursor-graphic-bug\/\"><p>Sierra also introduced a couple of serious bugs with the way keyboards and trackpads are interpreted. I occasionally notice keypresses getting &ldquo;stuck&rdquo;, and my cursor sometimes lags when it is moved. Both of these bugs have been destructive for me: I have, more than once, deleted the wrong file, and have selected the wrong action in several applications.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/dssstrkl\/status\/839570750793117696\">Paul Ward<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/dssstrkl\/status\/839570750793117696\"><p>Same problem with an MX Master &amp; K780. My MBP lives on a swing arm, &amp; the problem is reduced when I move it away from the desk.<\/p><\/blockquote>\n\n<p>Update (2017-03-17): <a href=\"https:\/\/twitter.com\/DanFrakes\/status\/842581489166381056\">Dan Frakes<\/a> recommends <a href=\"http:\/\/kevingessner.com\/software\/functionflip\/\">FunctionFlip<\/a>, which uses the accessibility APIs to invert the behavior of the function keys so that a kernel extension is not needed.<\/p>\n\n<p>Update (2017-10-02): <a href=\"http:\/\/atp.fm\/episodes\/241\">Marco Arment<\/a> is also seeing Bluetooth disconnections with Sierra.<\/p>","protected":false},"excerpt":{"rendered":"<p>Ever since updating to macOS 10.12.2, my MacBook Pro has had horrible problems with Bluetooth. Multiple times per day, the keyboard disconnects. Sometimes it reconnects automatically a few seconds later. Sometimes it reconnects only after I power cycle it or toggle Bluetooth. Sometimes to get it to reconnect I have to reset the Mac&rsquo;s Bluetooth [&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":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[1143,422,131,828,423,1489,30,1381,1490],"class_list":["post-17338","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-software-quality","tag-bluetooth","tag-bug","tag-kernel-extensions","tag-keyboard","tag-logitech","tag-mac","tag-macos-10-12","tag-magic-keyboard"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17338","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=17338"}],"version-history":[{"count":9,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17338\/revisions"}],"predecessor-version":[{"id":19066,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17338\/revisions\/19066"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=17338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=17338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=17338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}