Touchpad not detected on Lenovo Ideapad 320 with Kubuntu 17.04

23,068

Solution 1

Install this kernel module. It should fix the issue. Run

wget https://launchpad.net/~hanipouspilot/+archive/ubuntu/ppa/+files/elantech-0608-dkms_0.2_all.deb
sudo dpkg -i elantech-0608-dkms_0.2_all.deb

Then reboot.

You need to disable Secure Boot in BIOS to let the module load.

Another option is to install this kernel.

http://people.canonical.com/~khfeng/lp1708852/

For details see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1708852

Solution 2

I installed Ubuntu 17.10 on the yoga 720 and wrote a thorough install guide.

To get the touchpad running you have to install a newer kernel, at least the kernel 4.14.

I installed the latest kernel with this script and got the touchpad running, but then at first the networking will be broken due to a bug in the apparmor settings, you can fix this by

sudo apt install apparmour-utils
sudo aa-complain /etc/apparmor.d/sbin.dhclient

(source: https://unix.stackexchange.com/questions/397708)

Solution 3

I have this same machine and it's been nothing but trouble. I've tried every fix I could find on the net, including compiling about 6 different kernels, to no avail. From about 4.12.5 on up my touchpad will work for a few seconds and then invariable freezes. I've tried the fixes on this page. I've tried countless iterations of GRUB_CMDLINE_LINUX_DEFAULT="i8042.reset quiet splash" in GRUB. Zilch. And on top of that, I'm still experiencing frequent total system hangs, and the wifi is 9 kinds of borked. (I can actually live with the last part if need be because it's working pretty well with a USB wifi dongle.) If anybody has anymore last-ditch suggestions, I'd love to hear them, but I'm about this close to throwing this damn thing in the lake...

Share:
23,068

Related videos on Youtube

jod
Author by

jod

Updated on September 18, 2022

