[Sugar-devel] Dbus signal when ebook switch is activated
gonzalo at laptop.org
Thu Oct 14 14:29:30 EDT 2010
I don't see Gnome doing anything with this event.
It's a very specific XO thing ...
I probably don't are explaining well what I need.
I am reading the event with dbus, it's working. I think it's the wright way
to do this today.
But it's strange it send a array with two boolean values (lid and ebook
switchs) but ever with the value in False.
I want to check if the software who emit the dbus signal is checking in the
wright place for the switch state.
Now I am testing in a XO-1, and don't have the dbus signal.
Also the devices are different:
in XO-1 cat /proc/bus/input/devices show the lid switch in event1 ant the
ebook switch in event2
in XO-1.5 cat /proc/bus/input/devices show the lid switch in event2 ant the
ebook switch in event4
in the XO-1 don't have the /proc/acpi directory
The two machines have a 852 img
On Thu, Oct 14, 2010 at 12:59 PM, Daniel Drake <dsd at laptop.org> wrote:
> On 14 October 2010 10:38, Peter Robinson <pbrobinson at gmail.com> wrote:
> > I think this should be an input event, I think in most cases this is
> > how input from lid switches and the like are handled across most
> > things now.
> It already is an input event, but I suspect that diving down into
> opening input devices is the wrong thing to do. Next sensible step
> would be to look at how GNOME does it.
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel