Bug 964678

Summary: [Patch] mate-power-manager complete dbus interface for keyboard backlight
Product: [Fedora] Fedora Reporter: William Brown <william>
Component: mate-power-managerAssignee: Dan Mashal <dan.mashal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dan.mashal, nmo.marques, raveit65.sun, rdieter, stefano
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mate-power-manager-1.6.3-0.2.gitbc54d96.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-23 03:28:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch that finalises dbus interface for keyboard backlight controls. none

Description William Brown 2013-05-19 13:28:06 UTC
Created attachment 750041 [details]
Patch that finalises dbus interface for keyboard backlight controls.

Description of problem:

January this year I added support for keyboard backlight control to mate-power-manager. Included was an incomplete interface for dbus support. This patch finalises this work. 

 dbus-cli org.mate.PowerManager
/
/org
/org/mate
/org/mate/PowerManager
/org/mate/PowerManager/Backlight
/org/mate/PowerManager/KbdBacklight

dbus-cli org.mate.PowerManager /org/mate/PowerManager/KbdBacklight

Interface org.freedesktop.DBus.Introspectable:
 (String data) Introspect()

Interface org.freedesktop.DBus.Properties:
 (Variant value) Get(String interface, String propname)
 void Set(String interface, String propname, Variant value)
 (Dictionary {s, v} props) GetAll(String interface)

Interface org.mate.PowerManager.KbdBacklight:
 void SetBrightness(UInt32 percentage_brightness)
 (UInt32 percentage_brightness) GetBrightness()


dbus-cli org.mate.PowerManager /org/mate/PowerManager/KbdBacklight GetBrightness
percentage_brightness = 10



Version-Release number of selected component (if applicable):
1.6

Comment 1 Wolfgang Ulbrich 2013-06-26 08:04:45 UTC
Can you do a pull request for this at github, the place where all devs get noticed about?
https://github.com/mate-desktop/mate-power-manager

Comment 2 William Brown 2013-06-26 08:06:55 UTC
Yes, I have setup my github etc to do this, but there is a build error atm in m-p-m that is preventing me from continuing (Even before I apply the patch)

Comment 3 Wolfgang Ulbrich 2013-06-26 08:43:14 UTC
Ahh Ok, if you interested open a topic in MATE forum / fedora part, there i can help you to solve the build error, or catch me at irc #fedora-mate or #mate (raveit65).
http://forums.mate-desktop.org/viewforum.php?f=8
(Nice&Gently)

Comment 4 Wolfgang Ulbrich 2013-06-26 08:45:58 UTC
If you build m-p-m-1.6.1 don't use ./autogen.sh anymore, simply use ./configure.

Comment 5 Wolfgang Ulbrich 2013-06-26 17:04:26 UTC
koji scratch builds for testing with your patch, thank you.
http://koji.fedoraproject.org/koji/taskinfo?taskID=5547175
http://koji.fedoraproject.org/koji/taskinfo?taskID=5547178

Comment 8 Fedora Update System 2013-10-13 20:03:22 UTC
mate-power-manager-1.6.3-0.1.gitbc54d96.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mate-power-manager-1.6.3-0.1.gitbc54d96.fc18

Comment 9 Fedora Update System 2013-10-13 20:05:06 UTC
mate-power-manager-1.6.3-0.1.gitbc54d96.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mate-power-manager-1.6.3-0.1.gitbc54d96.fc19

Comment 10 Fedora Update System 2013-10-13 20:07:24 UTC
mate-power-manager-1.6.3-0.1.gitbc54d96.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mate-power-manager-1.6.3-0.1.gitbc54d96.fc20

Comment 11 Fedora Update System 2013-10-14 06:57:55 UTC
Package mate-power-manager-1.6.3-0.1.gitbc54d96.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mate-power-manager-1.6.3-0.1.gitbc54d96.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18999/mate-power-manager-1.6.3-0.1.gitbc54d96.fc19
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2013-10-15 06:41:23 UTC
mate-power-manager-1.6.3-0.1.gitbc54d96.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2013-10-16 08:58:59 UTC
mate-power-manager-1.6.3-0.2.gitbc54d96.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mate-power-manager-1.6.3-0.2.gitbc54d96.fc18

Comment 14 Fedora Update System 2013-10-16 08:59:15 UTC
mate-power-manager-1.6.3-0.2.gitbc54d96.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mate-power-manager-1.6.3-0.2.gitbc54d96.fc19

Comment 15 Fedora Update System 2013-10-18 19:34:08 UTC
Package mate-power-manager-1.6.3-0.2.gitbc54d96.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mate-power-manager-1.6.3-0.2.gitbc54d96.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19242/mate-power-manager-1.6.3-0.2.gitbc54d96.fc19
then log in and leave karma (feedback).

Comment 16 Fedora Update System 2013-10-23 03:28:15 UTC
mate-power-manager-1.6.3-0.2.gitbc54d96.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2013-10-23 03:39:18 UTC
mate-power-manager-1.6.3-0.2.gitbc54d96.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.