Comments

  • jod
    jod almost 2 years

    I just installed Kubuntu 17.04 on a Lenovo Ideapad 320, and the Touchpad is not detected. The touchpad works fine from the Windows 10 installation already on the laptop, but is not detected at all from Kubuntu, so it seems like a driver error.

    Here is the xinput output. The Logitech mouse is a USB mouse I am using in the meantime, which works fine.

    $ xinput --list
    ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ Logitech M315/M235                        id=9    [slave  pointer  (2)]
    ⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
        ↳ Power Button                              id=6    [slave  keyboard (3)]
        ↳ Video Bus                                 id=7    [slave  keyboard (3)]
        ↳ Power Button                              id=8    [slave  keyboard (3)]
        ↳ EasyCamera                                id=10   [slave  keyboard (3)]
        ↳ Ideapad extra buttons                     id=11   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    

    And:

    $ cat /proc/bus/input/devices | grep TouchPad
    

    Has no output. I have also tried the psmouse-related stuff suggested here to no avail

    It seems like I'm not the only one, this is posted a few other places with no answer, here and here, and maybe here

    Edit:

    dpkg output:

    $ dpkg -i elantech...
    Selecting previously unselected package 
    elantech-0608-dkms.
    (Reading database ... 267979 files and directories currently installed.)
    Preparing to unpack elantech-0608-dkms_0.1_all.deb ...
    Unpacking elantech-0608-dkms (0.1) ...
    Setting up elantech-0608-dkms (0.1) ...
    Loading new elantech-0608-0.1 DKMS files...
    Building for 4.10.0-32-generic
    Building for architecture x86_64
    Building initial module for 4.10.0-32-generic
    Done.
    
    psmouse:
    Running module version sanity check.
    Error! Module version 69C24E88441CC55A8AC9337 for psmouse.ko
    is not newer than what is already found in kernel 4.10.0-32-generic 
    (69C24E88441CC55A8AC9337).
    You may override by specifying --force.
    
    depmod...
    
    Backing up initrd.img-4.10.0-32-generic to /boot/initrd.img-4.10.0-32-
    generic.old-dkms
    Making new initrd.img-4.10.0-32-generic                                                      
    
    (If next boot fails, revert to initrd.img-4.10.0-32-generic.old-dkms image)                  
    update-initramfs........                                                                     
    
    
    DKMS: install completed.                                                                     
    
    Processing triggers for shim-signed (1.32~17.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...   
    

    Installing version 0.2:

    $ sudo dkms install --force elantech-0608/0.2
    Error! Could not find module source directory.
    Directory: /usr/src/elantech-0608-0.2 does not exist.
    

    And it is installed:

    $ apt search elantech
    Sorting...
    Full Text Search...
    elantech-0608-dkms/now 0.2 all [installed,local]
      elantech-0608 driver in DKMS format.
    
    • Thomas Ward
      Thomas Ward almost 7 years
      Comments are not for extended discussion; this conversation has been moved to chat.
    • jod
      jod almost 7 years
      I'd rather not wait months without my touchpad. I'll look into installing the kernel later today. Thanks for your help!
    • miguelmorales85
      miguelmorales85 over 6 years
      Is there any news about this issue?
  • jod
    jod almost 7 years
    Didn't work :( rebooted and touchpad still wasn't detected. There was an error in the output, something the module version for psmouse.ko being newer than what is found in the kernel
  • Pilot6
    Pilot6 almost 7 years
    Can you post the message to your question? And also did you disable Secure Boot in BIOS? It doesn't let to load custom modules. If it is related to the module version, it is easy to fix.
  • jod
    jod almost 7 years
    I did disable secure boot to install. I will disable it and try again.
  • Pilot6
    Pilot6 almost 7 years
    If there is any error, post it to your question. Maybe the version needs to be changed.
  • jod
    jod almost 7 years
    dpkg output posted above. should I use --force, and if so is that an option to dpkg?
  • Pilot6
    Pilot6 almost 7 years
    No, --force is DKMS option. The problem is that the psmose module doesn't specify a version. And the new DKMS doesn't let to install the same version. It used to work before. I made lot's of this type of debs.
  • Jaydeep Devda
    Jaydeep Devda almost 7 years
    Thanks for Solution it works in my class mate's laptop. If you have time then please explain what was problem and how did you solved it.
  • Pilot6
    Pilot6 almost 7 years
    The problem was that the touchpad was not supported. A new ID was added to the kernel source.
  • jod
    jod almost 7 years
    I haven't bothered compiling different kernels yet, my wireless mouse works fine for now and I haven't had the time. As for the wifi, I've had some luck using the drivers here and creating a /etc/modprobe.d/rtl8821ae.conf file with the contents options rtl8821ae int_clear=0 fwlps=0 ips=0. I've seen people try a few other things with that .conf file, but the wifi is pretty stable now (though not perfect) and I haven't bothered to try other configurations
  • nnyby
    nnyby almost 7 years
    The new ID was merged into kernel 4.12: lkml.org/lkml/2017/8/22/749 But my touchpad still doesn't work. I've even tried the latest version 4.13 to try with this fix: git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.‌​git/…
  • Pilot6
    Pilot6 almost 7 years
    Does your touchpad have the same ID?
  • nnyby
    nnyby almost 7 years
    I'm not sure how to check my touchpad ID - is there a command I can run? I don't see anything touchpad-related in dmesg. The best info I can give is that I'm using a Lenovo ideapad 320.
  • Pilot6
    Pilot6 almost 7 years
    Report a bug to Launchpad and you'll see it in Udev.txt.
  • nnyby
    nnyby almost 7 years
    I'm on Debian 10, so idk if that's relevant. I'm trying to find my udev boot log but having trouble.
  • Pilot6
    Pilot6 almost 7 years
    Debian is off-topic here.
  • nnyby
    nnyby almost 7 years
    This is a kernel bug though, not specific to Ubuntu.
  • nnyby
    nnyby almost 7 years
    Alright, so I've discovered with acpidump that my touchpad has the acpi table id: ELAN060B, which was added to the elan driver here: patchwork.kernel.org/patch/9895105
  • Liakat Hossain
    Liakat Hossain over 6 years
    Lenovo made a nice productive friendly cheap model 320 but the problem is touchpad not works with Ubuntu.
  • NeverEndingQueue
    NeverEndingQueue over 6 years
    This didn't work for me on Lenovo Ideapad 320 on Ubuntu 17.10
  • NeverEndingQueue
    NeverEndingQueue over 6 years
    I've installed RC8 from here: kernel.ubuntu.com/~kernel-ppa/mainline/v4.14-rc8 The touchpad started to work, no network issues. Unfortunately DisplayLink doesn't work with that kernel, so I've ended up with 2 kernels, one for touchpad when I take a laptop with me, one for DisplayLink external screens when I don't. Fun.
  • NeverEndingQueue
    NeverEndingQueue over 6 years
    It's Lenovo Ideapad 320 (i7-8550u)
  • NumerousHats
    NumerousHats over 6 years
    I saw this answer after already hitting "purchase" on an Ideapad 320, and it made me run to check the retailer's return policy... However, I am very pleased to report that I have had absolutely no touchpad or wifi issues with this machine. The touchpad was in fact nonfunctional using the Ubuntu 16 LTS live disc, but worked fine with a default install of 17.10. Either Lenovo changed their hardware since September, or the wonderful Ubuntu folks fixed the software issues. I had a weird episode of slowness (in both Windows and Linux), but that mysteriously went away after a few reboots...