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-03-25 00:20

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
ok, i'm sad, and a little bit excited.... ;D
The dead pixel test almost works! (Well it works fine, just need to sort one issue out)
It allows you to select colours Using RGB ( red, green, blue, + multiples of RGB, so black,white,purple, green etc....)

Ok... so i've almost figured out stackable windows..... so thinking on the info screens, when you click one of them, for example phone signal, i can load up a popup with more information? :D or at least update individually :D

toucan murphy 2010-03-25 13:56

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
cool app!

2 possible suggestions perhaps these 2 things could be added people might find usefull...

1. Show which folders are excluded from the media players built in indexing (like ringtones folder etc)

2. A way to reset the media library / album art so the library can be easily rebuilt without having to type in all the commands to do so.....

noobmonkey 2010-03-25 14:55

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

Originally Posted by toucan murphy (Post 581872)
cool app!

2 possible suggestions perhaps these 2 things could be added people might find usefull...

1. Show which folders are excluded from the media players built in indexing (like ringtones folder etc)

2. A way to reset the media library / album art so the library can be easily rebuilt without having to type in all the commands to do so.....

Ooooooooo Interesting!
2 issues i never face as i have crap music taste and no albumn art on my phone ;) hehehe

1) hmmm hidden folders? - the list would be huge wouldnt it, or are you just talking about hidden folders in mydocs?) :D

2) ahhhh... ok - any idea where i can find the commands? - as long as i can prove them to be fool proof - don't see why not :D

Thanks for the message :D - all help is good help :D

Rob1n 2010-03-25 15:33

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

Originally Posted by noobmonkey (Post 581955)
Ooooooooo Interesting!
2 issues i never face as i have crap music taste and no albumn art on my phone ;) hehehe

1) hmmm hidden folders? - the list would be huge wouldnt it, or are you just talking about hidden folders in mydocs?) :D

2) ahhhh... ok - any idea where i can find the commands? - as long as i can prove them to be fool proof - don't see why not :D

I think he's referring to the tracker folders, rather than general hidden folders. The config is in /home/user/.config/tracker/tracker.cfg and there's a list of folders to watch and to ignore.

All of this is already in the Tracker Cfg application, so I'm not sure whether it's worth duplicating into HealthCheck or not. If you do want to go ahead with this, the code for that'll be the best place to look for commands and file locations anyway.

noobmonkey 2010-03-25 16:25

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

Originally Posted by Rob1n (Post 582003)
I think he's referring to the tracker folders, rather than general hidden folders. The config is in /home/user/.config/tracker/tracker.cfg and there's a list of folders to watch and to ignore.

All of this is already in the Tracker Cfg application, so I'm not sure whether it's worth duplicating into HealthCheck or not. If you do want to go ahead with this, the code for that'll be the best place to look for commands and file locations anyway.

