-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues on gnome2 with metacity #13
Comments
please launch 'dbus-monitor' to capture all dbus messages, then manually increase and decrease the screen backlight using the Function keys on the keyboard. When done, please paste the relevant output from dbus-monitor (if you don't know which is the relevant output, paste everything but have a quick read to make sure you're not publicly posting any sensitive/personal information on dbus messages). |
should i launch lightum before i run dbus-monitor? |
no, do it without lightum running sid reply@reply.github.com wrote:
Sent from my Android phone. Please excuse my brevity. |
i started dbus-monitor for system, then i pressed F9 (keyboard lights down), F10 (keyboard lights up), and F8 (keyboard lights toggle):
|
is your problem with keyboard brightness, or with video backlight? or both? |
nope, all other hardware buttons function properly (LCD brightness, sound, eject). |
ok, lightum is able to do adjust two things, depending on the value reported by the ambient light sensor (located on your MacBook's iSight camera): (1) increase and decrease the keyboard brightness For (1) to work, it needs the proper applesmc module loaded in the kernel, access to '/sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness', and UPower installed: http://upower.freedesktop.org/ For (2) to work, it needs to access either one of the following:
Having said that, please test both features separatedly, you can specify the '-w [num]' command switch to lightum. If the [num] given as a parameter is 1, lightum will only control keyboard brightness (and ignore screen backlight completely), if the [num] given as a parameter is 2, lightum will only control the screen backlight (and ignore the keyboard brightness completely). When debugging or tunning things, remember to specify also '-v -f -d 3' command line switches, so you'll get verbose output. Now, if your hardware buttons to control the keyboard brightness are not able to control it, most probably lightum will not be able either, because your system is missing the UPower package (and it also needs integration with your desktop). Hope this makes things clear, and help you troubleshoot the issues. |
i will try to install upower package as you suggest. in the mean time, i have to tell you that i am able to turn on/off/up/down the brightness if i do this (found a script on the web) -- the basic command is this: to find current keyboard brightness value:
to set desired value (SETVAL is 0...255):
so, my conclusion is that the applesmc works. my problem is that i have to run the above command with sudo. for my own case, i don't need lightum to control the screen brightness, i would only need it to work in manual mode to hookup my keyboard buttons [F8, F9, F10] respectively as [toggle, down, up] keyboard brightness functions. |
upower should take care of that without the need for root access, that's why lightum uses its provided dbus interface. |
i can't install upower, it has deps on newer libimobiledevice (v.2 while in CentOS repos it is 0.9.7). well, thanks for all your help. i guess for now i will manage with a modified sudoers file, custom keyboard shortcuts and this script:
thanks :) |
MacBook Pro 2007 (ver 3,1)
o/s: CentOS 6.2, 64 bit
desktop manager: gnome2
window manager: metacity
i was able to successfully compile lightum from source (thanks pof).
when i run it in non-daemon, verbose mode, i get this in the console:
the result of calling dbus-send:
result of calling qbus:
further, on my 64-bit system, this folder doesn't exist:
i have instead this folder, with contents listed:
The text was updated successfully, but these errors were encountered: