Re: [Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread Dylan Reilly
You can also try grabbing the frameworkd packages from the FSO
repository and installing them. That is what I have working.

If that is not to your liking, try using or perusing [1]. It works on
my Frankenstein of an openmoko.

[1] http://atariland.net/~dreilly/openmoko/audio/headset-watcher

On Fri, Jan 16, 2009 at 9:05 AM, Michael 'Mickey' Lauer
 wrote:
> No version of Openmoko 2008.x uses frameworkd. Please install FSO or SHR for
> that.
> --
> :M:
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Dylan Maxwell Reilly

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread Michael 'Mickey' Lauer
No version of Openmoko 2008.x uses frameworkd. Please install FSO or SHR for 
that.
-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread arne anka
> /etc/freesmartphone/ is not present at all

well, that most certainly means, you got no frameworkd.
no idea what is used instead.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread boilers...@gmail.com
On Fri, 16 Jan 2009 12:02:30 +0100
"arne anka"  wrote:

> > I'm not able to find any rules.yaml file, the command:
> > find /|grep -i rules\.yaml
> > return nothing.
> 
> 
> well, i assume 2008.12 _uses_ frameworkd. does it?
> you should have
> /etc/freesmartphone/oevents/rules.yaml
> then.
> 
> btw:
> find / -name rules.yaml
> is far more efficient than find ... | grep ...


Hi,

/etc/freesmartphone/ is not present at all

> find / -name rules.yaml
> is far more efficient than find ... | grep ...

thanks you are so correct
but my fingers are so used to grep :) :|

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread arne anka
> I'm not able to find any rules.yaml file, the command:
> find /|grep -i rules\.yaml
> return nothing.


well, i assume 2008.12 _uses_ frameworkd. does it?
you should have
/etc/freesmartphone/oevents/rules.yaml
then.

btw:
find / -name rules.yaml
is far more efficient than find ... | grep ...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread boilers...@gmail.com
On Fri, 16 Jan 2009 11:43:18 +0100
"arne anka"  wrote:

> i think, there's a rule in fso, matching headset plugging and subsequently  
> causing actions, check rules.yaml.
> another way should be to enable logging in fso, set it to DEBUG and  
> monitor the logfile while plugging/unplugging. that should provide some  
> hints where to start looking from.


Hi Arne,

I'm not able to find any rules.yaml file, the command:
find /|grep -i rules\.yaml
return nothing.

Thank you

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread arne anka
i think, there's a rule in fso, matching headset plugging and subsequently  
causing actions, check rules.yaml.
another way should be to enable logging in fso, set it to DEBUG and  
monitor the logfile while plugging/unplugging. that should provide some  
hints where to start looking from.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Om2008.12] Dbus ? Frameworkd ? Headset ?

2009-01-16 Thread boilers...@gmail.com
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.PropertyModifiedfrom :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.PropertyModifiedfrom :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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community