Good point well made.
Not an avid user - but if it is requested happy to add. (Don't want to step on anyone elses toes though)

Thankyou for the information though Rob1n, very much appreciated.

Brank 2010-03-25 16:40

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
In the camera tab you could maybe add a photo count. Either how many pictures taken, though I doubt that's recorded anywhere? Or how many photos currently in photo folder or somming like that. Could also have separate for videos, though I guess scanning in that much detail would take bit too much cpu, so they could be together aswell.

Basically just to display how many items in photo folder, be it videos/pictures or what ever.

noobmonkey 2010-03-25 16:43

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

Originally Posted by Brank (Post 582075)
In the camera tab you could maybe add a photo count. Either how many pictures taken, though I doubt that's recorded anywhere? Or how many photos currently in photo folder or somming like that. Could also have separate for videos, though I guess scanning in that much detail would take bit too much cpu, so they could be together aswell.

Basically just to display how many items in photo folder, be it videos/pictures or what ever.


Hi brank!

hmmm not so sure on the photo count, but yeah on the video :D - tis on my todo list :D
Shouldnt be too hard - and shouldn't kill the processor too much :D

But yes, could do simple stats like photo count, video count etc :D

mikec 2010-03-25 21:55

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

I made this little touch screen and keyboard test, and was going to package it, but thought it might be quite good for your prog.
It allows you to see every pixel and its coordinate, so you can check edge to edge plus responds to key presses.
As its full screen, press the q key to quit


http://farm5.static.flickr.com/4003/...605d30be6b.jpg

You get a 3D effect with the red green blue text also, optical illusion of the eyes sensitivity to primary colours

Hope you can make use of it.

python touch.py does the job.:D

Will add pressure sensor once they fix the hildon bug

heres the code
http://www.megaupload.com/?d=G3T3R49K

noobmonkey 2010-03-26 08:17

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

Originally Posted by mikec (Post 582511)
@noobmonkey

I made this little touch screen and keyboard test, and was going to package it, but thought it might be quite good for your prog.
It allows you to see every pixel and its coordinate, so you can check edge to edge plus responds to key presses.
As its full screen, press the q key to quit


http://farm5.static.flickr.com/4003/...605d30be6b.jpg

You get a 3D effect with the red green blue text also, optical illusion of the eyes sensitivity to primary colours

Hope you can make use of it.

python touch.py does the job.:D

Will add pressure sensor once they fix the hildon bug

heres the code
http://www.megaupload.com/?d=G3T3R49K

wow! that looks amazing! and yes it would fit really well!! :D :D
brilliant piece of work mike! :D

Will package it up tonight if i can as an addon!
:D :D

noobmonkey 2010-03-26 09:30

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
WOW! that was almost too easy!
Just had to rename the MainWindow, and done....
Works perfectly! (The whole copy across and redo took about 4 minutes!)

Mike i really am very appreciative! That is a great piece of work - and will of course ad thanks into the about box :D

Will upload a new devel version for all to see tonight, after work :D

Only remaining issue, which you will see in the devel version is:
i use the self.close() function to close my subwindows, it works fine on closing them, but still returns me back to the Applications list screen. I then need to click on healthcheck to get back to it.
Am i missing something like (healthcheck)mainwindow.show() or equivalent to get it back?

mikec 2010-03-26 09:39

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

Originally Posted by noobmonkey (Post 582912)
wow! that looks amazing! and yes it would fit really well!! :D :D
brilliant piece of work mike! :D

Will package it up tonight if i can as an addon!
:D :D

cool
I was working on some SVG stuff and got side tracked into Qt touch and keyboard events and that was the result. seemed a shame to junk the code, so glad you could use it. Now you are really open sourcing by accepting patchs

noobmonkey 2010-03-26 09:57

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
i likey this open source - more importantly i love the code! really does help me :D

noobmonkey 2010-03-27 09:40

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
ok, new version coming into development
Version - 0.6-1.0 (EXTRAS-DEVEL)

this is a buggy version i feel - but i'm interested to get feeback.
The biggest difference you will notice is the tools page.
There are new tools:
Accuracy test - thanks to mike :D
Dead pixel test - (Thanks to two days of sitting in a dark room!)

I'm very interested on help sorting out issues when you close the sub/stacked windows!! :D (You will see what i mean)

mikec 2010-03-27 10:24

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
posting from N900 while the wife is in ZARA:D

if you press control back space while in stacked window you will see that your windows are not stacked at all. ie there are two windows open. with stacked windows you should only see the one topmost window.

when you create the second window are you creating it with the self in the brackets like so?

stackwindow =StackedWindow(self)

mike c

F2thaK 2010-03-27 10:29

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

Originally Posted by noobmonkey (Post 584107)
ok, new version coming into development
Version - 0.6-1.0 (EXTRAS-DEVEL)

this is a buggy version i feel - but i'm interested to get feeback.
The biggest difference you will notice is the tools page.
There are new tools:
Accuracy test - thanks to mike :D
Dead pixel test - (Thanks to two days of sitting in a dark room!)

I'm very interested on help sorting out issues when you close the sub/stacked windows!! :D (You will see what i mean)

nice update, feels as sturdy as ever to me, love the new features!

noobmonkey 2010-03-27 11:36

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

Originally Posted by mikec (Post 584133)
posting from N900 while the wife is in ZARA:D

if you press control back space while in stacked window you will see that your windows are not stacked at all. ie there are two windows open. with stacked windows you should only see the one topmost window.

when you create the second window are you creating it with the self in the brackets like so?

stackwindow =StackedWindow(self)

mike c

Hehe cheers mike, well i thought i had, but maybe i got the wrong end of the stick so to speak?

If i try :
Code:

window=StackedWindow(HelloWindow)
i get the error name 'StackedWindow' is not defined.

I have been calling it like this
Code:

window=HelloWindow()

noobmonkey 2010-03-27 11:40

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

I was actuall ytyping stackedwindow - lol!!!

window = HelloWindow(MainWindow) - works fine!
will package it up now :D

noobmonkey 2010-03-27 11:44

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Version 0.6.1-1 is in extras devel (autobuilder)
Yay! Thank you again mike - the above worked, i now think its almost ready :D

Still holding fire until pr1.2 - so i can update the version numbers....

mikec 2010-03-27 12:59

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

Originally Posted by noobmonkey (Post 584187)
Version 0.6.1-1 is in extras devel (autobuilder)
Yay! Thank you again mike - the above worked, i now think its almost ready :D

Still holding fire until pr1.2 - so i can update the version numbers....

All stacked up and ready to go:)

