View Single Post
Old August 13th, 2009   #17
cdufour
First Cup of Ubuntu
 
Join Date: Aug 2009
Location: Verbier, Switzerland
Beans: 3
Ubuntu 9.04 Jaunty Jackalope
Re: No GMA 500(PSB) Support in 9.10 Is this True?

About the missing /proc/acpi/video directory

Looking at http://lxr.linux.no/linux+v2.6.30/dr.../video.c#L2336 - ACPI Video code as per kernel 2.6.30, where /proc/acpi/video seems to have gone missing (cf. tested 2.6.30 mainline PPA kernel) - explains the disappearance: GMA500 is reported as an Intel VGA device, which prompts the ACPI Video to skip the registration.

The following (quick and dirty) patch solves the issue:
Code:
--- linux-2.6.31/drivers/acpi/video.c.orig    2009-08-13 22:59:13.000000000 +0200
+++ linux-2.6.31/drivers/acpi/video.c    2009-08-13 23:00:06.000000000 +0200
@@ -2391,8 +2391,8 @@
 {
     dmi_check_system(video_dmi_table);
 
-    if (intel_opregion_present())
-        return 0;
+//    if (intel_opregion_present())
+//        return 0;
 
     return acpi_video_register();
 }
The /proc/acpi/video directory then re-appears, and the "IgnoreACPI" option can be removed from /etc/X11/xorg.conf

TO BE CLARIFIED: does this behavior occurs only when using 2.6.31 on 9.04/Jaunty (my setup), or does it also occur in 9.10/Karmic?

Also, once X started, the LCD brightness MUST be modified via XRandR:
Code:
xrandr --output LVDS0 --set BACKLIGHT <value between 0 and 100>
(iow. /proc/acpi/video/GFX0/LCDD/brightness won't work)
Hope this helps

Last edited by cdufour; August 13th, 2009 at 05:26 PM..
cdufour is offline   Reply With Quote