sodcalculator

10 Tech How-To

Fix Touchpad Not Working on Ubuntu 24 Dual Boot HP OmniBook

Guide 10-48998 · Updated · Step by step

If your touchpad stops working after installing Ubuntu 24 on a dual-boot HP OmniBook, the fix usually involves disabling the kernel’s automatic PS/2 emulation or installing the correct input driver. Start by pressing F2 during boot to enter BIOS, then disable Legacy USB Support and USB S3 Wake; if that fails, boot Ubuntu, open a terminal, and run sudo modprobe -r psmouse && sudo modprobe psmouse to reload the touchpad driver. This article covers the common causes, step-by-step fixes, and preventive settings for a permanent solution.

Why the Touchpad Fails on Dual-Boot Systems

The HP OmniBook (like many modern laptops) uses an I2C or HID-over-I2C touchpad. Under Ubuntu 24, the kernel’s i2c_hid driver can conflict with the BIOS’s legacy PS/2 emulation mode. When Windows is installed first, it sets the firmware to a state that expects Windows-specific power management. On reboot into Ubuntu, the touchpad may not initialize because the firmware’s USB legacy mode is still active, causing the kernel to bind the wrong driver to the device.

Another common trigger is fast startup in Windows. This feature hibernates the kernel instead of fully shutting down, leaving the touchpad’s firmware in a suspended state. When you then boot Ubuntu, the device doesn’t respond to the new driver’s initialization sequence.

Step 1: Check the Obvious First

Before changing drivers or BIOS settings, rule out the simple issues:

  • Touchpad toggle: On HP OmniBook, press F11 or F12 (look for a touchpad icon) to enable it. Sometimes the function key is inverted in BIOS.
  • External mouse: Plug in a USB mouse to navigate while you troubleshoot.
  • Kernel module loaded? Run lsmod | grep psmouse in a terminal. If nothing appears, the module isn’t loaded.
  • Check dmesg: Run dmesg | grep -i touch to see if the kernel detects the device at all.

Step 2: Reload the Touchpad Driver Temporarily

If the touchpad worked earlier and then stopped, a driver reload often fixes it without a reboot. Open a terminal and run:

sudo modprobe -r psmouse
sudo modprobe psmouse

This unloads and reloads the PS/2 mouse driver. For I2C touchpads, also try:

sudo modprobe -r i2c_hid
sudo modprobe i2c_hid

After reloading, test the touchpad. If it works, the problem is likely a timing issue during boot. To make the reload permanent, create a systemd service that runs at startup. Use sudo nano /etc/systemd/system/touchpad-fix.service with the following content:

[Unit]
Description=Reload touchpad driver
After=multi-user.target

[Service]
Type=oneshot
ExecStart=/usr/sbin/modprobe -r psmouse i2c_hid
ExecStart=/usr/sbin/modprobe psmouse i2c_hid

[Install]
WantedBy=multi-user.target

Then enable it with sudo systemctl enable touchpad-fix.service.

Step 3: Adjust BIOS/UEFI Settings

HP BIOS settings vary by model, but these are the common ones that affect touchpad behavior:

  1. Restart and press F2 (or Esc then F2) to enter the BIOS.
  2. Under Advanced or System Configuration, find Legacy USB Support and set it to Disabled.
  3. Look for USB S3 Wake or Wake on USB and disable it.
  4. If you see Fast Boot or QuickBoot, disable it.
  5. Save and exit (F10). Boot into Ubuntu and test.

These settings prevent the firmware from putting the touchpad into a low-power state that Linux cannot wake. If the touchpad still fails, revert these changes and try the driver fix instead.

Step 4: Install or Update the Input Driver

Ubuntu 24 uses the libinput driver by default. If your touchpad is detected but not working correctly (e.g., cursor moves but taps don’t click), you may need to install the xserver-xorg-input-libinput package:

sudo apt install xserver-xorg-input-libinput

For Synaptics touchpads (older OmniBook models), you can try the legacy driver, but note that it’s deprecated and may conflict with libinput. Instead, check the kernel version: uname -r. Ubuntu 24 ships with kernel 6.8, which has good support for most modern touchpads. If you’re using a newer HP OmniBook with an Elan or Synaptics I2C device, ensure the i2c-hid-acpi module is loaded:

sudo modprobe i2c-hid-acpi

To make it permanent, add it to /etc/modules-load.d/touchpad.conf with the line i2c-hid-acpi.

Step 5: Disable Windows Fast Startup

If you dual-boot with Windows, fast startup can leave hardware in a suspended state. To disable it:

  1. Boot into Windows.
  2. Open Control Panel > Power Options.
  3. Click Choose what the power buttons do.
  4. Click Change settings that are currently unavailable.
  5. Uncheck Turn on fast startup.
  6. Shut down Windows completely (not restart).

This ensures a full shutdown, so the touchpad’s firmware is reset when you next boot Ubuntu.

Step 6: Kernel Boot Parameters

If the touchpad still isn’t recognized, you can add a kernel parameter that disables PS/2 emulation for the touchpad. Edit /etc/default/grub:

sudo nano /etc/default/grub

Find the line GRUB_CMDLINE_LINUX_DEFAULT and add psmouse.synaptics_intertouch=0 (for Synaptics) or i2c_hid.acpi_irq=0 (for I2C devices). Then run sudo update-grub and reboot.

Another parameter that helps some HP laptops is i8042.nopnp to skip PNP detection of the keyboard controller. Add it the same way. These parameters force the kernel to ignore firmware hints and probe the hardware differently.

Frequently Asked Questions

Why does my touchpad work in Windows but not Ubuntu?

Windows uses proprietary drivers and firmware that initialize the touchpad in a specific way. Ubuntu relies on generic kernel drivers. The issue is often a firmware state left by Windows (like fast startup) or a BIOS setting that only affects Linux.

Can I use a USB mouse while fixing the touchpad?

Yes, a USB mouse works normally because it uses a different driver path. This is the easiest way to navigate during troubleshooting.

Will updating the kernel fix my touchpad?

Possibly. Newer kernels include better support for I2C HID devices. You can install the latest mainline kernel from the Ubuntu Mainline PPA, but this is not recommended for beginners as it may break other drivers.

What if the touchpad is detected but doesn’t respond to taps?

This is usually a libinput configuration issue. Open Settings > Mouse & Touchpad and ensure Tap to Click is enabled. If not, run gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true in a terminal.

Is there a way to reset the touchpad firmware without rebooting?

Yes, you can use the i2c-tools package to send a reset command, but this is advanced and risky. The safer method is to suspend the system (close the lid) and wake it, which often reinitializes the touchpad.

When to Seek Hardware Repair

If none of the above works, the touchpad may have a hardware issue. Symptoms include the touchpad not being detected in dmesg at all, or the device not appearing in lsusb or lspci. In that case, test with a live USB of Ubuntu: if the touchpad works there, the problem is software; if not, it’s likely hardware. Contact HP support or a qualified technician.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →