Alps Touchpad on Dell: how do I install the DKMS driver to enable multitouch?

39,306

Solution 1

I had exact same problem on my Inspiron N5110 running Ubuntu 12.04 but was able to fix it using patch and instructions provided in these two links.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238/comments/144

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238/comments/147

Touchpad is now recognised as a AlpsPS/2 ALPS DualPoint TouchPad and Touchpad tab is enabled in System Settings. Unfortunately, scrolling is still not an option... :-(

At least touchpad is disabled while typing, which was the biggest problem for me resulting in cryptic writings! :-) Also Fn+F3 is working now (aka, touchpad toggle).

With the last update, multitouch has been enabled on Inspiron N5110. All you need to do is install this DKMS. I think it should work for all laptops with Alps touchpad. Here are more detailed instructions on installing this module than in links provided in the answer. You'll have to change any reference of "psmouse-alps-dst-0.1" to "psmouse-alps-alt-1.3" (the latest version).

Solution 2

This one works beautifully.

Download the source from the link below and place psmouse-alps-dst-0.4 folder in /usr/src/ (you need root permission).

https://docs.google.com/open?id=0BzNsvDx_ae6bQnFLQkNFT0dWc3c

Run the install.sh with root permission (Ctrl+Alt+T)

sudo bash /usr/src/psmouse-alps-dst-0.4/install.sh

You can now configure the Touchpad in System Settings.

Solution 3

How to successfully install the ALPS Touchpad DKMS driver

  • Download and try to install the deb file from here as the question indicates, using sudo dpkg -i. It will fail with the error in the question, which is fine (see bottom of the answer if you want to know the technical reason why.)

  • To build it, type/paste the following, line-by-line, in the terminal:

sudo sed -i -e '135d' /var/lib/dkms/psmouse-alps/0.10/source/src/alps.c
sudo dkms build -m psmouse-alps -v 0.10
sudo dkms install -m psmouse-alps -v 0.10
sudo modprobe psmouse
sudo sh -c "echo psmouse >> /etc/modules"
sudo update-initramfs -u
  • The driver should work now; reboot just in case.
  • DKMS should also automatically recompile whenever you upgrade/change kernels. DO NOT install the deb file again.

What was the problem?

  • The build log shows that compiling the module fails because of an error at character 33 in line 135 of the alps.c source file.
  • That line is module_param(alps_dump_packets, int, 0644);
  • The compiler expects an argument (variable name) to follow the int, but there is none.
  • Since the previous line 134 disables the alps_dump_packets feature (static int alps_dump_packets = 0;), we are probably safe simply deleting the offending line 135 with sed, which allows the module to successfully build.

Solution 4

I've bought a DELL Latitude E6430 with ubuntu preloaded, I found the glidepoint driver installed.. 2 fingers scroll ok, pinch zoom ok, everything working. I looked for it in the dell repos, but no luck, so I did:

apt-cache show glidepoint

and found this

Package: glidepoint
Status: install ok installedPriority: extra
Section: alien
Installed-Size: 2100
Maintainer: xmy <xmy@pod-desktop>
Architecture: amd64
Version: 3.6-13
Depends: libc6 (>= 2.4), libgconf2-4 (>= 2.27.0), libglib2.0-0 (>= 2.12.0)
Conffiles:
 /etc/pm/sleep.d/90GlidePoint 85d3fe435ff5e904812cb1a03461d456
 /etc/init.d/glidepoint 5427379c9470ae9c74cba849b35e7df1
 /etc/xdg/autostart/glideusd.desktop 1585732553ad2ea2c547c9989134000f
 /etc/glidepoint/config c1aefbbc5c4fa9cec9c61b2485237d37
 /etc/glidepoint/port 72f67e70f6b7cdc4cc893edaddf0c4c6
Description: GlidePoint 3.6 touchpad driver
 GlidePoint 3.6 touchpad driver for Linux.
 .
 (Converted from a rpm package by alien version 8.79ubuntu0.1.)

so I repacked it with

sudo dpkg-repack glidepoint

and now I have this to share:

glidepoint_3.6-13_amd64.deb

try on your ubuntu, let me know if works.

Share:
39,306

Related videos on Youtube

Shota Bakuradze
Author by

Shota Bakuradze

Updated on September 18, 2022

