[Om2008.12] Dbus ? Frameworkd ? Headset ?

boilersoup at gmail.com boilersoup at gmail.com
Fri Jan 16 11:22:11 CET 2009


Hi All,

I'm trying to debug the OpenmokoFramework back-end
to get some notification when I plug / unplug the headset.

I've installed mickeydbus ( http://git.freesmartphone.org/?p=python-helpers.git;a=summary ) and when I run it with "mdbus -s -l"
I only get some (every ~30 seconds):


listening for signals on SystemBus from service 'all', object 'all'...

 [SIGNAL]    org.freedesktop.Hal.Device.PropertyModified    from :1.0 /org/freedesktop/Hal/devices/computer_power_supply_battery_bat
(dbus.Int32(1), dbus.Array([dbus.Struct((dbus.String(u'battery.reporting.rate'), dbus.Boolean(False), dbus.Boolean(False)), signature=None)], signature=dbus.Signature('(sbb)')))

 [SIGNAL]    org.freedesktop.Hal.Device.PropertyModified    from :1.0 /org/freedesktop/Hal/devices/computer_power_supply_battery_bat
(dbus.Int32(1), dbus.Array([dbus.Struct((dbus.String(u'battery.reporting.rate'), dbus.Boolean(False), dbus.Boolean(False)), signature=None)], signature=dbus.Signature('(sbb)')))


and nothing happens when I plug / unplug the headset
nor when I create / delete a file.

Then I've installed cli-framework ( http://git.freesmartphone.org/?p=framework.git;a=summary )
and when I run it that's the result:


./cli-framework
ERROR:dbus.proxies:Introspect error on org.freesmartphone.DBus:/org/freesmartphone/DBus: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freesmartphone.DBus was not provided by any .service files
DBus Exception. dbus-hlid not installed
DBus Exception. dbus-hlid not installed
DBus Exception. dbus-hlid not installed
freesmartphone.org interactive command line


hehe I'm missing something :)

Question:
how do I get notifications about headset plug / unplug insertion ?


Thanks for supporting,
have a nice day.
Mike




More information about the community mailing list