[i965gm] kernel backlight control method missing for macbooks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| xf86-video-intel |
Invalid
|
High
|
||
| xserver-xorg-video-intel (Ubuntu) |
Medium
|
Unassigned | ||
| Lucid |
Medium
|
Unassigned |
Bug Description
Binary package hint: xserver-
The kernel backlight control method, which uses the /sys/class/
<pre>
--- xserver-
+++ xserver-
@@ -81,6 +81,7 @@
"asus-laptop",
"eeepc",
"thinkpad_
+ "mbp_backlight",
"acpi_video1",
"acpi_video0",
"fujitsu-
</pre>
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 03)
Subsystem: Apple Computer Inc. Device [106b:00a2]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03)
Subsystem: Apple Computer Inc. Device [106b:00a2]
Related branches
Bryce Harrington (bryce) wrote : | #1 |
tags: | added: needs-xorglog |
tags: | added: needs-lspci-vvnn |
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | New → Incomplete |
Henrik Rydberg (rydberg) wrote : | #2 |
Bryce, thank you for your reply. The issue behind the solution patch is that when setting the xrandr BACKLIGHT_CONTROL property to 'kernel' to use the sysfs interface to control the LCD backlight, the existing sysfs backlight interface is not detected. The MacBookAir, as well as many other macbooks, use the mbp_nvidia_bl kernel module, which produces the sysfs interface /sys/class/
/var/log/
When the patch is not present, it searches for the first name in the list in src/i830_lvds.c (asus-latop), does not find it and outputs a corresponding error message.
Output of lspci attached.
(Rant: Marking bugs as 'incomplete' by automacy is a good way of keeping the desk clean ;-))
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Incomplete → New |
Bryce Harrington (bryce) wrote : | #3 |
Hi rydberg,
Thanks for including the attached files. Could you also include your /var/log/Xorg.0.log (or Xorg.0.log.old) from after reproducing the issue?
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | New → Incomplete |
Henrik Rydberg (rydberg) wrote : | #4 |
I should make more clear that this issue is about the kernel backlight control method only. The native method works fine (at least after adding the nomodeset boot parameter). Thus, this issue should really just be about that single line in the first comment. Attaching the failing xorg log here anyways, on request.
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Incomplete → New |
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | New → Confirmed |
summary: |
- kernel backlight control method missing for macbooks + [i965GM] kernel backlight control method missing for macbooks |
tags: |
added: 965gm backlight karmic removed: needs-lspci-vvnn needs-xorglog |
description: | updated |
Matti Viljanen (direc85) wrote : | #5 |
The -intel module has been updated to 2.9.0, so could you please upgrade your systems and post the results?
"Worksforme", as the backlight control, too!
Steffen Röcker (sroecker) wrote : | #6 |
We need this for lucid where KMS is enabled by default.
mbp_backlight needs to be patched for older intel macbooks, like in bug #511965.
Brightness adjustment still not working in Lucid Alpha 3, KMS enabled, on a MacBook 4,1.
summary: |
- [i965GM] kernel backlight control method missing for macbooks + [i965] [i965GM] kernel backlight control method missing for macbooks |
summary: |
- [i965] [i965GM] kernel backlight control method missing for macbooks + [i965gm] kernel backlight control method missing for macbooks |
Steffen Röcker (sroecker) wrote : | #8 |
Now that bug #511965 is fixed (except for MacBook1,1) this patch enables backlight control.
Confirmed fixed for the MacBook 4,1, where brightness adjustment is now working perfectly, without pommed. Thanks a lot!
Created an attachment (id=34712)
patch
Ubuntu-Bug: https:/
The kernel backlight control method, which uses the /sys/class/
Chris Halse Rogers (raof) wrote : | #11 |
Fixed without the extra patch to xserver-
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Confirmed → Incomplete |
importance: | Undecided → Medium |
Steffen Röcker (sroecker) wrote : | #12 |
I opened an upstream bug for this.
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Incomplete → Confirmed |
assignee: | nobody → Bryce Harrington (bryceharrington) |
Would be great to get some feedback on this patch before we include it in Ubuntu
*** This bug has been marked as a duplicate of bug 25901 ***
This did seem to be fixed about a week ago, but now it's stopped working again.
Bryce Harrington (bryce) wrote : | #16 |
I'm a bit confused as to whether the patch in comment #8 is still needed - the recent comments are a little ambiguous as to whether the situation is fixed with the patch or not.
Changed in xserver-xorg-video-intel (Ubuntu Lucid): | |
status: | Confirmed → Incomplete |
Steffen Röcker (sroecker) wrote : | #17 |
Hmm. I am not sure either now, but I can't test it until friday.
Someone at bug 397617 said it works with a liveCD (linux-generic 2.6.32.19.20).
Bryce Harrington (bryce) wrote : | #18 |
Hmm. Okay well lets be optimistic and call it fixed. If someone can confirm the issue still occurs *and* test that by using the patch it positively resolves the issue, please reopen the bug and it can be investigated further.
Changed in xserver-xorg-video-intel (Ubuntu Lucid): | |
status: | Incomplete → Fix Released |
Balucio (bsaul) wrote : | #19 |
Excuse me I published this on old post. I hope this help someone:
I have a macbook pro 5.3 and Ubuntu Lucid, with mpb-nvidia-dkms for display brightness and pommed key dimming.
If I remove pommed the key dimming not work at all. If I use the nvidia-bl-dkms, even though the brightness key trigger OSD display the brightness not change.
Changed in xserver-xorg-video-intel (Ubuntu): | |
assignee: | Bryce Harrington (bryceharrington) → nobody |
Changed in xserver-xorg-video-intel (Ubuntu Lucid): | |
assignee: | Bryce Harrington (bryceharrington) → nobody |
Robert Hooker (sarvatt) wrote : | #20 |
This is not fixed, I have pushed the patch to the xserver-
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in xserver-xorg-video-intel (Ubuntu Lucid): | |
status: | Fix Released → Confirmed |
Launchpad Janitor (janitor) wrote : | #21 |
This bug was fixed in the package xserver-
---------------
xserver-
[ Christopher James Halse Rogers ]
* Merge from Debian experimental. Remaining Ubuntu changes:
- debian/
debian/
Add apport script to collect debug information on GPU hangs
- rules: Install udev rule to run the script when the kernel detects hung GPU
- 101_copy-fb.patch: Adds feature to driver so Xserver can draw
root windows with no background. This enables smooth boot with
Plymouth.
- control: Add Recommends on intel-gpu-tools to xserver-
package for use by GPU hang scripts.
- xserver-
rules:
Don't install /etc/modprobe.
At best it's redundant (as the kernel defaults to KMS), at worst it breaks
the ability to disable KMS.
[ Robert Hooker ]
* Add 102-disable-
is causing frequent hangs, but leaves the events.
* Add 103-mbp-
macbook's using the mbp_backlight module. (LP: #417770)
xserver-
* New upstream release.
xserver-
* New upstream release candidate.
xserver-
[ Julien Cristau ]
* Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
good reason. Thanks, Colin Watson!
* Remove myself from Uploaders
[ Brice Goglin ]
* New upstream release candidate, closes: #567829.
+ User mode-setting is not supported anymore.
* Bump xutils-dev build dependency for new util-macros.
* Bump libdrm build dependency to 2.4.18-3 for latest i915 drm headers.
* Build depend on libx11-xcb-dev, libxcb-aux0-dev and libxcb-dri2-0-dev
for XVMC.
* Recommends intel-gpu-tools since intel_reg_dumper is not provided
by xserver-
-- Robert Hooker <email address hidden> Sat, 29 May 2010 20:49:31 -0400
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Fix Committed → Fix Released |
Balucio (bsaul) wrote : | #22 |
From ppa, I installed xserver-
Just tried on 10.10, and brightness hotkeys didn't work until I installed pommed on a MacBook 5,2
Nope, I don't think this is fixed in Maverick unfortunately.
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Fix Released → Confirmed |
Sorry, it turns out that this is actually fixed. It seems that the hotkeys are working, but they are nowhere near sensitive enough. (ie. it takes at least a minute of holding down a key to noticeably change the brightness)
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → High |
mu3en (mu3en) wrote : | #26 |
still nothing on maverick 64 macbook 3.1
brightness control monitor pops up with either brightness up or down keys, but does not change.
last known good in karmic, lucid was as maverick now.
Steffen Röcker (sroecker) wrote : | #27 |
mu3en, can you post the output of
sudo dmidecode -s system-manufacturer
sudo dmidecode -s system-product-name
lspci | grep VGA
to bug #511965 ?
Changed in xserver-xorg-video-intel: | |
importance: | High → Unknown |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → High |
Changed in xserver-xorg-video-intel: | |
status: | Unknown → Invalid |
Rolf Leggewie (r0lf) wrote : | #28 |
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".
Changed in xserver-xorg-video-intel (Ubuntu Lucid): | |
status: | Confirmed → Won't Fix |
Hi rydberg,
Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]