<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Patch] OpenChrome LVDS DFP (LCD) Power Management Improvement"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93246">93246</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Patch] OpenChrome LVDS DFP (LCD) Power Management Improvement
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/openchrome
</td>
</tr>
<tr>
<th>Assignee</th>
<td>openchrome-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kevinbrace@gmx.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=120331" name="attach_120331" title="A new function called VIASetDFPBackLight was added">attachment 120331</a> <a href="attachment.cgi?id=120331&action=edit" title="A new function called VIASetDFPBackLight was added">[details]</a></span>
A new function called VIASetDFPBackLight was added
This is a major improvement for those with DFP (Digital Flat Panel) like LCD,
especially laptop users (i.e., LVDS DFP) who happened to have VIA Technologies
integrated graphics.
In order to apply this patch, it is recommended to download 9 other patches I
have posted here, but at the minimum, you can "probably" get away with applying
a patch uploaded with <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Patch] ViaLVDSDFPPower function improvement"
href="show_bug.cgi?id=93245">Bug 93245</a> first before applying this one.
For Ubuntu users (including Lubuntu and other variants), you should be
using 10.04 LTS or later versions.
As far as I know, OpenChrome does not compile with 8.04 LTS at this point.
Before compiling OpenChrome you need to install git-core.
sudo apt-get install git-core
In order to compile OpenChrome successfully, you will need to build dependency
for xserver-xorg-video-openchrome.
sudo apt-get build-dep xserver-xorg-video-openchrome
Download the current OpenChrome source code.
git clone git://anongit.freedesktop.org/openchrome/xf86-video-openchrome
Change to the OpenChrome folder.
cd xf86-video-openchrome
At a minimum, download this patch and the patch posted over at <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Patch] ViaLVDSDFPPower function improvement"
href="show_bug.cgi?id=93245">Bug 93245</a> to
xf86-video-openchrome holder.
It is recommended to download all 10 patches including this one to
xf86-video-openchrome holder.
Now apply the patch like the following way.
patch -p1 < 0009-Made-improvements-to-ViaLVDSDFPPower-function-inside.patch
patch -p1 < 0010-Added-a-new-function-called-VIASetDFPBackLight-to-vi.patch
For the other 8 earlier patches, just change the file name portion (*.patch
section) of the patch command.
Now prepare for compilation.
./autogen.sh --prefix=/usr --enable-debug --enable-xv-debug
--enable-viaregtool
Compile the source code.
make
If you do not care about overwriting the current OpenChrome device driver, then
you can proceed to installation.
sudo make install
Now, reboot and hopefully OpenChrome works correctly with the updated code.
If you set the screen display turn off timer to, say 1 minute, then the DFP of
your laptop should turn off automatically in 1 minute.
Of course, the screen turns back on if you move the mouse cursor or press the
keyboard.
Please make sure that you specify the desired timer setting for both AC adapter
operation and battery operation.
Note that this patch only affects DFP, and it has no impact on VGA-based screen
(i.e., screen turn off feature already works correctly).
The source code compilation instructions were largely copied from the
OpenChrome installation page, especially "Install from GIT" section.
<a href="http://www.freedesktop.org/wiki/Openchrome/Installation/">http://www.freedesktop.org/wiki/Openchrome/Installation/</a>
I hope the download, compilation, and installation instructions I provided is
useful, but if anyone needs more detailed instructions, I will try to help you
out.
Note that if you are using VX855 chipset, you probably should not install
the current iteration of OpenChrome since there was a user that reported a
fatal crash bug that has not been resolved at this point (<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - No signal to monitor with X and openchrome using VX855 chipset graphics"
href="show_bug.cgi?id=91966">Bug 91966</a>).
Furthermore, for CLE266, KM400, KM400A, and P4M800 chipset users, it is not
recommended to install the current iteration of OpenChrome since cursor may not
get rendered at all on the screen.
I am still working on resolving both bugs at this point, along with resolving
ACPI S3 State resume bug.
Some of the patches I posted do improve the situation somewhat, but I still
have not figured out completely why the LVDS DFP screen does not come back
correctly.
Regards,
Kevin Brace</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>