Doesn't Not Compute

My log of experiences with GNU/Linux and computers in general.

Acer Aspire One A0751h: Part Four

Acer Aspire One 751hSorry for the cliffhanger-esque silence for the past week, school projects are piling up. 😦

But I promised a way to get full resolution on this machine without the Poulsbo chipset’s drivers in Arch, so here it is at last. 😀

First, you must have a kernel with uvesafb support, otherwise nothing else here will be of any use. The stock Arch Linux kernel has this support.

Second, you’ll have to install the 915resolution-static package from the AUR as described in the ArchWiki.

In /lib/initcpio/hooks/915resolution, replace the contents (as root) with this:

run_hook ()
msg -n ":: Patching the VBIOS..."
/usr/sbin/915resolution 5c 1366 768
msg "done."

and save.

Third, as root, install uvesafb’s helper daemon with pacman.

# pacman -S v86d

Edit /etc/modprobe.d/uvesafb so that the “option” line reads like so:

options uvesafb mode=1366x766-32 scroll=ywrap

and save.

Then add 915resolution and v86d to the HOOKS line in mkinitcpio.conf, and regenerate you initcpio (eg, mkinitcpio -p kernel26).

Remove any “vga=” line or similar from your bootloader’s configuration, as this overrides the uvesafb with the standard vesa framebuffer.

Reboot and enjoy the 1366×768 framebuffer, if you wish — I’m going on to add the last step to getting the X server to access that hi-res glory! :mrgreen:

You will need to install xf86-video-fbdev first, then configure Xorg to use it — if you aren’t already using it. I’ll use the depreceated xorg.conf method here, as I haven’t had time to learn the new HAL-based method.

This is the relevant section of my xorg.conf:

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB"
#Option "Rotate"
#Option "fbdev"
#Option "debug"
Identifier "Card0"
Driver "fbdev"
VendorName "Intel Corporation"
BoardName "System Controller Hub (SCH Poulsbo) Graphics Controller"
BusID "PCI:0:2:0"
Option "AccelMethod" "EXA"

(I have no idea why specifying an acceleration method on the framebuffer would have an effect, but it does according to both glxgears and my own eyes scrolling in Firefox and watching videos.)

And that should do the job — 1366×768 Xorg graphics! 🙂 No backlight control, so you’ll have to it with the brightness keys while the GRUB menu is still displayed, but it’s better than nothing. 😐


One response to “Acer Aspire One A0751h: Part Four

  1. Pingback: Uvesafb, and Possibly PCI, Problem with Linux kernel 2.6.34-ARCH « Doesn't Not Compute

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: