touchpad update – ensuring “i8042.nomux” is not removed when your kernel is updated

agora touchpad

agora touchpad

If you followed the post on this site where I explained how to enable the touchpad on your kogan agora netbook (http://agoranetbook.kayno.net/2009/04/25/oh-my-touchpad-doesnt-work/), you (as well as Josh) have probably found that every time the linux kernel is updated, your touchpad stops working until you add the i8042.nomux option back to your grub menu.lst file.

I have however found a way to solve this, and have just updated my netbook with Ubuntu Netbook Remix to the latest kernel (2.6.28-14) without losing my touchpad. Here is what you need to do:

In your terminal:

sudo gedit /boot/grub/menu.lst

First, remove all instances of i8042.nomux that you have previously added. Now you need to find the line where the kernel options are set – “# kopt=…”. Mine looked something like this:

# kopt=root=UUID=4f3de232-2543-4359-43e2-a2ea36ef4043 ro

And add i8042.nomux to the end of line:

# kopt=root=UUID=4f3de232-2543-4359-43e2-a2ea36ef4043 ro i8042.nomux

Whilst it might be tempting to remove the # from the beginning of the line, don’t – it clearly states in menu.lst: “DO NOT UNCOMMENT THEM, Just edit them to your needs”.

Save and close menu.lst, and finally you need to run the update-grub command. This will take the kernel options (including i8042.nomux) and add them to all the kernel boot lines:

sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.28-14-generic
Found kernel: /boot/vmlinuz-2.6.28-13-generic
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

If you check /boot/grub/menu.lst now, you will see that i8042.nomux is back as a boot option for each kernel, however it still remains as a default kernel option (on the “# kopt” line). As it is a default kernel option, every time you update your kernel, the option will be added to the boot options for the new kernel.

Now your touchpad should always respond to your finger tips – even after a kernel update!

 

6 Responses to “touchpad update – ensuring “i8042.nomux” is not removed when your kernel is updated”

  1. Travis says:

    Hi Kayno -

    For some reason my kernels are not updated with the i8042.nomux line even though your instructions occurred correctly. Here is my entry in the menu.1st file:

    # kopt=root=UUID=470a8046-cbaf-4805-bdcc-d455abf1abb5 ro i8042.nomux

    “sudo update-grub
    Searching for GRUB installation directory … found: /boot/grub
    Searching for default file … found: /boot/grub/default
    Testing for an existing GRUB menu.lst file … found: /boot/grub/menu.lst
    Searching for splash image … none found, skipping …
    Found kernel: /boot/vmlinuz-2.6.28-14-generic
    Found kernel: /boot/vmlinuz-2.6.28-13-generic
    Found kernel: /boot/vmlinuz-2.6.28-11-generic
    Found kernel: /boot/memtest86+.bin
    Updating /boot/grub/menu.lst … done”‘

    Any ideas?

  2. kayno says:

    Hi Travis

    I have just updated my kogan to the latest kernel – 2.6.28-15 – and I had no problems. My grub config was updated for the new kernel, and included the i8042.nomux option.

    One thing i did notice – the option is not added to the end of the boot line, but somewhere in the middle now. Perhaps you were expecting it to be on the end of the line, and did not see it in the middle?

    Did you try rebooting after a kernel update to see if the touchpad worked?

    Cheers
    Kayne

  3. Mike Brown says:

    Hmmm… how to do this on 9.10 Karmic, which uses Grub 2? /boot/grub/menu.lst is an empty file!

  4. Tom says:

    Mike

    Edit /etc/default/grub

    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

    to

    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash i8042.nomux”

    then update grub

    sudo update-grub2

  5. [...] with the goods! In order to get the agora’s touchpad working with Ubuntu 9.10 and grub 2, follow the instructions in Tom’s comment, which I have reproduced [...]

  6. De says:

    @ Mike Brown
    try /boot/grub/grub.cfg
    you can edit this

Leave a Reply