noobmonkey 2010-03-27 14:26

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
just realised. using the accuracy test....
i can't get to the botton of the screen. 474 is the best i have got!!! hehe

just me? (my screen has been a bit clicky recently)

Mr. Incredible 2010-03-27 14:29

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
It depends on how hard you press the stylus on the screen. I get to 779

noobmonkey 2010-03-27 15:02

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
interesting. can anyone get the whole way down? on the left i get alot further than the bottom right!

Hariainm 2010-03-27 15:20

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Accuracy test works fine to me.
In Y-axis i get from 0 to 479 (need to press very hard to get it :()
In X-axis i get from 0 to 799 with no effort.
Thanks for the updates.

casper27 2010-03-27 15:53

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Accuracy results ar more or less the same as Hariainm's. Dead pixel test works a charm luckily don't have any. I've said it before but i'll say it again this is fast becoming a must have application. I think Nokia should incorporate it into future release :)
One thing I am working on and I may need your help Noob, is extracting information from this to a remote server/another phone.
Basically running it in back ground to export as much information in case of the phone getting lost/stolen over ssh or via intercepted txt message.
If thats ok with you Noob.

noobmonkey 2010-03-27 15:57

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

Originally Posted by casper27 (Post 584351)
Accuracy results ar more or less the same as Hariainm's. Dead pixel test works a charm luckily don't have any. I've said it before but i'll say it again this is fast becoming a must have application. I think Nokia should incorporate it into future release :)
One thing I am working on and I may need your help Noob, is extracting information from this to a remote server/another phone.
Basically running it in back ground to export as much information in case of the phone getting lost/stolen over ssh or via intercepted txt message.
If thats ok with you Noob.

ahhh yeah!!! would definitley work on that with you.
I thuink we can use lcuk's clever idea :D (They are always clever!)

He proposed making healthcheck modular - to allow addon modules etc....
Well this could be a module daemon.... storing and encrypting person info - then using the web server functionality etc, it could be easy i suppose to do what you want :D

noobmonkey 2010-03-29 12:44

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
ok..... getting near a new release to throw into testing - just trying to get front and back video working. (Got it working, but not in a qt way - as it just loads up gstreamer in a new window) - any sensible suggestions would be nice :D

Is there anything easy like extra info fields people want (As i could prob do those quickly)

Gobelet 2010-03-29 22:02

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Hey noobmonkey, great app!

I was wondering, how about integrating the last boot reason of the phone? it's basically a string in /proc/bootreason and I think it can be useful to troubleshoot some weird reboots one might get.

Thanks and keep up the good work!

noobmonkey 2010-03-29 22:06

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
yup, need to figure out what all the options are (will google it :D) - reads fine :D
Thanks for the suggestion :D

noobmonkey 2010-04-04 17:08

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
New update in extras-devel :D
Version 0.7.1-0

This has a few new extra bits such as:
No Update buttons (All added to the top menu - to give extra space)
Last boot reason
Camera Shutter State
Headphone State
Proximity sensor state
Keyboard slider state

Apps screen - currently a slow update via the menubar... lists all apps - will add more to that soon.

Tools, The back camera tool checks to see if the shutter is open.

Venomrush 2010-04-05 12:04

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Can we add a tab to do:

Quote:

apt-get update && apt-get dist-upgrade
(checking for updates and install latest packages)

MohammadAG 2010-04-05 12:07

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

Originally Posted by Venomrush (Post 596131)
Can we add a tab to do:



(checking for updates and install latest packages)

Don't do dist-upgrades on the N900, use apt-get upgrade to install updates.

noobmonkey 2010-04-05 12:15

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
think i need to figure out sudoers to get that working :)

lots more info added today will put a new devel version up tonight.

noobmonkey 2010-04-05 13:27

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
OK, New Version in extras - devel!!

Lots and lots of new goodies today.
There will be another version tonight as well, but off for a swim first :D

