maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Annouce] HealthCheck - Hardware/System checker for the N900 (https://talk.maemo.org/showthread.php?t=45453)

noobmonkey 2010-08-20 14:46

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
wohoooo! thankyou very much! as soon as i get to a pc, i'll update it!

thank you again.

Rob1n 2010-08-20 15:00

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by m750 (Post 792375)
with these (green writed)
Quote:

# This one reads fremantle version number (Firmware)
g = os.popen('set | grep RELEASE_VERSION').read()
g = g.strip("OSSO_PRODUCT_RELEASE_VERSION=")
s = g.split("'")
g = s[1].strip()

if g.strip() == "3.2010.02-8":

Or even simpler:
Code:

g = os.environ.get("OSSO_PRODUCT_RELEASE_VERSION")

if g.strip() == "3.2010.02-8":


m750 2010-08-20 16:25

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Rob1n (Post 793095)
Or even simpler:
Code:

g = os.environ.get("OSSO_PRODUCT_RELEASE_VERSION")

if g.strip() == "3.2010.02-8":


Very nice, but i retrive this error:
Quote:

g = os.environ.get("OSSO_PRODUCT_RELEASE_VERSION")
^
IdentationError: unexpected indent
Do you know a solution?

Rob1n 2010-08-20 17:41

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by m750 (Post 793196)
Very nice, but i retrive this error:

Quote:

g = os.environ.get("OSSO_PRODUCT_RELEASE_VERSION")
^
IdentationError: unexpected indent
Do you know a solution?

From the error, you've not indented the new code properly. Python is sensitive to indentation, so you'll need to make sure it's aligned with the code above it.

m750 2010-08-20 17:54

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Rob1n (Post 793261)
From the error, you've not indented the new code properly. Python is sensitive to indentation, so you'll need to make sure it's aligned with the code above it.

Sorry! I'm a newbie with python! :( I had forgotten. thanks for the explanation!

Mentalist Traceur 2010-09-28 23:30

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
noobmonkey, a few months ago you asked me if I had managed to fix my accelerometer issues - I did - It's just that there wasn't much fixing involved. Basically, it's something that happens at random after dropping the N900 - most drops it takes without a hitch, sometimes the accelerometer gets screwy. However, so far, I have not had the problem ever persist through a reboot.

(This came up on Pg. 66 of this thread, btw, in case you're curious.)

efekt 2010-10-03 22:19

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
noobmonkey, what are the default values of the Accelerometer in HealthCheck?
I think my accelerometer is screwed, it won't work in any application, and in HealthCheck it ALWAYS showing the same values: 2286, 2286, -2304 respectively...
(Btw, restarting the phone did not solve this)

Mentalist Traceur 2010-10-03 22:38

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Ouch. Honestly, I think you may just have had your accelerometer break at the hardware level.

In my experience, HealthCheck accelerometer values are within the -1000 to 1000 range. Anything smaller/bigger than -/+ 1200 and I typically assume it's malfunctioning.

efekt 2010-10-03 22:47

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Mentalist Traceur (Post 832609)
Ouch. Honestly, I think you may just have had your accelerometer break at the hardware level.

In my experience, HealthCheck accelerometer values are within the -1000 to 1000 range. Anything smaller/bigger than -/+ 1200 and I typically assume it's malfunctioning.

You know what - ITS FIXED NOW! :D
I tried something: I took the battery off for 10 minutes, and then re-inserted it and turn the phone on, and viola! The accelerometer works just fine now :)
I've noticed that doing that (removing the battery for more than 5 minutes) usually fixes melfunctions which one would otherwise think can be fixed only with flashing the device or sending it to be repaired...
I love my robust N900, it can take so much sh*t and still recover by merely removing its battery for a few minutes :)

Mentalist Traceur 2010-10-03 22:52

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Glad to hear that worked out. And this is another thing to file away in my memory in case I have an issue that doesn't go away with merely rebooting - remove the battery and let it sit for a bit. Honestly, I almost never think of that one myself.


All times are GMT. The time now is 22:21.

vBulletin® Version 3.8.8