|
|
2010-06-07
, 11:31
|
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#562
|
| The Following User Says Thank You to noobmonkey For This Useful Post: | ||
|
|
2010-06-07
, 13:01
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#563
|
) so I can't add any interface elements myself; nor do I know how its signal implementation works so I can't add checking for the "Error" signal sent by FMTxd.# -*- coding: utf-8 -*-
import dbus
def FMTxPropertiesInterfaceConnect():
bus = dbus.SystemBus()
dbus_object = bus.get_object('com.nokia.FMTx', '/com/nokia/fmtx/default', False)
dbus_interface = dbus.Interface(dbus_object, dbus_interface='org.freedesktop.DBus.Properties')
return dbus_interface
def GetProp(dbus_interface, prop):
return dbus_interface.Get('org.freedesktop.DBus.Properties', prop)
def FMTxState():
return GetProp(FMTxPropertiesInterfaceConnect(), 'state')
def FMTxFrequency():
return GetProp(FMTxPropertiesInterfaceConnect(), 'frequency')
def FMTxStartable():
return GetProp(FMTxPropertiesInterfaceConnect(), 'startable')
#print "%s" % FMTxState()
| The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||
|
|
2010-06-07
, 13:33
|
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#564
|
| The Following User Says Thank You to noobmonkey For This Useful Post: | ||
|
|
2010-06-07
, 14:10
|
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#565
|
|
|
2010-06-07
, 16:04
|
|
Posts: 22 |
Thanked: 17 times |
Joined on May 2010
|
#566
|
| The Following User Says Thank You to chubbyisacat For This Useful Post: | ||
|
|
2010-06-07
, 16:10
|
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#567
|
Since the last 3 updates, I can't get Healthcheck to load - just reverts blankly to the desktop every time. It was working fine last night before I updated. I've tried uninstalling and reinstalling to no avail. Thanks for any help - really like the application.
|
|
2010-06-07
, 16:22
|
|
Posts: 22 |
Thanked: 17 times |
Joined on May 2010
|
#568
|
| The Following User Says Thank You to chubbyisacat For This Useful Post: | ||
|
|
2010-06-07
, 16:31
|
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#569
|
|
|
2010-06-07
, 16:35
|
|
Posts: 22 |
Thanked: 17 times |
Joined on May 2010
|
#570
|
![]() |
| Tags |
| check, faulty, front camera, gps, hardware, healthcheck, test |
|
python /opt/healthcheck/healthcheck.py
----------- 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? -