Apple Magic Mouse 2 scrolling not working












4















I'm willing to pay someone to develop a solution.



I'm using a fresh install of vanilla Ubuntu 16.04.3 with an Apple Magic Mouse 2.



The device connected via Bluetooth without issue, and recognizes left and right click out of the box.



However, it does not recognize scrolling.



I have found numerous forum posts and blog articles about this, but the solutions are either outdated or are incomplete.



I'm wondering if anyone has it working and can explain how I can get it working.



Note: hid_magicmouse / hid-magicmouse module is not available on my machine and have not been able to locate instructions on how to install it.










share|improve this question





























    4















    I'm willing to pay someone to develop a solution.



    I'm using a fresh install of vanilla Ubuntu 16.04.3 with an Apple Magic Mouse 2.



    The device connected via Bluetooth without issue, and recognizes left and right click out of the box.



    However, it does not recognize scrolling.



    I have found numerous forum posts and blog articles about this, but the solutions are either outdated or are incomplete.



    I'm wondering if anyone has it working and can explain how I can get it working.



    Note: hid_magicmouse / hid-magicmouse module is not available on my machine and have not been able to locate instructions on how to install it.










    share|improve this question



























      4












      4








      4








      I'm willing to pay someone to develop a solution.



      I'm using a fresh install of vanilla Ubuntu 16.04.3 with an Apple Magic Mouse 2.



      The device connected via Bluetooth without issue, and recognizes left and right click out of the box.



      However, it does not recognize scrolling.



      I have found numerous forum posts and blog articles about this, but the solutions are either outdated or are incomplete.



      I'm wondering if anyone has it working and can explain how I can get it working.



      Note: hid_magicmouse / hid-magicmouse module is not available on my machine and have not been able to locate instructions on how to install it.










      share|improve this question
















      I'm willing to pay someone to develop a solution.



      I'm using a fresh install of vanilla Ubuntu 16.04.3 with an Apple Magic Mouse 2.



      The device connected via Bluetooth without issue, and recognizes left and right click out of the box.



      However, it does not recognize scrolling.



      I have found numerous forum posts and blog articles about this, but the solutions are either outdated or are incomplete.



      I'm wondering if anyone has it working and can explain how I can get it working.



      Note: hid_magicmouse / hid-magicmouse module is not available on my machine and have not been able to locate instructions on how to install it.







      mouse touchpad bluetooth apple






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 25 '17 at 11:13









      Fabby

      26.7k1360160




      26.7k1360160










      asked Aug 13 '17 at 0:47









      Spencer HillSpencer Hill

      197212




      197212






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Since Apple's stuffs is weird, give a try to a newer (or better, the latest) version of Ubuntu (the 17.10).



          This lets you to use the latest kernel, which it has a more complete hardware support.






          share|improve this answer
























          • Thank you for the reply, but I am already running 17.10 and have also tested on 16.04 and 17.04.

            – Spencer Hill
            Oct 30 '17 at 8:26



















          0














          Things worth to try:





          • checking if udev correctly recognizes your mouse (I mean as Magic Mouse):



            Here is a snippet of my (Ubuntu 16.04) /lib/udev/hwdb.d/90-libinput-model-quirks.hwdb



            # Apple
            ##########################################
            libinput:touchpad:input:b0003v05ACp*
            libinput:touchpad:input:b0005v05ACp*
            LIBINPUT_MODEL_APPLE_TOUCHPAD=1
            LIBINPUT_ATTR_SIZE_HINT=104x75

            libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:*
            LIBINPUT_MODEL_APPLE_INTERNAL_KEYBOARD=1

            libinput:mouse:input:b0005v05ACp030D*
            LIBINPUT_MODEL_APPLE_MAGICMOUSE=1


            What if you need your Magic Mouse 2 to enable LIBINPUT_MODEL_APPLE_MAGICMOUSE? I do not have these devices, but as I checked Magic Mouse 1 and Magic Mouse 2 has no functional difference (from computer point of view) - maybe just the "name", like b0005v05ACp030D




          • playing with udev hwdb data (/etc/udev/hwdb.d) - original files are sitting in /lib/udev/hwdb.d.



            I suggest to start with sudo evtest (choose the Magic Mouse input device) and try to scroll. You will see what udev events show up. If evtest gave events exclusively scroll-up/down, you can make conversion here.



            Until here no programming skills were needed.



          • If nothing helped (but you got udev events) you can create "custom" event program, like I tried (changing my power button to KEY_4 or make working my Wifi button). Source is here: Is there a way to disable Airplane mode button on laptop keyboard?







          share|improve this answer


























          • Thanks Mark. These seem like ideas I will test and get back to you.

            – Spencer Hill
            Oct 31 '17 at 16:46











          • Okay, so I checked my /lib/udev/hwdb.d/70-mouse.hwdb file and confirmed I have the same line you do for the Magic Mouse. There is not a second entry for the version 2 though. And I do agree it could be as simple as changing that number / ID, but I don't know how to identify what that number could be. I also installed evtest for both my v1 and v2 and it recognized scroll events for 1 but not for 2. Thank you for your help it's been insightful but I am not sure where else to go from here.

            – Spencer Hill
            Nov 1 '17 at 9:04








          • 1





            I can confirm no scroll events with the magic mouse 2 in evtest. From what I've read on the subject Apple uses a proprietary protocol for the scroll events in v2, which could explain the problem.

            – Eloff
            Feb 10 '18 at 21:00











          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',
          autoActivateHeartbeat: false,
          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%2f945741%2fapple-magic-mouse-2-scrolling-not-working%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Since Apple's stuffs is weird, give a try to a newer (or better, the latest) version of Ubuntu (the 17.10).



          This lets you to use the latest kernel, which it has a more complete hardware support.






          share|improve this answer
























          • Thank you for the reply, but I am already running 17.10 and have also tested on 16.04 and 17.04.

            – Spencer Hill
            Oct 30 '17 at 8:26
















          0














          Since Apple's stuffs is weird, give a try to a newer (or better, the latest) version of Ubuntu (the 17.10).



          This lets you to use the latest kernel, which it has a more complete hardware support.






          share|improve this answer
























          • Thank you for the reply, but I am already running 17.10 and have also tested on 16.04 and 17.04.

            – Spencer Hill
            Oct 30 '17 at 8:26














          0












          0








          0







          Since Apple's stuffs is weird, give a try to a newer (or better, the latest) version of Ubuntu (the 17.10).



          This lets you to use the latest kernel, which it has a more complete hardware support.






          share|improve this answer













          Since Apple's stuffs is weird, give a try to a newer (or better, the latest) version of Ubuntu (the 17.10).



          This lets you to use the latest kernel, which it has a more complete hardware support.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 29 '17 at 15:46









          mattia.b89mattia.b89

          545210




          545210













          • Thank you for the reply, but I am already running 17.10 and have also tested on 16.04 and 17.04.

            – Spencer Hill
            Oct 30 '17 at 8:26



















          • Thank you for the reply, but I am already running 17.10 and have also tested on 16.04 and 17.04.

            – Spencer Hill
            Oct 30 '17 at 8:26

















          Thank you for the reply, but I am already running 17.10 and have also tested on 16.04 and 17.04.

          – Spencer Hill
          Oct 30 '17 at 8:26





          Thank you for the reply, but I am already running 17.10 and have also tested on 16.04 and 17.04.

          – Spencer Hill
          Oct 30 '17 at 8:26













          0














          Things worth to try:





          • checking if udev correctly recognizes your mouse (I mean as Magic Mouse):



            Here is a snippet of my (Ubuntu 16.04) /lib/udev/hwdb.d/90-libinput-model-quirks.hwdb



            # Apple
            ##########################################
            libinput:touchpad:input:b0003v05ACp*
            libinput:touchpad:input:b0005v05ACp*
            LIBINPUT_MODEL_APPLE_TOUCHPAD=1
            LIBINPUT_ATTR_SIZE_HINT=104x75

            libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:*
            LIBINPUT_MODEL_APPLE_INTERNAL_KEYBOARD=1

            libinput:mouse:input:b0005v05ACp030D*
            LIBINPUT_MODEL_APPLE_MAGICMOUSE=1


            What if you need your Magic Mouse 2 to enable LIBINPUT_MODEL_APPLE_MAGICMOUSE? I do not have these devices, but as I checked Magic Mouse 1 and Magic Mouse 2 has no functional difference (from computer point of view) - maybe just the "name", like b0005v05ACp030D




          • playing with udev hwdb data (/etc/udev/hwdb.d) - original files are sitting in /lib/udev/hwdb.d.



            I suggest to start with sudo evtest (choose the Magic Mouse input device) and try to scroll. You will see what udev events show up. If evtest gave events exclusively scroll-up/down, you can make conversion here.



            Until here no programming skills were needed.



          • If nothing helped (but you got udev events) you can create "custom" event program, like I tried (changing my power button to KEY_4 or make working my Wifi button). Source is here: Is there a way to disable Airplane mode button on laptop keyboard?







          share|improve this answer


























          • Thanks Mark. These seem like ideas I will test and get back to you.

            – Spencer Hill
            Oct 31 '17 at 16:46











          • Okay, so I checked my /lib/udev/hwdb.d/70-mouse.hwdb file and confirmed I have the same line you do for the Magic Mouse. There is not a second entry for the version 2 though. And I do agree it could be as simple as changing that number / ID, but I don't know how to identify what that number could be. I also installed evtest for both my v1 and v2 and it recognized scroll events for 1 but not for 2. Thank you for your help it's been insightful but I am not sure where else to go from here.

            – Spencer Hill
            Nov 1 '17 at 9:04








          • 1





            I can confirm no scroll events with the magic mouse 2 in evtest. From what I've read on the subject Apple uses a proprietary protocol for the scroll events in v2, which could explain the problem.

            – Eloff
            Feb 10 '18 at 21:00
















          0














          Things worth to try:





          • checking if udev correctly recognizes your mouse (I mean as Magic Mouse):



            Here is a snippet of my (Ubuntu 16.04) /lib/udev/hwdb.d/90-libinput-model-quirks.hwdb



            # Apple
            ##########################################
            libinput:touchpad:input:b0003v05ACp*
            libinput:touchpad:input:b0005v05ACp*
            LIBINPUT_MODEL_APPLE_TOUCHPAD=1
            LIBINPUT_ATTR_SIZE_HINT=104x75

            libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:*
            LIBINPUT_MODEL_APPLE_INTERNAL_KEYBOARD=1

            libinput:mouse:input:b0005v05ACp030D*
            LIBINPUT_MODEL_APPLE_MAGICMOUSE=1


            What if you need your Magic Mouse 2 to enable LIBINPUT_MODEL_APPLE_MAGICMOUSE? I do not have these devices, but as I checked Magic Mouse 1 and Magic Mouse 2 has no functional difference (from computer point of view) - maybe just the "name", like b0005v05ACp030D




          • playing with udev hwdb data (/etc/udev/hwdb.d) - original files are sitting in /lib/udev/hwdb.d.



            I suggest to start with sudo evtest (choose the Magic Mouse input device) and try to scroll. You will see what udev events show up. If evtest gave events exclusively scroll-up/down, you can make conversion here.



            Until here no programming skills were needed.



          • If nothing helped (but you got udev events) you can create "custom" event program, like I tried (changing my power button to KEY_4 or make working my Wifi button). Source is here: Is there a way to disable Airplane mode button on laptop keyboard?







          share|improve this answer


























          • Thanks Mark. These seem like ideas I will test and get back to you.

            – Spencer Hill
            Oct 31 '17 at 16:46











          • Okay, so I checked my /lib/udev/hwdb.d/70-mouse.hwdb file and confirmed I have the same line you do for the Magic Mouse. There is not a second entry for the version 2 though. And I do agree it could be as simple as changing that number / ID, but I don't know how to identify what that number could be. I also installed evtest for both my v1 and v2 and it recognized scroll events for 1 but not for 2. Thank you for your help it's been insightful but I am not sure where else to go from here.

            – Spencer Hill
            Nov 1 '17 at 9:04








          • 1





            I can confirm no scroll events with the magic mouse 2 in evtest. From what I've read on the subject Apple uses a proprietary protocol for the scroll events in v2, which could explain the problem.

            – Eloff
            Feb 10 '18 at 21:00














          0












          0








          0







          Things worth to try:





          • checking if udev correctly recognizes your mouse (I mean as Magic Mouse):



            Here is a snippet of my (Ubuntu 16.04) /lib/udev/hwdb.d/90-libinput-model-quirks.hwdb



            # Apple
            ##########################################
            libinput:touchpad:input:b0003v05ACp*
            libinput:touchpad:input:b0005v05ACp*
            LIBINPUT_MODEL_APPLE_TOUCHPAD=1
            LIBINPUT_ATTR_SIZE_HINT=104x75

            libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:*
            LIBINPUT_MODEL_APPLE_INTERNAL_KEYBOARD=1

            libinput:mouse:input:b0005v05ACp030D*
            LIBINPUT_MODEL_APPLE_MAGICMOUSE=1


            What if you need your Magic Mouse 2 to enable LIBINPUT_MODEL_APPLE_MAGICMOUSE? I do not have these devices, but as I checked Magic Mouse 1 and Magic Mouse 2 has no functional difference (from computer point of view) - maybe just the "name", like b0005v05ACp030D




          • playing with udev hwdb data (/etc/udev/hwdb.d) - original files are sitting in /lib/udev/hwdb.d.



            I suggest to start with sudo evtest (choose the Magic Mouse input device) and try to scroll. You will see what udev events show up. If evtest gave events exclusively scroll-up/down, you can make conversion here.



            Until here no programming skills were needed.



          • If nothing helped (but you got udev events) you can create "custom" event program, like I tried (changing my power button to KEY_4 or make working my Wifi button). Source is here: Is there a way to disable Airplane mode button on laptop keyboard?







          share|improve this answer















          Things worth to try:





          • checking if udev correctly recognizes your mouse (I mean as Magic Mouse):



            Here is a snippet of my (Ubuntu 16.04) /lib/udev/hwdb.d/90-libinput-model-quirks.hwdb



            # Apple
            ##########################################
            libinput:touchpad:input:b0003v05ACp*
            libinput:touchpad:input:b0005v05ACp*
            LIBINPUT_MODEL_APPLE_TOUCHPAD=1
            LIBINPUT_ATTR_SIZE_HINT=104x75

            libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:*
            LIBINPUT_MODEL_APPLE_INTERNAL_KEYBOARD=1

            libinput:mouse:input:b0005v05ACp030D*
            LIBINPUT_MODEL_APPLE_MAGICMOUSE=1


            What if you need your Magic Mouse 2 to enable LIBINPUT_MODEL_APPLE_MAGICMOUSE? I do not have these devices, but as I checked Magic Mouse 1 and Magic Mouse 2 has no functional difference (from computer point of view) - maybe just the "name", like b0005v05ACp030D




          • playing with udev hwdb data (/etc/udev/hwdb.d) - original files are sitting in /lib/udev/hwdb.d.



            I suggest to start with sudo evtest (choose the Magic Mouse input device) and try to scroll. You will see what udev events show up. If evtest gave events exclusively scroll-up/down, you can make conversion here.



            Until here no programming skills were needed.



          • If nothing helped (but you got udev events) you can create "custom" event program, like I tried (changing my power button to KEY_4 or make working my Wifi button). Source is here: Is there a way to disable Airplane mode button on laptop keyboard?








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 14 '18 at 23:00









          Eliah Kagan

          82.1k21227366




          82.1k21227366










          answered Oct 30 '17 at 22:15









          V-MarkV-Mark

          303211




          303211













          • Thanks Mark. These seem like ideas I will test and get back to you.

            – Spencer Hill
            Oct 31 '17 at 16:46











          • Okay, so I checked my /lib/udev/hwdb.d/70-mouse.hwdb file and confirmed I have the same line you do for the Magic Mouse. There is not a second entry for the version 2 though. And I do agree it could be as simple as changing that number / ID, but I don't know how to identify what that number could be. I also installed evtest for both my v1 and v2 and it recognized scroll events for 1 but not for 2. Thank you for your help it's been insightful but I am not sure where else to go from here.

            – Spencer Hill
            Nov 1 '17 at 9:04








          • 1





            I can confirm no scroll events with the magic mouse 2 in evtest. From what I've read on the subject Apple uses a proprietary protocol for the scroll events in v2, which could explain the problem.

            – Eloff
            Feb 10 '18 at 21:00



















          • Thanks Mark. These seem like ideas I will test and get back to you.

            – Spencer Hill
            Oct 31 '17 at 16:46











          • Okay, so I checked my /lib/udev/hwdb.d/70-mouse.hwdb file and confirmed I have the same line you do for the Magic Mouse. There is not a second entry for the version 2 though. And I do agree it could be as simple as changing that number / ID, but I don't know how to identify what that number could be. I also installed evtest for both my v1 and v2 and it recognized scroll events for 1 but not for 2. Thank you for your help it's been insightful but I am not sure where else to go from here.

            – Spencer Hill
            Nov 1 '17 at 9:04








          • 1





            I can confirm no scroll events with the magic mouse 2 in evtest. From what I've read on the subject Apple uses a proprietary protocol for the scroll events in v2, which could explain the problem.

            – Eloff
            Feb 10 '18 at 21:00

















          Thanks Mark. These seem like ideas I will test and get back to you.

          – Spencer Hill
          Oct 31 '17 at 16:46





          Thanks Mark. These seem like ideas I will test and get back to you.

          – Spencer Hill
          Oct 31 '17 at 16:46













          Okay, so I checked my /lib/udev/hwdb.d/70-mouse.hwdb file and confirmed I have the same line you do for the Magic Mouse. There is not a second entry for the version 2 though. And I do agree it could be as simple as changing that number / ID, but I don't know how to identify what that number could be. I also installed evtest for both my v1 and v2 and it recognized scroll events for 1 but not for 2. Thank you for your help it's been insightful but I am not sure where else to go from here.

          – Spencer Hill
          Nov 1 '17 at 9:04







          Okay, so I checked my /lib/udev/hwdb.d/70-mouse.hwdb file and confirmed I have the same line you do for the Magic Mouse. There is not a second entry for the version 2 though. And I do agree it could be as simple as changing that number / ID, but I don't know how to identify what that number could be. I also installed evtest for both my v1 and v2 and it recognized scroll events for 1 but not for 2. Thank you for your help it's been insightful but I am not sure where else to go from here.

          – Spencer Hill
          Nov 1 '17 at 9:04






          1




          1





          I can confirm no scroll events with the magic mouse 2 in evtest. From what I've read on the subject Apple uses a proprietary protocol for the scroll events in v2, which could explain the problem.

          – Eloff
          Feb 10 '18 at 21:00





          I can confirm no scroll events with the magic mouse 2 in evtest. From what I've read on the subject Apple uses a proprietary protocol for the scroll events in v2, which could explain the problem.

          – Eloff
          Feb 10 '18 at 21:00


















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f945741%2fapple-magic-mouse-2-scrolling-not-working%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          File:DeusFollowingSea.jpg