Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53979 - [libinput] is not updating udev hwdb when installing libinput package.

Attached to Project: Arch Linux
Opened by Mohit (mohit310) - Tuesday, 09 May 2017, 03:27 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 10 August 2017, 20:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Libinput is not updating udev hwdb when installing libinput package. This is causing hwdb to refer to old key/value pairs and causing hardware to not function correctly.

Additional info:
* package version(s): libinput 1.7.2
* config and/or log files etc. - PKGBUILD - only installing libinput but should also call the following lines in the package build for all event type.
sudo udevadm hwdb --update
sudo udevadm trigger /sys/class/input/eventX
sudo udevadm test /sys/class/input/eventX



Steps to reproduce:
update libinput from old version to a relatively new version where certain key/value pairs are removed or modified.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 10 August 2017, 20:57 GMT
Reason for closing:  Not a bug
Additional comments about closing:  OP cannot reproduce issue
Comment by Andreas Radke (AndyRTR) - Tuesday, 09 May 2017, 14:10 GMT
Jan, you've removed it in this commit: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/libinput&id=2a59c857e11a008da7643e0fc7c00b2f741facac - was this intentional or a mistake? Isn't this now covered by some pacman hook?
Comment by Jan Alexander Steffens (heftig) - Tuesday, 09 May 2017, 14:20 GMT
systemd installs systemd-hwdb.hook which should take care of the hwdb update.
Comment by Mohit (mohit310) - Tuesday, 09 May 2017, 15:09 GMT
the systemd-hwdb hook didn't work for me. After I installed latest libinput and rebooted, the hook was not called until manual update. Please check when the hook is getting called. is there a condition for it to run
Comment by Jan de Groot (JGC) - Thursday, 11 May 2017, 11:04 GMT
Hook should get triggered by the hwdb files installed by libinput. Which version of systemd do you have installed?
Comment by Mohit (mohit310) - Friday, 12 May 2017, 01:34 GMT
systemd 232
Comment by Andreas Radke (AndyRTR) - Thursday, 10 August 2017, 20:32 GMT
Still an issue?
Comment by Mohit (mohit310) - Thursday, 10 August 2017, 20:53 GMT
You can close.. Not anymore

Loading...