Bug 649084
Summary: | Brightness soft keys on Macbook Pro doesn't works with KDE 4.5.2 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jochen Schmitt <jochen> | ||||
Component: | kdebase-workspace | Assignee: | Than Ngo <than> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | candeliere, collura, fedora, jreznik, kevin, ltinkl, marius.andreiana, rdieter, rnovacek, ry, sergemp, smparrish, than, thomasj | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kdebase-workspace-4.5.5-2.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-01-27 20:57:21 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 539961 | ||||||
Bug Blocks: | 603202 | ||||||
Attachments: |
|
Description
Jochen Schmitt
2010-11-02 22:00:45 UTC
> The issue doesn't occurs on KDE releases previous as 4.5
=> adding to the 4.5 tracker
dupe of #539961 ? heh, almost certainly (kde uses hal to do the heavy lifting). Not sure if we should depend on it, or dup it... (let's just mark the dep for now). Same problem on alu iMac 20'' but with a difference: it doesn't work in Gnome either! I think the issue is that the kind of how the backlight brighness is controlled on a Mac is depends on the modell you have. Differnent modells of the Macaintosh has different controller and so different ways how to control the backlight brightness on it. So I will suggest the usage of the sysfs interface to controll of the brighness oI f the backlight. After you have determinate the right path the kind of control should be simular on all Macaintosh modells. For more details I want to reference to the sysfs_backlight.c file from the pommed project. Is this related to http://bugs.kde.org/show_bug.cgi?id=246521 ? You can check that by trying to change brightness with commands: solid-powermanagement brightness set [value] If the command works, it's probably the same bug. The command at comment #6 works fine for me and the but is not fixed on KDE 4.5.5. I could perhaps whip up a quick-n-dirty scratch build including the upstream patch, http://websvn.kde.org/?revision=1214119&view=revision Created attachment 474131 [details]
Backport of upstream patch to solve brightness issue in KDE 4.5.5
this patch should fix the brightness issue in kDE 4.5.5. On my system (MacBook Pro late 2009) it's works fine.
*** Bug 660394 has been marked as a duplicate of this bug. *** kdebase-workspace-4.5.5-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/kdebase-workspace-4.5.5-2.fc14 How about Gnome? Brightness keys display the brightness value going up/down, but there is no actual change in screen brightness. (MBP 6.2) If GNOME is broken the same way, please file a different bug against GNOME, it's apparently not the same code which is faulty. kdebase-workspace-4.5.5-2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update kdebase-workspace'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/kdebase-workspace-4.5.5-2.fc14 Yes, the problem is still there. I updated to kde-workspace 4.5.5-2 but still nothing happens when brightness buttons are hit on the keybord. If it helps, this is my Xev output for the keys: FocusOut event, serial 32, synthetic NO, window 0x8000001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 32, synthetic NO, window 0x8000001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 32, synthetic NO, window 0x0, keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 KeyRelease event, serial 32, synthetic NO, window 0x8000001, root 0x10b, subw 0x0, time 488450, (401,327), root:(407,352), state 0x0, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False FocusOut event, serial 35, synthetic NO, window 0x8000001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 35, synthetic NO, window 0x8000001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 35, synthetic NO, window 0x0, keys: 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 KeyRelease event, serial 35, synthetic NO, window 0x8000001, root 0x10b, subw 0x0, time 489674, (401,327), root:(407,352), state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False kdebase-workspace-4.5.5-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |