Two years ago I wrote about installing Ubuntu 10.04 on ONKYO BX407A4, now I have upgraded it to 12.04 LTS, and here’s a reviewed procedure in case anyone still uses this UMPC.

Basically everything works so well out of the box, except for a few things that need a little bit of tweaking:

Replace /etc/rc.local with the following: rc.local

Replace /etc/default/grub with the following: grub, when done run ‘sudo update-grub’.

Add the file /etc/modprobe.d/blacklist-onkyo.conf: blacklist-onkyo.conf

Add the file /etc/pm/power.d/99_onkyo and make it executable: 99_onkyo

Add the file /etc/pm/sleep.d/74_onkyo and make it executable: 74_onkyo

Add the file /etc/pm/sleep.d/00_onkyo and make it executable: 00_onkyo

Add the file /etc/pm/config.d/onkyo_fix: onkyo_fix

Install vbetool:

sudo apt-get install vbetool

Install the latest version of opengalax Touch Screen Driver:

$ sudo add-apt-repository ppa:poliva/opengalax
$ sudo apt-get update
$ sudo apt-get install opengalax xinput-calibrator

When done, edit the file /etc/opengalax.conf and set psmouse=1, this together with the changes in grub will make the touchscreen and the optical mouse work.

Reboot, and run xinput_calibrator to calibrate the screen, save the calibration data in /etc/X11/xorg.conf.d/99-calibration.conf.

Some other useful hints:

Rember to add the ‘discard’ parameter to /etc/fstab for SSD trim.

For Ubuntu/Unity:

$ sudo add-apt-repository ppa:poliva/pof
$ sudo apt-get update
$ sudo apt-get install indicator-sysbat
$ echo "coretemp" |sudo tee -a /etc/modules

For Lubuntu/LXDE:
Install lxbat instead.

With all these changes everything works as expected, even suspend/resume :)