Ever since I have installed Ubuntu on my Fujitsu Ultrabook UH572, I have been using some workarounds to get the touchpad to work properly. Below you can find the steps I took. (Initially, the touchpad was not working at all, as per this launchpad bug report.)

Initial Touchpad Setup

Step 1: Configure GRUB

Open /etc/default/grub with your preferred text editor using sudo:

sudo nano /etc/default/grub

Add i8042.notimeout i8042.nomux to the line that starts with GRUB_CMDLINE_LINUX="...".

Example:

GRUB_CMDLINE_LINUX="i8042.notimeout i8042.nomux"

Step 2: Update GRUB

After editing, update GRUB to apply the changes: bash

sudo update-grub

Step 3: Optional - Customize Touchpad Settings

For further customization like multitouch and scrolling, install “synaptiks”:

sudo apt-get install kde-config-touchpad && synaptiks

This will enable your touchpad after the next reboot. However, if it stops working after suspension, follow these additional steps for automation.

###Automating Touchpad Recovery ####Step 4: Create a Script for Automating Touchpad Recovery

Create a new script in /etc/pm/sleep.d to automate touchpad reinitialization after suspend:

sudo nano /etc/pm/sleep.d/restart_touchpad.sh

Insert the following code into the script:

#!/bin/sh

case "$1" in
  resume)
    modprobe -r psmouse
    modprobe psmouse
esac
exit 0

Step 5: Make the Script Executable

Set executable permissions on the script:

sudo chmod +x /etc/pm/sleep.d/restart_touchpad.sh

Once these steps are complete, your touchpad should work seamlessly, even after suspend-resume cycles. While steps 1 to 3 might be specific to certain laptops, steps 4 to 5 are broadly applicable to any similar touchpad issues caused by suspending and resuming the system.

For more detailed information, visit the original source by Mr. Ozgur, available here.