Anatiferous blog | Move every zig.

Meta-Site

Welcome to Anatiferous: Using barnacles to make geese since 1689!

Howdy! This is my (William Reading's) webpage. At the moment, I only have this blog script and my gallery up, but I hope to get more stuff on this page at some point, or so I thought when I created this site years ago. Updates and shiny new copy to eventually go here. If you'd like to contact me to point out that I've done something to break XHTML/CSS standards or heaven forbid--look at my Vita--drop me a line at my e-mail address bill +spam @ [ELEPHANT] aggienerds.org. Simply remove "+spam", the spaces and the pachyderm along with its brackets and that address will reach me. I'm also available on Jabber/GChat/AIM/MSN with the same address above.

4/21/2005

XFree86 on a Gateway 3018gz

Filed under: — bill @ 5:19 pm

As you might have seen on another post, I recently picked up a Gateway 3018gz laptop. It’s a great laptop, but there are a few problems with it. The windows driver bit was somewhat excusable, but in addition to that the video bios does not have a video mode for the supplied 1280x768 resolution screen, resulting in fugly XFree86 until it can be prodded into the correct resolution. As a result, it is necessary to use a little magic to fix it by patching the bios in memory.

Update: The instructions below should probably no longer be needed when using Xorg.

1) Pick up a copy of 855resolution, conveniently available at http://perso.wanadoo.fr/apoirier/.

tar xzvf 855resolution-0.3.tgz
cd 855resolution
make && make install

2) Add the magic modeline (generated from our handy gtf) to the /etc/X11/XF86Config file:

Modeline “1280x768″ 80.14 1280 1344 1480 1680 768 769 772 795 -HSync +Vsync

3) Pick a resolution to overwrite and select that one for use

855resolution -l

In this case, I have something like:

Mode 3c : 1920x1440, 8 bits/pixel
Mode 4d : 1920x1440, 16 bits/pixel
Mode 5c : 1920x1440, 32 bits/pixel

I’m unlikely to use this, so I chose them to be replace, but it is a personal preference which to use:

855resolution 3c 1280 768
855resolution 4d 1280 768
855resolution 5c 1280 768

4) Finish setting up XFree86 as you would with any other installation. Note that these settings are not static and the bios must be patched by your init scripts each time the machine is started up. I did this on my Debian box with the following script:

#! /bin/sh
# Put me in /etc/init.d/855resolution
for i in 3c 4d 5c; do /usr/sbin/855resolution $i 1280 768 > /dev/null; done

And then:

chmod +x /etc/init.d/855resolution
update-rc.d 855resolution defaults 80

1 Comment

  1. Nice to see you dual booting this thing.

    Comment by Brian Reading — 4/23/2005 @ 1:10 am

RSS feed for comments on this post.

Leave a comment

Sorry, the comment form is closed at this time.

 

Google
 
Web anatifero.us
aggienerds.org

Powered by WordPress