[Sugar-devel] Dbus signal when ebook switch is activated

Gonzalo Odiard 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.
> Daniel
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101014/1d351b71/attachment-0001.html>

More information about the Sugar-devel mailing list