Help disabling accelerometer?

Asked by Carlos Hidalgo

My HP 6730s Laptop has the HP Driveguard protection, which i understand uses accelerometer data to shut down hard drives in case of dropping or sudden movements w/e. I'm not really concerned about this feature, my problem is that a flight game I'm trying to play uses this accelerometer data as a joystick input. Is there any way to "unplug" this input device from my system?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Carlos Hidalgo
Solved:
Last query:
Last reply:
Revision history for this message
Carlos Hidalgo (carloshidalgojr) said :
#1

I think i figured it out. After downloading a program to test and calibrate the joystick, i figured the source was /dev/input so i did a little "rm js0" in that directory and voila, happy gaming :D

Revision history for this message
Kage (superstar446) said :
#2

I had a similar problem and just wanted to share.

I also had js0 as the accelerometer and any real joystick/gamepad comes up as js1, but this doesn't jive with Wine. So what I did to get my joystick to work was check first to see if my gamepad was js0 or js1, something that wasn't always consistent from one boot to the next. If the accelerometer was indeed js0 and my gamepad js1, I would open a terminal and navigate to /dev/input, then simply switch the names around. This was my workaround but I'd love it if I could save js0 as an actual joystick/gamepad and reserve js2 or js9 as my accelerometer.