[dbus] usage for SetBrightness

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Wed Dec 30 17:21:34 CET 2009


On 12/30/09, jeremy jozwik <jerjoz.forums at 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



More information about the community mailing list