Command to turn on the screen led (Maemo N810)

Command to turn on the screen led (Maemo N810)

sarev0k
Karma: 62
2010-01-06 04:22 UTC
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

  •  Reply

Re: Command to turn on the screen led (Maemo N810)

Faheem Pervez
Karma: 2151
2010-01-06 07:45 UTC
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@gmail.com> 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
>
  •  Reply

Re: Command to turn on the screen led (Maemo N810)

David Hautbois
Karma: 352
2010-01-06 16:40 UTC
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@gmail.com> 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
>>
>>
>
>
  •  Reply

Re: Command to turn on the screen led (Maemo N810)

Luis Ferreira
Karma: 47
2010-01-16 22:09 UTC
I logged into my tablet (N800) via ssh, while it had the backlight off, and tried the command above, but my tablet keeps the backlight off...
I'm also looking for the exact same thing: a command line that can make change the screen brightness...
any help is welcome.
thanks.


>
> 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@gmail.com> 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
> >>
> >>
> >
> >
>
>
  •  Reply

Re: Command to turn on the screen led (Maemo N810)

Luis Ferreira
Karma: 47
2010-01-16 22:15 UTC
found it:
dbus-send --system --dest=com.nokia.mce --print-reply \ /com/nokia/mce/request \ com.nokia.mce.request.req_display_state_on

:)
  •  Reply