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-04 13:36

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
hehe yup :) - i think the earlier idea of testing channels is a good one - so a left and right channel test for the speakers :D
Headphone/headset test is a good one too :D

Mic - i'm not sure on will investigate it though :D

noobmonkey 2010-03-04 15:26

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

Originally Posted by Mazi (Post 555412)
possible to add system up time??

Mazi, just woken up, and realised i have already added it :) its on the first tab, scroll to the bottom :)

noobmonkey 2010-03-04 18:48

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
V 0.5.2-4 - Going in to Extras-Devel
This one may cause a few issues -
Added a new dependency to test the speakers (Not audio channels yet, but does test mono + stereo)
Also - filled the tables to start the program (Empty values)

noobmonkey 2010-03-04 19:26

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
no issues so far? take that as good news :)

mikec 2010-03-04 19:36

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

Originally Posted by noobmonkey (Post 555930)
V 0.5.2-4 - Going in to Extras-Devel
This one may cause a few issues -
Added a new dependency to test the speakers (Not audio channels yet, but does test mono + stereo)
Also - filled the tables to start the program (Empty values)

@noobmonkey

can you post your py call to play a sound please, thats my next stop on my adventure with PyQt

noobmonkey 2010-03-04 19:38

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

Originally Posted by mikec (Post 555980)
@noobmonkey

can you post your py call to play a sound please, thats my next stop on my adventure with PyQt

Stereo
Code:

       
        b = None
        b = os.popen('pacat --channels=2 /usr/share/sounds/ui-wake_up_tune.wav')
        b.close ()

For mono
Code:

 
        b = None
        b = os.popen('pacat --channels=1 /usr/share/sounds/ui-wake_up_tune.wav')
        b.close ()

Package depends on - pulseaudio-utils :D

TNiga 2010-03-04 21:04

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

Originally Posted by noobmonkey (Post 554425)
V0.5.2-1 - Built (Or will be in 2 minutes)

Added a safety message before reboot button works.
Repositioned tool buttons
added a notification box. Anyone know how to change the failed icon on this one?

Have tried all variants :(
Code:

bus = dbus.SessionBus()
        proxy = bus.get_object('org.freedesktop.Notifications', '/org/freedesktop/Notifications')
        interface = dbus.Interface(proxy,dbus_interface='org.freedesktop.Notifications')
        interface.Notify('HealthCheck', 0, '/usr/share/icons/hicolor/scalable/hildon/healthcheck.png/healthcheck.png', 'Comms Tab', 'Finished Loading', [], {}, 2000)


I don't know if you have fixed this already, but perhaps the icon error has something to do with that extra /healthcheck.png in the Notify() function:
interface.Notify('HealthCheck', 0, '/usr/share/icons/hicolor/scalable/hildon/healthcheck.png/healthcheck.png', 'Comms Tab', 'Finished Loading', [], {}, 2000)

noobmonkey 2010-03-04 22:38

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

Originally Posted by TNiga (Post 556083)
I don't know if you have fixed this already, but perhaps the icon error has something to do with that extra /healthcheck.png in the Notify() function:
interface.Notify('HealthCheck', 0, '/usr/share/icons/hicolor/scalable/hildon/healthcheck.png/healthcheck.png', 'Comms Tab', 'Finished Loading', [], {}, 2000)


not fixed it yet, but didnt work without the double part (Yes that was a mistake, hehe) :D

TNiga 2010-03-05 08:09

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
How about if you put just the name of the icon instead the full path and extension? In this case just 'healthcheck'. At least some system icon stuff works this way.

noobmonkey 2010-03-05 08:38

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

Originally Posted by TNiga (Post 556526)
How about if you put just the name of the icon instead the full path and extension? In this case just 'healthcheck'. At least some system icon stuff works this way.

ooo not tried that :D - will give it a go :D :D


All times are GMT. The time now is 15:27.

vBulletin® Version 3.8.8