Re: DBus / mce

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-04-13 at 22:04 +0200, ext André Hänsel wrote:
> Hi,
> 
> I tried this example code:
> http://wiki.maemo.org/Using_Fremantle_widgets#Listening_To_Hardware_Orientat
> ion_Changes_.28Python_example.29
> 
> However, it only works when the telephony application is running at the same
> time. Otherwise the sig_device_orientation_ind is not being sent, as one can
> also see in dbus-monitor --system.
> 
> How do I enable sending of that signal?

The signal is not sent always to save power. To get it, someone needs to
be interested about it. See hd_app_mgr_mce_activate_accel_if_needed() in
http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/src/launcher/hd-app-mgr.c
for an example how to subscribe to it.

-Kimmo

> 
> Regards,
> André
> 
> _______________________________________________
> maemo-users mailing list
> maemo-users@xxxxxxxxx
> https://lists.maemo.org/mailman/listinfo/maemo-users

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux