Touchpad configuration for Ubuntu and grub 2

Note: this post has been edited to match my ubuntu 10.04 config.

Ubuntu now uses grub 2 as the default boot loader, and this means a change in the instructions for making the kogan agora touchpad function under ubuntu.

After putting out a call for assistance on this, Tom has come through with the goods! In order to get the agora’s touchpad working with grub 2, follow these instructions

In a terminal:

sudo gedit /etc/default/grub

Find the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” and just after it add a new line and type in (make sure you type to avoid the wrong quote symbol copying and pasting) the following line:

GRUB_CMDLINE_LINUX=”i8042.nomux”

and then update grub and reboot:

sudo update-grub

I have tested this myself and it works a treat. Thanks Tom!

References: http://agoranetbook.kayno.net/2009/08/02/touchpad-update-ensuring-i8042-nomux-is-not-removed-when-your-kernel-is-updated/comment-page-1/#comment-13165

 

This entry was posted in agora, agora pro, drivers, touchpad, ubuntu by kayno. Bookmark the permalink.

11 thoughts on “Touchpad configuration for Ubuntu and grub 2

  1. Thanks for the tips on your site – I used them to get myself running on Ubuntu 9.04 when I picked up my Agora about a month ago.

    FYI on 3D acceleration – enabling DRI in X seems to provide the 3D hardware acceleration layer needed for OpenGL. You should prolly run an article on that. My current X config (/etc/X11/xorg.conf) is;

    Section “Device”
    Identifier “Configured Video Device”
    # Option “AccelMethod” “uxa”
    EndSection

    Section “Monitor”
    Identifier “Configured Monitor”
    EndSection

    Section “Screen”
    Identifier “Default Screen”
    Monitor “Configured Monitor”
    Device “Configured Video Device”
    EndSection

    Section “DRI”
    Group “video”
    Mode 0666
    EndSection

    With DRI enabled, I am able to (enjoyably) run OpenArena (the Open Source Quake Arena). Note that I believe this Intel chip set is OpenGL v1.5 compatible, not OpenGL v2.0 – which newer/funkier software may be looking for (you didn’t buy a netbook for WoW though, right?)

    Note that UXA does provide 2D acceleration under Ubuntu 9.04 (aka Desktop Effects), but the visual integrity seems to fall apart (uncomment the UXA line above, to see what I mean). The Agora seems to share the Intel Mobile 945GME with a number of (name brand) Netbooks – so there is hope.

    From an Agora Ubuntu root shell;
    # lspci | grep -i vga
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)

    Citing;
    http://forum.compiz.org/showthread.php?t=9224
    https://wiki.ubuntu.com/X/UxaTesting
    http://bbs.archlinux.org/viewtopic.php?id=64289

    Am interested to learn of a solution to the 2D acceleration.

    Thanks again for your very helpful site.

  2. Another tip that you should write up an article for – I don’t use WiFi, and I didn’t see a way to disable wireless by default in the Agora BIOS, or in Ubuntu 9.04 (if I disabled it in Ubuntu’s NetworkManager, it was automatically enabled after every reboot). I didn’t want to remove the card in case I wanted cafe Internet access … so with a little googling I crafted my own auto-soft-off feature;

    1) In a terminal/shell, create the Wifi Disabler script;
    a) Start a terminal;
    Click -> Accessories -> Terminal

    b) As root, edit (Create) /usr/local/bin/diswifi.sh;
    sudo gedit /usr/local/bin/diswifi.sh

    c) Add the following, then save and text;
    #!/bin/bash
    dbus-send –system –type=method_call \
    –dest=org.freedesktop.NetworkManager \
    /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set \
    string:org.freedesktop.NetworkManager string:WirelessEnabled \
    variant:boolean:false

    2) Make the script executable;
    sudo chmod 755 /usr/local/bin/diswifi.sh

    3) Add the script to the system start-up;
    Click -> Preferences -> Startup Applications -> Add;
    Name: Wifi Disabler
    Command: /usr/local/bin/diswifi.sh

    This configuration will leave the Agora with Wifi administratively
    disabled by the OS on each start up. After boot it can be enabled
    and disabled via the NetworkManager in Ubuntu as you would
    normally expect/do.

  3. I have tested it but it doesn’t work for me, I’m using Ubuntu 9.10.
    I edited the /etc/default/grub:

    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash i8042.nomux”

    I updated the GRUB and restarted.
    But it doesn’t work, still synclient gives me:

    Can’t access shared memory area. SHMConfig disabled?

  4. the instructions worked perfectly for me when i first installed 9.10 in ealy November.

    i had an unrelated issue and decided to reinstall 9.10 and now i get an erro when trying to update grub

    /etc/default/grub: 9: splash: not found

    any tips??

  5. fixed, my original image on my usb key must have been dodgy as i tried reinstalling from it 3 times with the same result. I then made a new usb image and all works fine

  6. I’m getting the same message as Andrew when trying to update the grub

    /etc/default/grub: 9: splash: not found

    Don’t really want have to reinstall netbook remix. Is there another way around this problem anyone?

  7. Very prompt response from Jesse @ Kogan this morning. He suggested that the quote marks were perhaps not quote marks around “quiet splash i8042.nomux” and when I retyped the quotation marks instead of the cut and pasted ones I had previously…sucess!

  8. I have just tried this on my agora running Ubuntu 10.04 netbook as the touchpad wasn’t working, and now it does. Good work Tom.
    thanks

  9. Pingback: Upgrading ubuntu 10.04 to grub 2 « kogan agora netbook

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>