Deactivate accelerometer
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
add a comment |
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
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
add a comment |
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
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
hardware
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
add a comment |
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
add a comment |
3 Answers
3
active
oldest
votes
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
This will disable the HDD protection which I would not do unless I have an SSD
– Suici Doga
May 31 '16 at 7:43
add a comment |
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
This will disable the HDD protection which I would not do unless I have an SSD
– Suici Doga
May 31 '16 at 7:43
add a comment |
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
This will disable the HDD protection which I would not do unless I have an SSD
– Suici Doga
May 31 '16 at 7:43
add a comment |
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
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
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
add a comment |
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
add a comment |
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
add a comment |
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
add a comment |
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
edited Jul 6 '15 at 13:31
community wiki
2 revs
Tim
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 10 '18 at 3:34
user901609user901609
111
111
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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