MohammadAG 2010-04-05 17:00

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Not sure about it, you can try though :)
user ALL = NOPASSWD: /usr/bin/apt-get
Put it in healthcheck.sudoers in /etc/sudoers.d/ and update-sudoers.

noobmonkey 2010-04-05 18:53

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Thanks Mohammad :D - very helpful.
It's on my todo list :)


Right huge update today with lots of new things So here is what is currently displayed!
Version 0.7.3-1 - Extras devel

System Tab
  • Accelerometer data
  • App/Home % Used
  • App/Home MB Free
  • Backlight Level
  • Backlight Max Level
  • Battery Charge + Status
  • Battery current mAh
  • Battery last charge mAh
  • Boot Count
  • Boot Reason
  • Current CPU Frequency
  • CPU temp (c)
  • Camera Shutter State
  • FM Transmitter Strength
  • Firmware Version + Readable name (ie PR1.1.1)
  • Headphone state
  • Kernel Core info
  • Keyboard Slider State
  • Memory Card (MMC) % Used
  • Memory Card (MMC) MB Free
  • MyDocs % Used
  • MyDocs Card MB Free
  • N900 Board info
  • N900 Board Revision
  • Processor Information
  • Proximity Sensor State
  • Rootfs % Used
  • Rootfs MB Free
  • System Locale
  • System Uptime

Comms Tab
  • Cell ID
  • Cell RNC
  • Cell Services
  • Cell Status
  • Device Hostname
  • Device IMEI
  • GPS Position (lat/long - quickfix)
  • Internal IP Address
  • MAC Address
  • Phone Signal
  • WIFI Link Quality
  • WIFI Noise
  • WIFI RSSI

Apps Tab
  • Lists all apps + Libs installed - doesn't do much else at present

Tools Tab
  • Test Sound - dropdown list of sound files on your device
  • Test LEDs - dropdown list of some patterns on your device
  • Test Vibrate - dropdown list of some patterns on your device
  • Accuracy Test - Confirms keys work, confirms accuracy of the pointer + confirm screen touch works all over
  • Dead Pixel Test - allows you to test multiple colours @ Full screen - Mix and match from RGB
  • Camera Tests - Front and back Cam Tests - Back cam will detect shutter status first, and ask you to open it, if it is not open.
  • System Reboot - Reboots the device.


Ok so in my todo's there are things like....

Tools
Update all apps (possibly dangerous)
Clean cache and run autoremove etc.......
3D test of some sort

Information tabs
Anything else to add anyone?


Aesthetics -
Be able to click on information tabs for either more information or to set timed updates of information.
Make the whole thing look nicer........

Right....... done for now :) - Enjoy, and as per usual i would appreciate any feedback you may have :D

pabloniss 2010-04-05 19:05

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
After the upgrade program will not run .. out of the application attempting to launch:confused:

noobmonkey 2010-04-05 19:07

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
hmmmmm can you try running it from terminal please? - it should provide feedback as to where it is crashing :D

pabloniss 2010-04-05 19:43

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

Originally Posted by noobmonkey (Post 596680)
hmmmmm can you try running it from terminal please? - it should provide feedback as to where it is crashing :D

yes, I tried .. sometimes starts and sometimes not .... it does not matter whether the x-term or manually
http://images50.fotosik.pl/280/e25950c13564516bmed.png


or runs in 5-10 minutes after turn on....:eek:

noobmonkey 2010-04-05 20:37

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
[QUOTE=pabloniss;596736]yes, I tried .. sometimes starts and sometimes not .... it does not matter whether the x-term or manually
http://images50.fotosik.pl/280/e25950c13564516bmed.png


or runs in 5-10 minutes after turn on....:eek:[/QUOTE

Thats really very random :|
The part of the code where the error messages seem to be appearing doesn't make a huge amount of sense....

Code:

try:
        import hildon
except:
        print "Unexpected error: Importing hildon"
        raise

Definitely no dbus calls that i can see.

Hoping someone has seen this before?

The load up time should be about 6-8 seconds now... - the only thing that could take a while is the gps, but it uses a quick fix...
Again, running it from terminal, should let you see what is taking a long time, if the dbus errors are intermittent........

legendsohai 2010-04-06 00:10

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
hi guys, i have a problem to load up healthcheck. it went crashed straight away after i tapped on the icon.

sorry for my bad english, and hopes someone can help. thank you


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

vBulletin® Version 3.8.8