[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmoko-community
Subject:    Re: [dbus] usage for SetBrightness
From:       Sebastian Krzyszkowiak <seba.dos1 () gmail ! com>
Date:       2009-12-30 16:21:34
Message-ID: c30e08170912300821q57c9e185lbfd9cff524d78e59 () mail ! gmail ! com
[Download RAW message or body]

On 12/30/09, jeremy jozwik <jerjoz.forums@gmail.com> wrote:
> list, im am trying to set the phones brightness/suspend on off/dim on
> off via the terminal.
> 
> ive gotten so far as this page:
> http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.Display.html;hb=HEAD#SetBrightness
>  which gives the command:
> SetBrightness
> and have attempted to use it by:
> org.freesmartphone.Device.Display GetBrightness
> mdbus -s org.freesmartphone.Device.Display GetBrightness
> mdbus -s /org/freesmartphone/device/display
> org.freesmartphone.Device.Display GetBrightness
> 
> and its fairly obvious that i am doing something wrong.
> 
> what would be the proper command for getting brightness level and setting
> it.
> 
> - jeremy

mdbus -s org.freesmartphone.odeviced
/org/freesmartphone/Device/Display/0
org.freesmartphone.Device.Display.GetBrightness

mdbus -s org.freesmartphone.odeviced
/org/freesmartphone/Device/Display/0
org.freesmartphone.Device.Display.SetBrightness 100


-- 
Sebastian Krzyszkowiak
dos

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic