Deactivate accelerometer
up vote
6
down vote
favorite
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 |
up vote
6
down vote
favorite
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 |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
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.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
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
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
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 |
up vote
3
down vote
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
add a comment |
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.
New contributor
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',
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
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
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 |
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
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 |
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
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
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
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 |
up vote
3
down vote
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
add a comment |
up vote
3
down vote
Answered by OP in question:
Solved it
chmod -r /dev/input/js0
was enough
add a comment |
up vote
3
down vote
up vote
3
down vote
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 |
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.
New contributor
add a comment |
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.
New contributor
add a comment |
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.
New contributor
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.
New contributor
New contributor
answered Dec 10 at 3:34
user901609
111
111
New contributor
New contributor
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.
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.
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