Problem pairing Apple Wireless Keyboard A1016 (1st gen) with Ubuntu 18.04/18.10











up vote
0
down vote

favorite












I have a mid-2014 15" MacBook Pro running Ubuntu 18.10. I have successfully paired an Apple Wireless Keyboard A1255 (one of the previous generation before the Magic Keyboard). However, I have a problem with my favorite keyboard, an 1st-gen Apple Wireless Keyboard (model A1016, the white plastic one).



I've been looking all over and it seems like these keyboards are quite finicky, but some people have reported success. However, I have followed their steps and have been unable to do it.



This is what I'm doing (and which worked with the A1255):




$ bluetoothctl --agent KeyboardOnly
Agent registered
[tumbolia keyboard]# agent on
Agent is already registered
[tumbolia keyboard]# default-agent
Default agent request successful
[tumbolia keyboard]# scan on
Discovery started
... wait for the keyboard's MAC to appear
[CHG] Device 00:0A:95:48:C3:A2 LegacyPairing: yes
[CHG] Device 00:0A:95:48:C3:A2 RSSI: -40
[tumbolia keyboard]# pair 00:0A:95:48:C3:A2
Attempting to pair with 00:0A:95:48:C3:A2
... wait for a while
Failed to pair: org.bluez.Error.AuthenticationTimeout



However, if I hit Enter on the keyboard I'm trying to pair while bluetoothctl is attempting to pair, I get:




[agent] PIN code: 691484



If I enter that PIN followed by Enter, I get another different PIN, and so on until it times out.



From this it would look like the agent is displaying the PIN code after it has been entered, instead of before (which of course makes it impossible to pair, since I don't know the PIN I have to enter before I enter it).



When I paired the aluminum keyboard (the A1255) it worked correctly, I got the PIN prompt before entering it.



Any ideas?










share|improve this question




























    up vote
    0
    down vote

    favorite












    I have a mid-2014 15" MacBook Pro running Ubuntu 18.10. I have successfully paired an Apple Wireless Keyboard A1255 (one of the previous generation before the Magic Keyboard). However, I have a problem with my favorite keyboard, an 1st-gen Apple Wireless Keyboard (model A1016, the white plastic one).



    I've been looking all over and it seems like these keyboards are quite finicky, but some people have reported success. However, I have followed their steps and have been unable to do it.



    This is what I'm doing (and which worked with the A1255):




    $ bluetoothctl --agent KeyboardOnly
    Agent registered
    [tumbolia keyboard]# agent on
    Agent is already registered
    [tumbolia keyboard]# default-agent
    Default agent request successful
    [tumbolia keyboard]# scan on
    Discovery started
    ... wait for the keyboard's MAC to appear
    [CHG] Device 00:0A:95:48:C3:A2 LegacyPairing: yes
    [CHG] Device 00:0A:95:48:C3:A2 RSSI: -40
    [tumbolia keyboard]# pair 00:0A:95:48:C3:A2
    Attempting to pair with 00:0A:95:48:C3:A2
    ... wait for a while
    Failed to pair: org.bluez.Error.AuthenticationTimeout



    However, if I hit Enter on the keyboard I'm trying to pair while bluetoothctl is attempting to pair, I get:




    [agent] PIN code: 691484



    If I enter that PIN followed by Enter, I get another different PIN, and so on until it times out.



    From this it would look like the agent is displaying the PIN code after it has been entered, instead of before (which of course makes it impossible to pair, since I don't know the PIN I have to enter before I enter it).



    When I paired the aluminum keyboard (the A1255) it worked correctly, I got the PIN prompt before entering it.



    Any ideas?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a mid-2014 15" MacBook Pro running Ubuntu 18.10. I have successfully paired an Apple Wireless Keyboard A1255 (one of the previous generation before the Magic Keyboard). However, I have a problem with my favorite keyboard, an 1st-gen Apple Wireless Keyboard (model A1016, the white plastic one).



      I've been looking all over and it seems like these keyboards are quite finicky, but some people have reported success. However, I have followed their steps and have been unable to do it.



      This is what I'm doing (and which worked with the A1255):




      $ bluetoothctl --agent KeyboardOnly
      Agent registered
      [tumbolia keyboard]# agent on
      Agent is already registered
      [tumbolia keyboard]# default-agent
      Default agent request successful
      [tumbolia keyboard]# scan on
      Discovery started
      ... wait for the keyboard's MAC to appear
      [CHG] Device 00:0A:95:48:C3:A2 LegacyPairing: yes
      [CHG] Device 00:0A:95:48:C3:A2 RSSI: -40
      [tumbolia keyboard]# pair 00:0A:95:48:C3:A2
      Attempting to pair with 00:0A:95:48:C3:A2
      ... wait for a while
      Failed to pair: org.bluez.Error.AuthenticationTimeout



      However, if I hit Enter on the keyboard I'm trying to pair while bluetoothctl is attempting to pair, I get:




      [agent] PIN code: 691484



      If I enter that PIN followed by Enter, I get another different PIN, and so on until it times out.



      From this it would look like the agent is displaying the PIN code after it has been entered, instead of before (which of course makes it impossible to pair, since I don't know the PIN I have to enter before I enter it).



      When I paired the aluminum keyboard (the A1255) it worked correctly, I got the PIN prompt before entering it.



      Any ideas?










      share|improve this question















      I have a mid-2014 15" MacBook Pro running Ubuntu 18.10. I have successfully paired an Apple Wireless Keyboard A1255 (one of the previous generation before the Magic Keyboard). However, I have a problem with my favorite keyboard, an 1st-gen Apple Wireless Keyboard (model A1016, the white plastic one).



      I've been looking all over and it seems like these keyboards are quite finicky, but some people have reported success. However, I have followed their steps and have been unable to do it.



      This is what I'm doing (and which worked with the A1255):




      $ bluetoothctl --agent KeyboardOnly
      Agent registered
      [tumbolia keyboard]# agent on
      Agent is already registered
      [tumbolia keyboard]# default-agent
      Default agent request successful
      [tumbolia keyboard]# scan on
      Discovery started
      ... wait for the keyboard's MAC to appear
      [CHG] Device 00:0A:95:48:C3:A2 LegacyPairing: yes
      [CHG] Device 00:0A:95:48:C3:A2 RSSI: -40
      [tumbolia keyboard]# pair 00:0A:95:48:C3:A2
      Attempting to pair with 00:0A:95:48:C3:A2
      ... wait for a while
      Failed to pair: org.bluez.Error.AuthenticationTimeout



      However, if I hit Enter on the keyboard I'm trying to pair while bluetoothctl is attempting to pair, I get:




      [agent] PIN code: 691484



      If I enter that PIN followed by Enter, I get another different PIN, and so on until it times out.



      From this it would look like the agent is displaying the PIN code after it has been entered, instead of before (which of course makes it impossible to pair, since I don't know the PIN I have to enter before I enter it).



      When I paired the aluminum keyboard (the A1255) it worked correctly, I got the PIN prompt before entering it.



      Any ideas?







      keyboard bluetooth macbook-pro apple wireless-keyboards






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 30 at 10:25

























      asked Nov 29 at 22:34









      Mario Camou

      1013




      1013



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097282%2fproblem-pairing-apple-wireless-keyboard-a1016-1st-gen-with-ubuntu-18-04-18-10%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097282%2fproblem-pairing-apple-wireless-keyboard-a1016-1st-gen-with-ubuntu-18-04-18-10%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido