Notices


Reply
Thread Tools
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#431
quick catchup from me:

Originally Posted by Venomrush View Post
Can we add a tab to do:
(checking for updates and install latest packages)
scope moves beyond information into dangerous ground, use console if you are comfortable or HAM if not.

Originally Posted by assetburned View Post
hmm just an idea... but i guess it would be a little security risk if all users would be allowed to use apt-get... so that should be only done in a veeeeery limited time window.
yes, don't make things which need root generally usable by regular user.

Originally Posted by MohammadAG View Post
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.
eep!

Originally Posted by noobmonkey View Post
god only knows the destructive power of healthcheck under root
not only god, think about all the kittens that will be harmed

Originally Posted by noobmonkey View Post
As much as i agree, i do feel that is more for the app designers to assist, when their package is being removed, it should remove everything...

So far i have stopped short of intrusive tools for 2 reasons: (None of my current tools do anything other than show you information)
1) There seems to be some umming and erring over if it is a good idea
2) I need to learn how to do it properly
1) yup lots of it
2) good to know, but not part of generic info lookup tool

showing the information is good practice - telling them how to cure it is also good but until you are sure of mechanisms and issues, stick with a hands off, look only approach.
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 

The Following 3 Users Say Thank You to lcuk For This Useful Post:
Posts: 38 | Thanked: 18 times | Joined on Apr 2010
#432
Hi Noobmonkey,

Have been trying few previous releases of your nice app, if they all installed flawlessly, I did de-installed them all because each time I could not get the cam test to work. I thought this one would, but still no go! Everything seems OK but nothing happen when test cam... (I know both work) so I must be missing a dep or something, any idea? maybe something about the gstreamer version?
thanks
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#433
Originally Posted by deed View Post
Hi Noobmonkey,

Have been trying few previous releases of your nice app, if they all installed flawlessly, I did de-installed them all because each time I could not get the cam test to work. I thought this one would, but still no go! Everything seems OK but nothing happen when test cam... (I know both work) so I must be missing a dep or something, any idea? maybe something about the gstreamer version?
thanks
Hi Deed, sorry for the slow reply, just got back from hols

Very interesting that neither cam's work?
It is important to confirm the front camera that you point it at a bright light, just to double check.

Right.... to test gstreamer go into x-terminal on your device and run these commands

Back Camera
Code:
gst-launch v4l2camsrc device=/dev/video0 num-buffers=10 ! dspjpegenc ! filesink location=/home/user/MyDocs/bcamtest.jpg
Front Camera
Code:
gst-launch v4l2camsrc device=/dev/video1 num-buffers=10 ! dspjpegenc ! filesink location=/home/user/MyDocs/fcamtest.jpg

then check your mydocs folder - you should have two files, one for each camera.
You may get an error back in x-terminal if it is not working, if so, post it back and i'll see what i can do
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 

The Following User Says Thank You to noobmonkey For This Useful Post:
Posts: 38 | Thanked: 18 times | Joined on Apr 2010
#434
Hi Noobmonkey,
So I've been trying few things by myself first:
Tested front cam with mirror app: works
Tested back cam: works (enough light for the 2 tests)
valided my gstreamer install, seems ok, but decided to add gstreamer sdl plugin, and gstreamer ugly plugins (just in case). This had add a lot of (useless...) files but hey, who knows! Then re-test the 2 cams as before, worked.
Then went into terminal and test the two commands above:
for video1: no error messages, file was created but weight 1ko and not able to open...
for video0: same behavior plus 3 lines saying: dsp_thread: failed waiting for events
file was created, but exactly the same of video1 test: 1ko, unreadable.
Went in Healthcheck app: still no go with cam test; 10 second waiting, then go back to cam test menu.
I've tryed to launch your app from xterminal, but could not: no healthcheck command, nor in normal user nor in root.
So it's a mystery to me! One last thing, I'm on PR1.0, but I don't believe it has something to do with.
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#435
Originally Posted by deed View Post
One last thing, I'm on PR1.0, but I don't believe it has something to do with.
Ahaaaaaaaaa
I think it may! interesting that mirror works, but it does use a different method to mine.
Its very strange though, as I'm assuming with dependencies everyone should be getting the same version of gstreamer tools downloading?

1.0 is Quite far behind though!
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 38 | Thanked: 18 times | Joined on Apr 2010
#436
Yes it's true that it's quite far behind, but I've got no prob with it, and what I mean by no prob is that everything I need is working rock solid from day one: WIFI, Vids, live streaming, Microb, Easy Debian and so on. I rely on my device to be my working computer when not at home and I can hook on every wifi spot everywhere, or strong 3.5g cons. To be true, most of the problems people have faced after 1.1 upgrade are just unknown for me!
I'm running now Letho's 950/500 kernel from the day it was out, and same: no prob, just a more responsive device everywhere it was lacking a bit of speed!
But I've to admit that there are now few apps that I can't update anymore, or even new that I can't install...
Healthcheck is still a good testing and informative app though, even if I can't "test" the cams!
Thanks anyway for your work.
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#437
Just tried version 1.0 very nice.
I like the startup . Did you use Qt progress bars for that ?
__________________
N900_Email_Options Wiki Page
 

The Following User Says Thank You to mikec For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#438
Originally Posted by mikec View Post
Just tried version 1.0 very nice.
I like the startup . Did you use Qt progress bars for that ?
yup, will post the code when i get near a pc
(think it was qprogressbardialog will check tho)
new version will allow 1 click updates in the list boxes just working on it this week )..
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 

The Following 2 Users Say Thank You to noobmonkey For This Useful Post:
Posts: 344 | Thanked: 73 times | Joined on Oct 2009 @ Los Angeles
#439
Shouldn't the LED test check all colors?
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#440
Mike, here is the code that i have used
Code:
                progress = QtGui.QProgressDialog("Please Wait", "Cancel", 0, 100, MainWindow)

		progress.setWindowModality(QtCore.Qt.WindowModal)
		progress.setAutoReset(True)
		progress.setAutoClose(True)
		progress.setMinimum(0)
		progress.setMaximum(100)
		progress.resize(800,100)
		progress.setWindowTitle("Loading Healthcheck")
		progress.show()
Then as the process proceeds i use (repeated with different functions)
Code:
                Self.someFunction()
                QtGui.QApplication.processEvents()
                time.sleep(0.1)
                progress.setValue(15)
and at the end

Code:
progress.hide()
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -

Last edited by noobmonkey; 2010-04-11 at 21:18.
 

The Following 2 Users Say Thank You to noobmonkey For This Useful Post:
Reply

Tags
check, faulty, front camera, gps, hardware, healthcheck, test


 
Forum Jump


All times are GMT. The time now is 12:39.