You are not logged in.

#1 2015-10-23 14:49:13

Abdelhak
Member
Registered: 2015-10-23
Posts: 2

[SOLVED] Can't install alps touchpad driver

I have recently switched from ubuntu to arch, everything works fine except the touch-pad, my laptop is a dell inspiron 3542 with an Alps touchpad, the official dell site has  a driver for it, but it is only for ubuntu (.deb file), i found the driver in the AUR ( psmouse-alpsv7-dkms )but i am not able to install it, the installation  returns this error :

==> Downloading psmouse-alpsv7-dkms PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
psmouse-alpsv7-dkms 20140319-4  (2015-10-10 10:48)
( Unsupported package: Potentially dangerous ! )
==> psmouse-alpsv7-dkms dependencies:
 - dkms (already installed)
 - linux-headers (already installed) [makedepend]


==> Continue building psmouse-alpsv7-dkms ? [Y/n]
==> ---------------------------------------------
==> 
==> Building and installing package
==> Making package: psmouse-alpsv7-dkms 20140319-4 (Fri Oct 23 15:26:05 CET 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning psmouse-dkms-alpsv7 git repo...
Cloning into bare repository '/tmp/yaourt-tmp-abdelhak/aur-psmouse-alpsv7-dkms/psmouse-dkms-alpsv7'...
remote: Counting objects: 210, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 210 (delta 1), reused 0 (delta 0), pack-reused 203
Receiving objects: 100% (210/210), 195.44 KiB | 26.00 KiB/s, done.
Resolving deltas: 100% (95/95), done.
Checking connectivity... done.
==> Validating source files with md5sums...
    psmouse-dkms-alpsv7 ... Skipped
==> Extracting sources...
  -> Creating working copy of psmouse-dkms-alpsv7 git repo...
Cloning into 'psmouse-dkms-alpsv7'...
done.
==> Entering fakeroot environment...
==> Starting package()...
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
────── Building with dkms ───────


Creating symlink /var/lib/dkms/psmouse-dkms-alpsv7/1.1/source ->
                 /usr/src/psmouse-dkms-alpsv7-1.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=4.2.3-1-ARCH -C /usr/lib/modules/4.2.3-1-ARCH/build M=/var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src psmouse.ko.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.2.3-1-ARCH (x86_64)
Consult /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/make.log for more information.
▶▶▶▶ Error: Build failed
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Makepkg was unable to build psmouse-alpsv7-dkms.
==> Restart building psmouse-alpsv7-dkms ? [y/N].

i checked the make.log file, but i was not able to understand whats wrong, here is the file :

DKMS make.log for psmouse-dkms-alpsv7-1.1 for kernel 4.2.3-1-ARCH (x86_64)
Fri Oct 23 15:26:17 CET 2015
make: Entering directory '/usr/lib/modules/4.2.3-1-ARCH/build'
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/psmouse-base.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/synaptics.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/alps.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/elantech.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/logips2pp.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/lifebook.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/sentelic.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/trackpoint.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/touchkit_ps2.o
  CC [M]  /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.o
/var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.c: In function ‘cypress_process_packet’:
/var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.c:541:2: error: too few arguments to function ‘input_mt_assign_slots’
  input_mt_assign_slots(input, slots, pos, n);
  ^
In file included from /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.c:24:0:
include/linux/input/mt.h:121:5: note: declared here
 int input_mt_assign_slots(struct input_dev *dev, int *slots,
     ^
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.o' failed
make[1]: *** [/var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.o] Error 1
Makefile:1555: recipe for target 'psmouse.ko' failed
make: *** [psmouse.ko] Error 2
make: Leaving directory '/usr/lib/modules/4.2.3-1-ARCH/build'

I hope someone can help me install this, having a fully functional touchpad is a necessity for me

Last edited by Abdelhak (2015-10-24 13:23:27)

Offline

#2 2015-10-24 11:14:31

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: [SOLVED] Can't install alps touchpad driver

Hmm, I had an Alps touchpad on my old HP-dm1 netbook, and, as far as I can recall it worked out of the box. I did have to write some code to turn it off when the mouse was attached, but that is all.

You might look at this link if you need to. It looks pretty straightforward.

Andrew

Offline

#3 2015-10-24 12:13:56

Abdelhak
Member
Registered: 2015-10-23
Posts: 2

Re: [SOLVED] Can't install alps touchpad driver

Thank you for the reply, i followed the tutorial, and it installed with success, but the touch pad still didn't function properly, it turns out i had to edit /usr/share/X11/xorg.conf.d/50-synaptics.conf and copy it to  /etc/X11/xorg.conf.d/ as the wiki suggests, i know :3 i should have done it but i thought installing xf86-input-synaptics was enough.

Offline

#4 2015-10-24 12:15:32

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,570
Website

Re: [SOLVED] Can't install alps touchpad driver

The code is outdated and doesn't compile for modern kernels.

If you check the github page, you can see there are forks available that have more up-to-date code, you could try changing the source to one of them in the PKGBUILD.

EDIT: Looks like you've reached a different solution on your own.

Last edited by WorMzy (2015-10-24 12:16:33)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB