Deactivate accelerometer












6















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
















6















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














6












6








6


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.6k1484140




19.6k1484140










asked Feb 15 '15 at 11:10









MyUserIsThisMyUserIsThis

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


















8














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



















3














Answered by OP in question:




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







share|improve this answer

































    1














    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























      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%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









      8














      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
















      8














      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














      8












      8








      8







      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









      MiSKLaCHMiSKLaCH

      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













      3














      Answered by OP in question:




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







      share|improve this answer






























        3














        Answered by OP in question:




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







        share|improve this answer




























          3












          3








          3







          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
























              1














              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




























                1














                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


























                  1












                  1








                  1







                  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













                  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












                  share|improve this answer



                  share|improve this answer










                  answered Dec 10 '18 at 3:34









                  user901609user901609

                  111




                  111






























                      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%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 to change which sound is reproduced for terminal bell?

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents