Sony Vaio P788K Ubuntu 9.10 Load

Ubuntu 9.10 is the last usable version of Linux for use with the GMA500 craptasic video card. As it stands today I cannot recommend using Linux full-time on the laptop. As a hardcore linux geek that saddens me in my heart. Hopefully with the release of the “new” drivers we will be good to all switchback to a big boy OS. Thanks to Jakob Westhoff for his notes on the Vaio X which helped a good bit here. Notes below:

Ubuntu Linux 9.10 SSD Optimizations

Disable Access Time Attributes
Edit your /etc/fstab. Modify the root partitions settings. Add noatime and nodiratime to defaults.

/dev/sda2 / ext4 noatime,nodiratime,errors=remount-ro 0       1

Optimizing the Kernel
Add the following to the /etc/sysctl.conf


Optimizing the Scheduler
Edit /etc/default/grub and add noop to end of mem=2000MB

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash mem=2000MB elevator=noop”

Run sudo update-grub afterward

RFKill – the program doesn’t include an install program. Here is a small script


sudo cp /usr/bin/rfkill-applet
sudo chmod a+x /usr/bin/rfkill-applet
sudo cp rfkill-applet.server /usr/lib/bonobo/servers/
sudo chmod a+x /usr/lib/bonobo/servers/rfkill-applet.server
sudo cp rfkill-applet.png /usr/share/pixmaps
sudo cp rfkill-applet-hardoff.png /usr/share/pixmaps
sudo cp rfkill-applet.config /etc/


<?xml version=”1.0″ encoding=”UTF-8″?>

<match key=”info.product” string=”PS/2 Generic Mouse”>
<merge key=”input.x11_options.EmulateWheel” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelButton” type=”string”>2</merge>
<merge key=”input.x11_options.YAxisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelTimeout” type=”string”>200</merge>


# disable wakeup events when suspending from USB
echo disabled > /sys/bus/usb/devices/usb1/power/wakeup
echo disabled > /sys/bus/usb/devices/usb2/power/wakeup
echo disabled > /sys/bus/usb/devices/usb3/power/wakeup
echo disabled > /sys/bus/usb/devices/usb4/power/wakeup




case “$ACTION” in
fgconsole >/tmp/
chvt 1
chvt `cat /tmp/`