Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Touchpad not working on Acer C720 Chromebook

  1. #1
    Join Date
    Jan 2011
    Beans
    23

    Touchpad not working on Acer C720 Chromebook

    The Acer C720 Chromebook runs really well with Ubuntu (installed with Chrubuntu) dual-booting with ChromeOS. The only problem is that there is no support for the touchpad in the default Ubuntu kernels.

    When installing Ubuntu 13.10 or newer the Chrubuntu script automatically downloads and compiles in some kernel patches from Chromium developer Benson Leung (https://plus.google.com/+BensonLeung/posts/EJUSUudzHb3). Unfortunately this automatic process doesn't work for the 12.04 LTS:

    Get Acer C720 touchpad working in Chrubuntu 12.04 LTS

    Building the kernel modules (once-off for each kernel version)

    - Install Ubuntu 13.10 or later in a VM
    - On VM: sudo apt-get dist-upgrade
    - On VM: reboot so most recent kernel is running
    - On VM: Run cros-haswell-modules.sh, which is part of the Chrubuntu installation scripts (https://googledrive.com/host/0B0YvUu...ell-modules.sh)
    - On VM:
    Code:
    mkdir ~/Download/chrome-kernel; cd ~/Download/chrome-kernel
    apt-get download linux-headers-`uname -r` linux-headers-generic linux-image-`uname -r` linux-headers-3.11.0-13 # replace 3.11.0-13 with the uname -r output minus '-generic'
    mykern=${1:-$(uname -r)}
    mykernver=linux-$(echo $mykern | cut -d'-' -f 1)
    cp /lib/modules/$mykern/kernel/drivers/platform/x86/chromeos_laptop.ko .
    cp /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-core.ko .
    cp /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-pci.ko .
    cp /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-platform.ko .
    Installing the fixed kernel on the Chromebook
    - On Chromebook: transfer .deb and .ko files over from VM:~/Download/chrome-kernel to ~/Download/chrome-kernel
    - On Chromebook: cd ~/Download/chrome-kernel; dpkg -i *.dpkg
    - On Chromebook: reboot into the newly installed kernel
    - On Chromebook: create a script apply_patched_modules.sh with these contents:
    Code:
    #!/bin/bash
    
    mykern=${1:-$(uname -r)}
    mykernver=linux-$(echo $mykern | cut -d'-' -f 1)
    
    sudo mv /lib/modules/$mykern/kernel/drivers/platform/x86/chromeos_laptop.ko /lib/modules/$mykern/kernel/drivers/platform/x86/chromeos_laptop.ko.orig
    sudo cp chromeos_laptop.ko /lib/modules/$mykern/kernel/drivers/platform/x86/
    
    sudo mv /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-core.ko /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-core.ko.orig
    sudo mv /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-pci.ko /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-pci.ko.orig
    sudo mv /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-platform.ko /lib/modules/$mykern/kernel/drivers/i2c/busses/i2c-designware-platform.ko.orig
    
    sudo cp i2c-designware-*.ko /lib/modules/$mykern/kernel/drivers/i2c/busses/
    
    sudo depmod -a $mykern
    - On Chromebook: cd ~/Download/chrome-kernel; sudo ./apply_patched_modules.sh
    - On Chromebook: Add the following to /etc/modules:
    Code:
    chromeos_laptop
    i2c-designware-core
    i2c-designware-pci
    i2c-designware-platform
    - On Chromebook: reboot to apply the new modules

  2. #2
    Join Date
    Dec 2013
    Beans
    2

    Re: Touchpad not working on Acer C720 Chromebook

    Hi,
    Thanks for the detailed guide. Before I try this out, wanted to confirm couple of points:
    I have two Chromebooks (the HP Chromebook 14 and Acer C710-2847). In the first, have upgraded the SSD to 128GB and dual booted with Chrubuntu (13.10, Kubuntu). Trackpad works fine.
    But need your help with the Acer - have flashed John Lewis' Coreboot and installed Linux Mint 16 (Petra), which is based on Ubuntu 13.10.
    Will your guide still work, or do I need to change any steps? And instead of using a VM for the first few steps, can I execute those directly in Petra?

    Thanks a ton for you time!

  3. #3
    Join Date
    Jan 2011
    Beans
    23

    Re: Touchpad not working on Acer C720 Chromebook

    I guess it should work as Mint is fairly similar so it should work. You shouldn't need a VM. Post how you get on.

  4. #4
    Join Date
    Dec 2013
    Beans
    2

    Re: Touchpad not working on Acer C720 Chromebook

    Stuck on Step 3 itself. Downloaded the 'cros-haswell-modules.sh' file and ran it. Got the error pasted below. Not sure what to do next.
    Does this script work only on Haswell processors? The Acer C710 has the older Celeron 847. Do you think that is the problem here?
    ---------------
    can't find file to patch at input line 5
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
    |index 816cbd1..0c6771d 100644
    |--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
    |+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
    --------------------------
    File to patch:

    --------------

  5. #5
    Join Date
    Jan 2011
    Beans
    23

    Re: Touchpad not working on Acer C720 Chromebook

    No I doubt it's the hardware. The problem is that patch can't find the find the file drivers/i2c/busses/i2c-designware-pcidrv.c where it expects it. Since that script works on Ubuntu 13.10 it's likely there is something different about Linux Mint.

    You can look through the script and run the commands in it individually to see where it goes wrong. Alternatively might be easier to just create a VM of Ubuntu 13.10 and use that. Good luck!

  6. #6
    Join Date
    Apr 2011
    Location
    MN
    Beans
    1
    Distro
    Ubuntu

    Re: Touchpad not working on Acer C720 Chromebook

    Hey krumbs, just wondering if you had gotten the touchpad to work in Mint 16? Any problems with the audio?

  7. #7
    Join Date
    Jan 2014
    Beans
    1

    Re: Touchpad not working on Acer C720 Chromebook

    Hi ilko.derez,

    The problem is that the script downloads an older kernel source that is not in the repos. If you follow the instructions below, it should work.

    http://realityequation.net/installing-elementary-os-on-an-hp-chromebook-14

  8. #8
    Join Date
    Jul 2009
    Beans
    20

    Re: Touchpad not working on Acer C720 Chromebook

    I just executed the script https://googledrive.com/host/0B0YvUu...ell-modules.sh in Xubuntu and everything worked out again. I did not have to perform any of the steps described. My system is Xubuntu 13.10.

  9. #9
    Join Date
    May 2007
    Location
    Oklahoma
    Beans
    67
    Distro
    Xubuntu

    Re: Touchpad not working on Acer C720 Chromebook

    yurfader , that script worked almost effortlessly, and flawlessly for me on xubuntu 13.10. Thank you for pointing that out. :O)
    --
    "Just because it's good for you, does not mean it's good for me. Just because you are right, doesn't mean that I'm wrong." ~Tethtibis Deseidhr

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    13,303
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Touchpad not working on Acer C720 Chromebook

    Quote Originally Posted by yurfader View Post
    I just executed the script https://googledrive.com/host/0B0YvUu...ell-modules.sh in Xubuntu and everything worked out again. I did not have to perform any of the steps described. My system is Xubuntu 13.10.
    Ran that script on a newly installed 14.04 Chromebook C720, then rebooted. Touchpad is working. I looked over the script - seems safe enough and should work regardless of the kernel, as far as I can tell. After every dist-upgrade that installs a new kernel, the script will probably be needed again.

    Code:
    $ uname -a
    Linux c720 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    /etc/modules contains:
    Code:
    chromeos_laptop
    i2c-designware-core
    i2c-designware-pci
    i2c-designware-platform
    Reboot.
    Then to get select/paste working, I manually run this after GUI logins:
    Code:
    synclient AreaRightEdge=850 &
    synclient AreaLeftEdge=50 &
    synclient TapButton1=1 &
    synclient TapButton2=3 &
    synclient TapButton3=2 &
    synclient FingerHigh=10 &
    synclient FingerLow=10 &
    Thanks to everyone who made this easy!
    Last edited by TheFu; April 18th, 2014 at 09:45 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •