11

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?

5 Answers 5

10

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.

9
  • 2
    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.
    – garyf
    Nov 4, 2012 at 13:09
  • 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.
    – alfC
    Nov 7, 2012 at 20:47
  • 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.
    – nanofarad
    Nov 8, 2012 at 21:33
  • In case the Google docs links breaks, the original files are here: dahetral.com/public-download.
    – alfC
    Nov 9, 2012 at 0:40
  • 1
    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.
    – alfC
    Jan 22, 2013 at 8:17
5

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).

2
  • 1
    can you provide a installation guide for this? Nov 5, 2012 at 9:33
  • @ShotaBakuradze, look for the installation guide it in garyf's answer.
    – alfC
    Nov 7, 2012 at 20:43
5
+25

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.
6
  • 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. Jun 26, 2012 at 7:17
  • I had the same results as Shota. Had run as su to get the /etc/modules line to work. Still no two-finger scroll.
    – Bryan Head
    Jun 27, 2012 at 4:29
  • 2
    Can You upload The Driver ? Cause It's Deleted From Server
    – user74237
    Jun 30, 2012 at 16:03
  • 2
    The link is broken
    – alfC
    Oct 19, 2012 at 12:09
  • 2
    The link is broken. The Wayback Machine still have in cache: web.archive.org/web/20120401000000/http://people.canonical.com/…
    – alanjds
    Jul 2, 2015 at 21:42
2

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.

1
  • 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 May 31, 2015 at 17:51
0

Brief update to installing the ALPS driver set...

I followed the below instructions but found the driver was now at this location.

As users will note this is now version 0.11 of the ALPS driver and the line to remove in this version is line 137.

With these minor changes my Ubuntu 12.04 install (also on a Dell N5110) enabled the touchpad. Still no success with enabling edge or two-finger scrolling as yet, although the edge-scrolling option is now not grayed out in the Mouse and Touchpad control panel.

3
  • A check of xinput list-props <ALPS device) gave > Device Enabled (126): 0. Suggests that the touchpad is still not active. Any thoughts/suggestions?? Jul 4, 2012 at 9:45
  • Further checking indicates that the ALPS driver is still not working. Need an update for these in the kernel. Jul 5, 2012 at 15:47
  • 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
    Nov 8, 2012 at 21:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .