Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Command to turn on the screen led (Maemo N810)

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


dc101x at gmail

Jan 5, 2010, 8:22 PM

Post #1 of 3 (529 views)
Permalink
Command to turn on the screen led (Maemo N810)

Hi all,

I am just wondering if it is possible to use a command (most probably dbus
or something) to tell the screen to light up once it has turned off. I know
it can be turned on by a simple tap, but I need to automate this when the
device has received some notifications.

Also, if it's not too much to ask, is it possible to disable software
updates notification at the status bar?


Cheers,
dc101


trippin1 at gmail

Jan 5, 2010, 11:45 PM

Post #2 of 3 (490 views)
Permalink
Re: Command to turn on the screen led (Maemo N810) [In reply to]

Hiya,

You're looking for this function:
http://maemo.org/api_refs/4.0/libosso/group__Devstate.html#g93fe32aeb992e128c94b890d6f801bfd

libosso's source is available, too, so if you don't like using it and
would prefer to see the D-Bus behind it...

Best Regards,
Faheem

On 1/6/10, dc101 <dc101x [at] gmail> wrote:
> Hi all,
>
> I am just wondering if it is possible to use a command (most probably dbus
> or something) to tell the screen to light up once it has turned off. I know
> it can be turned on by a simple tap, but I need to automate this when the
> device has received some notifications.
>
> Also, if it's not too much to ask, is it possible to disable software
> updates notification at the status bar?
>
>
> Cheers,
> dc101
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


david.hautbois at free

Jan 6, 2010, 8:40 AM

Post #3 of 3 (477 views)
Permalink
Re: Command to turn on the screen led (Maemo N810) [In reply to]

maybe :

dbus-send --system --type=method_call --dest=com.nokia.mce
/com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change
string:"unlocked"



Faheem Pervez wrote:
> Hiya,
>
> You're looking for this function:
> http://maemo.org/api_refs/4.0/libosso/group__Devstate.html#g93fe32aeb992e128c94b890d6f801bfd
>
> libosso's source is available, too, so if you don't like using it and
> would prefer to see the D-Bus behind it...
>
> Best Regards,
> Faheem
>
> On 1/6/10, dc101 <dc101x [at] gmail> wrote:
>
>> Hi all,
>>
>> I am just wondering if it is possible to use a command (most probably dbus
>> or something) to tell the screen to light up once it has turned off. I know
>> it can be turned on by a simple tap, but I need to automate this when the
>> device has received some notifications.
>>
>> Also, if it's not too much to ask, is it possible to disable software
>> updates notification at the status bar?
>>
>>
>> Cheers,
>> dc101
>>
>>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.