Comments

  • Shota Bakuradze
    Shota Bakuradze almost 2 years

    Now I know that this has been asked several times here but I couldn't find any decent solution to it.

    I am running Ubuntu 12.04 on my DELL N5110 and my touchpad is detected as a mouse, So I don't have the touchpad options availiable. Can't use multitouch and can't disable it either.

    I have tried the dkms driver from this link.

    But when I tried to install it with dpkg -i command, dpkg returns the following error:

    ERROR (dkms apport): unable to determine source package for
    psmouse-alps-dkms Error! Bad return status for module build on kernel:
    3.2.0-25-generic-pae (i686) Consult /var/lib/dkms/psmouse-alps/0.10/build/make.log for more information.
    

    I have installed all the updates as well.

    Can someone help me out with this issue?

  • Shota Bakuradze
    Shota Bakuradze about 12 years
    I followed you instructions but still, no touchpad menu visible in settings. I get an error on the 5th command saying that permission is denied for /etc/modules and just I ran it as a superuser. apart from this there were no errors.
  • Bryan Head
    Bryan Head about 12 years
    I had the same results as Shota. Had run as su to get the /etc/modules line to work. Still no two-finger scroll.
  • kiilki
    kiilki almost 12 years
    Can You upload The Driver ? Cause It's Deleted From Server
  • Jonas Ingwer
    Jonas Ingwer almost 12 years
    A check of xinput list-props <ALPS device) gave > Device Enabled (126): 0. Suggests that the touchpad is still not active. Any thoughts/suggestions??
  • Jonas Ingwer
    Jonas Ingwer almost 12 years
    Further checking indicates that the ALPS driver is still not working. Need an update for these in the kernel.
  • NeoShow
    NeoShow over 11 years
    The link is broken
  • garyf
    garyf over 11 years
    This one is taken from the link from JKMirko's post above. Please rate this post 'useful' if it is, so that the many others who need help can find it quickly.
  • Shota Bakuradze
    Shota Bakuradze over 11 years
    can you provide a installation guide for this?
  • NeoShow
    NeoShow over 11 years
    @ShotaBakuradze, look for the installation guide it in garyf's answer.
  • NeoShow
    NeoShow over 11 years
    Tested and works in Ubuntu 12.10, Inspiron 17r. The edge scrolling is a bit inside off the edge of the pad. Two finger scrolling, Fn-F3 and disable-while-typing works. I didn't dare to try with psmouse-alps-dst-1.0.
  • nanofarad
    nanofarad over 11 years
    From a suggested edit: the alps driver above does not work for n5110. its touchpad is different and has multi touch, etc (i dunno the details, but the above line at ~sforshee didnt work for me either). so please try the driver in my post above. it even has an installation script ready. this one basically uses a protocol different than the previous alps touchpads. that's y. (sorry i had to edit this... there was no comment option available! :o )
  • nanofarad
    nanofarad over 11 years
    I saw your suggested edit on the other answer, and have rejected it, sorry. A comment should be used, and you will be able to comment on posts that are not locked by a moderator(which happens rarely). I've given an upvote, but not to get you reputaation. I added an upvote because the post was good.
  • NeoShow
    NeoShow over 11 years
    In case the Google docs links breaks, the original files are here: dahetral.com/public-download.
  • Matrix Mole
    Matrix Mole over 11 years
    Although DKMS is listed in the question, I never thought to check to see if it was installed itself. After sudo apt-get install dkms this answer solved all my problems. Thankfully, I can now completely disable touchpad mouse clicks on my Inspiron 5110.
  • Admin
    Admin over 11 years
    @garyf I was looking for a solution for about three months and nothing worked until your answer. Thank you!
  • NeoShow
    NeoShow over 11 years
    Now these scripts have changed, there is no more a install.sh file. Now there is a alps.sh with lots of command line options that are hard to understand and the build option fails.
  • antmw1361
    antmw1361 about 11 years
    I have the same problem like @alfC too. sudo: dkms: command not found
  • Matrix Mole
    Matrix Mole about 11 years
    @antmw1361 Don't forget to install dkms. It's not installed by default (at least on my 12.10 install I'm rebuilding).
  • Severo Raz
    Severo Raz over 10 years
    I'm sorry if offtopic, but should this enable two-finger scrolling with this touchpad?
  • Wilhelm Erasmus
    Wilhelm Erasmus about 9 years
    didn't work at all for me, I ended up with a dead trackpad, nipple and keyboard... Even after reboot. At least after purging your .deb in recovery, my touchpad settings magically appeared :O
  • alanjds
    alanjds almost 9 years
    The link is broken. The Wayback Machine still have in cache: web.archive.org/web/20120401000000/http://people.canonical.c‌​om/…