Joel Bastos bio photo

Joel Bastos

Automation engineer with a keen interest on devops culture, geek by definition and curious by nature

Email Twitter LinkedIn Github
I've finally give in to temptation and bought a netbook. After allot of searching I've chosen an Asus eee 1001p.
Then come the decision of a suitable OS, almost went with Fedora but the final choice was Ubuntu 10.04.
This post is all about the installation and configuration of the OS and all the tinkering I've had to do to get all (or most) the hardware to work properly.

Wifi Controller
lspci |grep Network
02:00.0 Network controller: Atheros Communications Inc. Device 002c (rev 01)

wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
tar xvfj compat-wireless-2.6.tar.bz2
cd compat-wireless-*
./scripts/driver-select ath9k
make
make install
make unload
make wlunload
make btunload
modprobe ath9k
Screen Brightness

To solve the wired brightness bug edit:
vi /etc/default/grub
and change the GRUB_CMDLINE_LINUX_DEFAULT variable adding the following flags:
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=Linux acpi_backlight=vendor"
Finally update grub configuration and you're done:
update-grub2
Multi-Touch Configuration
Create a script with your user named multi-touch.sh and add the following:
#!/bin/sh
#
# Synaptics TouchPad 2 finger Scrolling
#

# Set multi-touch emulation parameters
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 8
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1

# Disable edge scrolling
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 8 0 0 0

# This will make cursor not to jump if you have two fingers on the touchpad and you list one
# (which you usually do after two-finger scrolling)
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 32 110
Add a line to your ~/.bashrc with:
source /path-to/multi-touch.sh
Note: I didn't come up with this script but I've no idea where I've got it.