Package Details: synaptics-led 4.8-2

Git Clone URL: https://aur.archlinux.org/synaptics-led.git (read-only)
Package Base: synaptics-led
Description: Synaptics LED enabled psmouse kernel module
Upstream URL: https://github.com/mmonaco/PKGBUILDs
Licenses: GPL2
Submitter: dgbaley27
Maintainer: dgbaley27 (vantu5z)
Last Packager: vantu5z
Votes: 11
Popularity: 0.594004
First Submitted: 2011-05-23 16:24
Last Updated: 2017-02-05 11:12

Latest Comments

alexi246 commented on 2017-02-05 12:37

vantu5z, thank you so much! I really appreciate it.

It worked :)

vantu5z commented on 2017-02-05 11:22

Alexi246, thanks!
sha256sums updated, try to install it now.

alexi246 commented on 2017-02-05 06:12

Hi guys

I apologise for posting on here but I do not know what else to do.

I am having an issue with building this package on my HP Pavilion G7
I do have the xf86-input-libinput installed and the touchpad does work perfectly including two-finger scroll and right click but the corner disable-sensor and LED does not work whcih is why I want to install this module. It seems to be SHA integrity issue.

I also do have the psmouse module in certain paths:

/sys/bus/serio/drivers/psmouse
/sys/module/serio/holders/psmouse
/sys/module/libps2/holders/psmouse
/sys/module/psmouse
/sys/module/psmouse/drivers/serio:psmouse


The output is as follows:

alexi@beast synaptics-led]$ makepkg -f
==> Making package: synaptics-led 4.8-1 (Sun Feb 5 08:01:06 SAST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found SHA256SUMS
-> Found synaptics-led.install
-> Found kernel.patch
==> Validating source files with sha256sums...
SHA256SUMS ... Passed
synaptics-led.install ... Passed
kernel.patch ... Passed
==> Extracting sources...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-> Getting source from git://repo.or.cz/linux.git
-> Performing Integrity Check
psmouse-base.c: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
==> ERROR: A failure occurred in build().
Aborting...


Thanks and apologies again

vantu5z commented on 2016-11-30 08:26

Package updated to 4.8 version.

After installing check if file "psmouse.ko.gz" installed in proper place, for this:
look at /usr/lib/modules/{YOUR_EXTRAMODULES_DIR}
YOUR_EXTRAMODULES_DIR - should be extramodule dir for your current kernel.

If installation is OK, reboot PC to check if it load patched psmouse module and creates necessary link in /sys/class/leds/.., for this:
look that link "/sys/class/leds/psmouse::synaptics" is exist

For test You can run "journalctl -b | grep kernel | grep synaptics"

Output should be like this:
ноя 30 10:45:29 vantu5z-book kernel: psmouse serio4: synaptics: queried max coordinates: x [..5756], y [..4876]
ноя 30 10:45:29 vantu5z-book kernel: psmouse serio4: synaptics: Touchpad model: 1, fw: 7.5, id: 0x1e0b1, caps: 0xd00073/0x640000/0xa0400/0x0, board id: 1397, fw id: 780218
ноя 30 10:45:29 vantu5z-book kernel: synaptics: led: checking for led
ноя 30 10:45:29 vantu5z-book kernel: synaptics: led: your product ID is 64
ноя 30 10:45:29 vantu5z-book kernel: synaptics: led: looks like you have one
ноя 30 10:45:29 vantu5z-book kernel: synaptics: support LED control

SubZ3r0 commented on 2016-06-10 21:14

Hi there vantu5z, still errors:

patching file Kconfig
patching file synaptics.c
Hunk #2 succeeded at 660 (offset 10 lines).
Hunk #3 succeeded at 1438 (offset 9 lines).
Hunk #4 succeeded at 1496 (offset 9 lines).
Hunk #5 succeeded at 1629 with fuzz 2 (offset -3 lines).
patching file synaptics.h
Hunk #2 succeeded at 199 (offset 1 line).
-> Building psmouse.ko
make: Entering directory '/usr/lib/modules/4.4.12-1-MANJARO/build'
make: *** No rule to make target 'psmouse.ko'. Stop.
make: Leaving directory '/usr/lib/modules/4.4.12-1-MANJARO/build'
==> ERRO: Uma falha ocorreu em build().
A cancelar...
==> ERRO: Makepkg não conseguiu compilar synaptics-led.
==> Reiniciar a compilação de synaptics-led ? [s/N]


Manjaro 16.06 kernel 4.4.12-1-MANJARO

Best Regards,

SubZ3r0

vantu5z commented on 2016-03-20 02:30

SubZ3r0, package updated, try it.

SubZ3r0 commented on 2016-03-15 16:26

Hi guys, i tried to install this package in kernel 4.4.5-1 in Manjaro and i get errors:

-> Building psmouse.ko
make: Entering directory '/usr/lib/modules/4.4.5-1-MANJARO/build'
make: *** No rule to make target 'psmouse.ko'. Stop.
make: Leaving directory '/usr/lib/modules/4.4.5-1-MANJARO/build'
==> ERRO: Uma falha ocorreu em build().
A cancelar...
==> ERROR: Makepkg was unable to build synaptics-led.
==> Restart building synaptics-led ? [y/N]


Can you help ?

vantu5z commented on 2015-06-04 09:40

Get this error when try to install with kernel 4.0:

/tmp/yaourt-tmp-vantu5z/aur-synaptics-led/src/drivers/input/mouse/cypress_ps2.c: В функции «cypress_process_packet»:
/tmp/yaourt-tmp-vantu5z/aur-synaptics-led/src/drivers/input/mouse/cypress_ps2.c:552:2: ошибка: слишком мало аргументов в вызове функции «input_mt_assign_slots»
input_mt_assign_slots(input, slots, pos, n);

nbsp commented on 2015-04-02 23:09

Looks like that error is due to:
http://allanmcrae.com/2014/12/pacman-4-2-released/

I fixed this by changing:

make -C "/lib/modules/$_cur_kernel/build" M="$PWD" psmouse.ko
to
make -C "/usr/lib/modules/$_cur_kernel/build" M="$PWD" psmouse.ko

and

"$pkgdir/lib/modules/$_cur_kernel/extramodules/psmouse.ko.gz"
to
"$pkgdir/usr/lib/modules/extramodules-3.19-ARCH/psmouse.ko.gz"

I'm not sure about how extramodules line /should/ be done, but that works for me..

nbsp commented on 2015-03-31 01:59

Builds fine but getting this when installing:
ZeeBook% pacman -U synaptics-led-3.11-7-x86_64.pkg.tar.xz
...
error: failed to commit transaction (conflicting files)
synaptics-led: /lib exists in filesystem
synaptics-led: /lib/modules/3.19.2-1-ARCH/extramodules exists in filesystem
Errors occurred, no packages were upgraded.

Just for sanity's sake I ran -Qo on both symlinks too:
ZeeBook% pacman -Qo /lib
/lib is owned by filesystem 2015.02-1
ZeeBook% pacman -Qo /lib/modules/3.19.2-1-ARCH/extramodules
/usr/lib/modules/3.19.2-1-ARCH/extramodules is owned by linux 3.19.2-1

All comments