[ltp] Re: thinkpad t41 draws 2 watts during suspend

Dan Sawyer linux-thinkpad@linux-thinkpad.org
Tue, 25 Sep 2007 17:42:54 -0700


This is a multi-part message in MIME format.
--------------040802010901010909040107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Thanks for the reply.

Systems based on 2.6.20.4 kernels work. Systems based on 2.6.21.1 don't 
work. The root issue appears to be the kernel management of radeonfb. A 
list of the elements built show the same files in the ./drivers 
directory. The kernel no longer manages radeonfb in the same way, it is 
not managed as a module via lsmod. The status output has moved from 
dmesg to /var/log/Xlog. The working kernel log shows it recognizing the 
thinkpad. The non working one does not.

How is radoenfb being managed? (It is included in initrd via 
/etc/sysconfig/initrd)
How can a load parameter be passed in this situation?

Thanks - Dan

Marius Gedminas wrote:
> On Mon, Sep 24, 2007 at 08:53:08PM -0700, Dan Sawyer wrote:
>   
>> Thank you. modprobe.conf loads radeonfb however it is not loaded.
>>     
>
> Well, modprobe.conf doesn't control what modules are loaded, you need
> /etc/modules for that.  modprobe.conf (which has been superseded these
> days by /etc/modutils/*) can only specify options for modules.
>
> Have you tried 'modprobe radeonfb' manually before suspending?
>
>   
>> I am not 
>> sure what driver is controlling the video. How can that be determined?
>>     
>
> There's more than one, usually.  The X window system has its own driver
> (but I don't know whether it does any power management on suspend), and
> you can see which one it is in /var/log/Xorg.0.log.  The kernel also has
> its own (vesafb/radeonfb), and you can probably figure out which one is
> loaded by looking at dmesg.  Alternatively the kernel can use old-style
> VGA text modes without any ***fb drivers loaded.
>
>   
>> Is 
>> there a tool that shows the link between the h/w config and the s/w config.
>>     
>
> I don't know, but there could be.  I think all the information can be
> extracted from the /sys tree.
>
> Marius Gedminas
>   

--------------040802010901010909040107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for the reply. <br>
<br>
Systems based on 2.6.20.4 kernels work. Systems based on 2.6.21.1 don't
work. The root issue appears to be the kernel management of radeonfb. A
list of the elements built show the same files in the ./drivers
directory. The kernel no longer manages radeonfb in the same way, it is
not managed as a module via lsmod. The status output has moved from
dmesg to /var/log/Xlog. The working kernel log shows it recognizing the
thinkpad. The non working one does not. <br>
<br>
How is radoenfb being managed? (It is included in initrd via
/etc/sysconfig/initrd) <br>
How can a load parameter be passed in this situation? <br>
<br>
Thanks - Dan <br>
<br>
Marius Gedminas wrote:
<blockquote cite="mid:20070925121131.GA22508@platonas" type="cite">
  <pre wrap="">On Mon, Sep 24, 2007 at 08:53:08PM -0700, Dan Sawyer wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Thank you. modprobe.conf loads radeonfb however it is not loaded.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Well, modprobe.conf doesn't control what modules are loaded, you need
/etc/modules for that.  modprobe.conf (which has been superseded these
days by /etc/modutils/*) can only specify options for modules.

Have you tried 'modprobe radeonfb' manually before suspending?

  </pre>
  <blockquote type="cite">
    <pre wrap="">I am not 
sure what driver is controlling the video. How can that be determined?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
There's more than one, usually.  The X window system has its own driver
(but I don't know whether it does any power management on suspend), and
you can see which one it is in /var/log/Xorg.0.log.  The kernel also has
its own (vesafb/radeonfb), and you can probably figure out which one is
loaded by looking at dmesg.  Alternatively the kernel can use old-style
VGA text modes without any ***fb drivers loaded.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Is 
there a tool that shows the link between the h/w config and the s/w config.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I don't know, but there could be.  I think all the information can be
extracted from the /sys tree.

Marius Gedminas
  </pre>
</blockquote>
</body>
</html>

--------------040802010901010909040107--