[ltp] linux t41 consumes 2 watts on suspend
Dan Sawyer
linux-thinkpad@linux-thinkpad.org
Thu, 18 Oct 2007 17:18:36 -0700
This is a multi-part message in MIME format.
--------------080603060407050707090608
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
fb configuration is done in at least three places, below. The first has
agp and drm configs. The second configures graphics, and the third
hardware drivers. What is the right set?
(ps I set drm to get glxgears to perform better.) - Dan
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=m
CONFIG_RTC=m
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
CONFIG_AGP_ATI=m
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
#
# Graphics support
#
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=m
CONFIG_LCD_CLASS_DEVICE=m
# CONFIG_BACKLIGHT_PROGEAR is not set
CONFIG_FB=m
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=m
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_BACKLIGHT is not set
CONFIG_FB_RADEON_DEBUG=y
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
U Kuehn wrote:
> Marius Gedminas wrote:
>
>> On Thu, Oct 18, 2007 at 10:27:41AM -0700, Dan Sawyer wrote:
>>
>>> It's loading something called radeon.
>>>
>> That's the DRI module for X.
>>
>> You want radeonfb, which is the kernel framebuffer driver and which has
>> the code to fix power usage during sleep.
>>
>> IIRC I had to add radeonfb to my /etc/modules to get it to load on
>> startup.
>>
>>
> Actually I recommend to compile it into the kernel. And make sure that
> no other framebuffer device is loaded. Additional benefit is a 128x48
> text console.
>
> Cheers,
> Ulrich
>
--------------080603060407050707090608
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
fb configuration is done in at least three places, below. The first has
agp and drm configs. The second configures graphics, and the third
hardware drivers. What is the right set? <br>
<br>
(ps I set drm to get glxgears to perform better.) - Dan <br>
#<br>
# Watchdog Cards<br>
#<br>
# CONFIG_WATCHDOG is not set<br>
# CONFIG_HW_RANDOM is not set<br>
CONFIG_NVRAM=m<br>
CONFIG_RTC=m<br>
# CONFIG_GEN_RTC is not set<br>
# CONFIG_DTLK is not set<br>
# CONFIG_R3964 is not set<br>
# CONFIG_APPLICOM is not set<br>
# CONFIG_SONYPI is not set<br>
CONFIG_AGP=m<br>
# CONFIG_AGP_ALI is not set<br>
CONFIG_AGP_ATI=m<br>
# CONFIG_AGP_AMD is not set<br>
# CONFIG_AGP_AMD64 is not set<br>
CONFIG_AGP_INTEL=m<br>
# CONFIG_AGP_NVIDIA is not set<br>
# CONFIG_AGP_SIS is not set<br>
# CONFIG_AGP_SWORKS is not set<br>
# CONFIG_AGP_VIA is not set<br>
# CONFIG_AGP_EFFICEON is not set<br>
CONFIG_DRM=m<br>
# CONFIG_DRM_TDFX is not set<br>
# CONFIG_DRM_R128 is not set<br>
CONFIG_DRM_RADEON=m<br>
# CONFIG_DRM_I810 is not set<br>
# CONFIG_DRM_I830 is not set<br>
# CONFIG_DRM_I915 is not set<br>
# CONFIG_DRM_MGA is not set<br>
# CONFIG_DRM_SIS is not set<br>
# CONFIG_DRM_VIA is not set<br>
# CONFIG_DRM_SAVAGE is not set<br>
<br>
#<br>
# Graphics support<br>
#<br>
CONFIG_BACKLIGHT_LCD_SUPPORT=y<br>
CONFIG_BACKLIGHT_CLASS_DEVICE=m<br>
CONFIG_LCD_CLASS_DEVICE=m<br>
# CONFIG_BACKLIGHT_PROGEAR is not set<br>
CONFIG_FB=m<br>
CONFIG_FIRMWARE_EDID=y<br>
CONFIG_FB_DDC=m<br>
CONFIG_FB_CFB_FILLRECT=m<br>
CONFIG_FB_CFB_COPYAREA=m<br>
CONFIG_FB_CFB_IMAGEBLIT=m<br>
# CONFIG_FB_SVGALIB is not set<br>
# CONFIG_FB_MACMODES is not set<br>
# CONFIG_FB_BACKLIGHT is not set<br>
CONFIG_FB_MODE_HELPERS=y<br>
# CONFIG_FB_TILEBLITTING is not set<br>
<br>
#<br>
# Frame buffer hardware drivers<br>
#<br>
# CONFIG_FB_CIRRUS is not set<br>
# CONFIG_FB_PM2 is not set<br>
# CONFIG_FB_CYBER2000 is not set<br>
# CONFIG_FB_ARC is not set<br>
# CONFIG_FB_VGA16 is not set<br>
# CONFIG_FB_HGA is not set<br>
# CONFIG_FB_S1D13XXX is not set<br>
# CONFIG_FB_NVIDIA is not set<br>
# CONFIG_FB_RIVA is not set<br>
# CONFIG_FB_I810 is not set<br>
# CONFIG_FB_INTEL is not set<br>
# CONFIG_FB_MATROX is not set<br>
CONFIG_FB_RADEON=m<br>
CONFIG_FB_RADEON_I2C=y<br>
# CONFIG_FB_RADEON_BACKLIGHT is not set<br>
CONFIG_FB_RADEON_DEBUG=y<br>
# CONFIG_FB_ATY128 is not set<br>
# CONFIG_FB_ATY is not set<br>
# CONFIG_FB_S3 is not set<br>
# CONFIG_FB_SAVAGE is not set<br>
# CONFIG_FB_SIS is not set<br>
# CONFIG_FB_NEOMAGIC is not set<br>
# CONFIG_FB_KYRO is not set<br>
# CONFIG_FB_3DFX is not set<br>
# CONFIG_FB_VOODOO1 is not set<br>
# CONFIG_FB_CYBLA is not set<br>
# CONFIG_FB_TRIDENT is not set<br>
# CONFIG_FB_GEODE is not set<br>
# CONFIG_FB_VIRTUAL is not set<br>
<br>
U Kuehn wrote:
<blockquote cite="mid:4717DB15.108@acm.org" type="cite">
<pre wrap="">Marius Gedminas wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Thu, Oct 18, 2007 at 10:27:41AM -0700, Dan Sawyer wrote:
</pre>
<blockquote type="cite">
<pre wrap="">It's loading something called radeon.
</pre>
</blockquote>
<pre wrap="">That's the DRI module for X.
You want radeonfb, which is the kernel framebuffer driver and which has
the code to fix power usage during sleep.
IIRC I had to add radeonfb to my /etc/modules to get it to load on
startup.
</pre>
</blockquote>
<pre wrap=""><!---->Actually I recommend to compile it into the kernel. And make sure that
no other framebuffer device is loaded. Additional benefit is a 128x48
text console.
Cheers,
Ulrich
</pre>
</blockquote>
</body>
</html>
--------------080603060407050707090608--