maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Accelerometer not working (https://talk.maemo.org/showthread.php?t=90496)

NSDCars5 2013-06-18 06:54

Accelerometer not working
 
Hey there! I just got my first Maemo device, a Nokia N900, second hand. The phone seems nice enough, and I've installed NITDroid on it. Just one tiny thing bugs me. The accelerometer doesn't work, in NITDroid OR Maemo. It's probably not a software issue, cause I've reflashed the eMMC thrice and the firmware even more times in the past two weeks. Help?

pichlo 2013-06-18 08:15

Re: Accelerometer not working
 
How I envy you. I found it annoying that my screen kept turning around until I installed CSSU and locked it in landscape.

It seems you've answered your own question. Does not look like a SW problem indeed. I doubt there is a way to fix it. Maybe a Nokia care centre, but even that is a very small chance.

Wikiwide 2013-06-18 09:01

Re: Accelerometer not working
 
There are articles about N900 accelerometer and N900 Harware Hacking.
Another person had a similar problem about two years ago. This thread (mostly the first post) should have complete list of all possible ways to test accelerometer with software.
Also, it might be that you need to enter some commands in X-Term to make accelerometer work: The case of the missing N900 accelerometer and Internal accelerometer device has disappeared.
Best wishes.

NSDCars5 2013-06-19 07:27

Re: Accelerometer not working
 
If the commands are to be issued in Maemo only, then will the accelerometer work in Android?

Wikiwide 2013-06-19 08:22

Re: Accelerometer not working
 
Unless there is a permanent hardware failure, accelerometer will work in Android. I just don't know how to test accelerometer with Android software.

NSDCars5 2013-06-19 15:41

Re: Accelerometer not working
 
Quote:

Originally Posted by Wikiwide (Post 1353138)
Unless there is a permanent hardware failure, accelerometer will work in Android. I just don't know how to test accelerometer with Android software.

Damn then. I tested by installing Temple Run 2. Accelerometer didn't work. I also tried this:

root
rmmod lis302dl
modprobe lis302dl
apt-get install rotatedaemon
rotatedaemon


Which resulted in this:

# rotatedaemon
Cannot open accelerometer FC
Aborted


Also, I installed Bounce Evolution from the Ovi Store, but the ball (Bounce?) wouldn't move.

Wikiwide 2013-06-20 04:51

Re: Accelerometer not working
 
Quote:

Originally Posted by NSDCars5 (Post 1353239)
Damn then. I tested by installing Temple Run 2. Accelerometer didn't work. I also tried this:

root
rmmod lis302dl
modprobe lis302dl
apt-get install rotatedaemon
rotatedaemon


Which resulted in this:

# rotatedaemon
Cannot open accelerometer FC
Aborted


Also, I installed Bounce Evolution from the Ovi Store, but the ball (Bounce?) wouldn't move.

What does this give?
Code:

cat /sys/class/i2c-adapter/i2c-3/3-001d/coord
I don't know... It's suggested somewhere that taking out the battery for two-three minutes cures the problem... Would this problem persist after a re-flash?..
Best wishes.

NSDCars5 2013-06-20 07:36

Re: Accelerometer not working
 
Quote:

Originally Posted by Wikiwide (Post 1353343)
What does this give?
Code:

cat /sys/class/i2c-adapter/i2c-3/3-001d/coord
I don't know... It's suggested somewhere that taking out the battery for two-three minutes cures the problem... Would this problem persist after a re-flash?..
Best wishes.

Thanks, but it persists even after at least twelve firmware reflashes and seven eMMC ones. The command you provided gives:

# cat /sys/class/i2c-adapter/i2c-3/3-001d/coord
cat: can't open ' /sys/class/i2c-adapter/i2c-3/3-001d/coord': No such file or directory


Basically, it can't find the "coord" file or folder. Using ls on the "3-001d" folder gives this:

# ls /sys/class/i2c-adapter/i2c-3/3-001d/
bus name subsystem
modalias power uevent


Pulling the battery for two minutes and forty-six seconds didn't seem to help.

pichlo 2013-06-20 08:53

Re: Accelerometer not working
 
I have 15 items in that folder. I'm sorry but it looks like your accelerometer is screwed. Just for the sake of completeness, what does cat of the other files in your folder say? E.g. name and modalias?

NSDCars5 2013-06-20 09:03

Re: Accelerometer not working
 
1. bus is a directory
2. name shows:

me
lis302dl


3. subsystem is a directory
4. modalias shows:

i2c:lis302dl

5. power is a directory
6. uevent shows:

PHYSDEVBUS=i2c
MODALIAS=i2c:lis302dl


That's 'bout it.
PS: If the accelerometer is screwed, any place I can have it fixed in New Delhi?


All times are GMT. The time now is 06:23.

vBulletin® Version 3.8.8