Deactivate accelerometer











up vote
6
down vote

favorite
4












I am having some trouble using games that use joysticks because my laptop has an accelerometer (I don't have the slightest idea why this might be useful on a laptop), and it's interfeering with joysticks. Linux finds it in /dev/input/js0



I would like to know how to disable/enable this so games or other things don't detect it.



Thank you very much.



This is the information in /proc/bus/input/devices



I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ST LIS3LV02DL Accelerometer"
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input11
U: Uniq=
H: Handlers=event10 js0
B: PROP=0
B: EV=9
B: ABS=7









share|improve this question




















  • 3




    The accelerometer detects when you drop your laptop, and quickly stops the HDD to minimize damage. That probably doesn't work on Linux. See here.
    – Jos
    Feb 15 '15 at 11:14










  • Ok, that seems like a good use xD. I again doubt that works on Linux. I just want to disable it.
    – MyUserIsThis
    Feb 15 '15 at 11:17















up vote
6
down vote

favorite
4












I am having some trouble using games that use joysticks because my laptop has an accelerometer (I don't have the slightest idea why this might be useful on a laptop), and it's interfeering with joysticks. Linux finds it in /dev/input/js0



I would like to know how to disable/enable this so games or other things don't detect it.



Thank you very much.



This is the information in /proc/bus/input/devices



I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ST LIS3LV02DL Accelerometer"
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input11
U: Uniq=
H: Handlers=event10 js0
B: PROP=0
B: EV=9
B: ABS=7









share|improve this question




















  • 3




    The accelerometer detects when you drop your laptop, and quickly stops the HDD to minimize damage. That probably doesn't work on Linux. See here.
    – Jos
    Feb 15 '15 at 11:14










  • Ok, that seems like a good use xD. I again doubt that works on Linux. I just want to disable it.
    – MyUserIsThis
    Feb 15 '15 at 11:17













up vote
6
down vote

favorite
4









up vote
6
down vote

favorite
4






4





I am having some trouble using games that use joysticks because my laptop has an accelerometer (I don't have the slightest idea why this might be useful on a laptop), and it's interfeering with joysticks. Linux finds it in /dev/input/js0



I would like to know how to disable/enable this so games or other things don't detect it.



Thank you very much.



This is the information in /proc/bus/input/devices



I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ST LIS3LV02DL Accelerometer"
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input11
U: Uniq=
H: Handlers=event10 js0
B: PROP=0
B: EV=9
B: ABS=7









share|improve this question















I am having some trouble using games that use joysticks because my laptop has an accelerometer (I don't have the slightest idea why this might be useful on a laptop), and it's interfeering with joysticks. Linux finds it in /dev/input/js0



I would like to know how to disable/enable this so games or other things don't detect it.



Thank you very much.



This is the information in /proc/bus/input/devices



I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ST LIS3LV02DL Accelerometer"
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input11
U: Uniq=
H: Handlers=event10 js0
B: PROP=0
B: EV=9
B: ABS=7






hardware






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 15 '15 at 11:52









Tim

19.5k1484138




19.5k1484138










asked Feb 15 '15 at 11:10









MyUserIsThis

15019




15019








  • 3




    The accelerometer detects when you drop your laptop, and quickly stops the HDD to minimize damage. That probably doesn't work on Linux. See here.
    – Jos
    Feb 15 '15 at 11:14










  • Ok, that seems like a good use xD. I again doubt that works on Linux. I just want to disable it.
    – MyUserIsThis
    Feb 15 '15 at 11:17














  • 3




    The accelerometer detects when you drop your laptop, and quickly stops the HDD to minimize damage. That probably doesn't work on Linux. See here.
    – Jos
    Feb 15 '15 at 11:14










  • Ok, that seems like a good use xD. I again doubt that works on Linux. I just want to disable it.
    – MyUserIsThis
    Feb 15 '15 at 11:17








3




3




The accelerometer detects when you drop your laptop, and quickly stops the HDD to minimize damage. That probably doesn't work on Linux. See here.
– Jos
Feb 15 '15 at 11:14




The accelerometer detects when you drop your laptop, and quickly stops the HDD to minimize damage. That probably doesn't work on Linux. See here.
– Jos
Feb 15 '15 at 11:14












Ok, that seems like a good use xD. I again doubt that works on Linux. I just want to disable it.
– MyUserIsThis
Feb 15 '15 at 11:17




Ok, that seems like a good use xD. I again doubt that works on Linux. I just want to disable it.
– MyUserIsThis
Feb 15 '15 at 11:17










3 Answers
3






active

oldest

votes

















up vote
8
down vote













A better solution is to unload hp_accel module: sudo modprobe -r hp_accel



If you don't want your system to load the module at every boot, simply blacklist it adding the following line to /etc/modprobe.d/blacklist.conf:



blacklist hp_accel






share|improve this answer





















  • This will disable the HDD protection which I would not do unless I have an SSD
    – Suici Doga
    May 31 '16 at 7:43


















up vote
3
down vote













Answered by OP in question:




Solved it chmod -r /dev/input/js0 was enough







share|improve this answer






























    up vote
    1
    down vote













    I wrote a small program to read the Joystick under termilnal.
    As you said I see it as a joystick on my laptop:
    ST LIS3LV02DL Accelerometer
    but when I plug in a real joystick it disappears from the list... and the real joystick is listed.






    share|improve this answer








    New contributor




    user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


















      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%2f585706%2fdeactivate-accelerometer%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      8
      down vote













      A better solution is to unload hp_accel module: sudo modprobe -r hp_accel



      If you don't want your system to load the module at every boot, simply blacklist it adding the following line to /etc/modprobe.d/blacklist.conf:



      blacklist hp_accel






      share|improve this answer





















      • This will disable the HDD protection which I would not do unless I have an SSD
        – Suici Doga
        May 31 '16 at 7:43















      up vote
      8
      down vote













      A better solution is to unload hp_accel module: sudo modprobe -r hp_accel



      If you don't want your system to load the module at every boot, simply blacklist it adding the following line to /etc/modprobe.d/blacklist.conf:



      blacklist hp_accel






      share|improve this answer





















      • This will disable the HDD protection which I would not do unless I have an SSD
        – Suici Doga
        May 31 '16 at 7:43













      up vote
      8
      down vote










      up vote
      8
      down vote









      A better solution is to unload hp_accel module: sudo modprobe -r hp_accel



      If you don't want your system to load the module at every boot, simply blacklist it adding the following line to /etc/modprobe.d/blacklist.conf:



      blacklist hp_accel






      share|improve this answer












      A better solution is to unload hp_accel module: sudo modprobe -r hp_accel



      If you don't want your system to load the module at every boot, simply blacklist it adding the following line to /etc/modprobe.d/blacklist.conf:



      blacklist hp_accel







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jan 7 '16 at 10:11









      MiSKLaCH

      8112




      8112












      • This will disable the HDD protection which I would not do unless I have an SSD
        – Suici Doga
        May 31 '16 at 7:43


















      • This will disable the HDD protection which I would not do unless I have an SSD
        – Suici Doga
        May 31 '16 at 7:43
















      This will disable the HDD protection which I would not do unless I have an SSD
      – Suici Doga
      May 31 '16 at 7:43




      This will disable the HDD protection which I would not do unless I have an SSD
      – Suici Doga
      May 31 '16 at 7:43












      up vote
      3
      down vote













      Answered by OP in question:




      Solved it chmod -r /dev/input/js0 was enough







      share|improve this answer



























        up vote
        3
        down vote













        Answered by OP in question:




        Solved it chmod -r /dev/input/js0 was enough







        share|improve this answer

























          up vote
          3
          down vote










          up vote
          3
          down vote









          Answered by OP in question:




          Solved it chmod -r /dev/input/js0 was enough







          share|improve this answer














          Answered by OP in question:




          Solved it chmod -r /dev/input/js0 was enough








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 6 '15 at 13:31


























          community wiki





          2 revs
          Tim























              up vote
              1
              down vote













              I wrote a small program to read the Joystick under termilnal.
              As you said I see it as a joystick on my laptop:
              ST LIS3LV02DL Accelerometer
              but when I plug in a real joystick it disappears from the list... and the real joystick is listed.






              share|improve this answer








              New contributor




              user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                up vote
                1
                down vote













                I wrote a small program to read the Joystick under termilnal.
                As you said I see it as a joystick on my laptop:
                ST LIS3LV02DL Accelerometer
                but when I plug in a real joystick it disappears from the list... and the real joystick is listed.






                share|improve this answer








                New contributor




                user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  I wrote a small program to read the Joystick under termilnal.
                  As you said I see it as a joystick on my laptop:
                  ST LIS3LV02DL Accelerometer
                  but when I plug in a real joystick it disappears from the list... and the real joystick is listed.






                  share|improve this answer








                  New contributor




                  user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  I wrote a small program to read the Joystick under termilnal.
                  As you said I see it as a joystick on my laptop:
                  ST LIS3LV02DL Accelerometer
                  but when I plug in a real joystick it disappears from the list... and the real joystick is listed.







                  share|improve this answer








                  New contributor




                  user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered Dec 10 at 3:34









                  user901609

                  111




                  111




                  New contributor




                  user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  user901609 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      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%2f585706%2fdeactivate-accelerometer%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

                      How did Captain America manage to do this?

                      迪纳利

                      南乌拉尔铁路局