From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#35450: Libinput touchpad driver not taking precedence over synaptics Date: Sun, 11 Aug 2019 09:44:58 +0200 Message-ID: <20190811074457.kseqksnvuxmc2724@pelzflorian.localdomain> References: <20190427151916.dv7gkpiyde3edh36@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58223) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwiYG-0001UG-2Q for bug-guix@gnu.org; Sun, 11 Aug 2019 03:46:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwiYE-0002Yu-NO for bug-guix@gnu.org; Sun, 11 Aug 2019 03:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwiYE-0002Yh-Jc for bug-guix@gnu.org; Sun, 11 Aug 2019 03:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hwiYE-0007Wy-Fm for bug-guix@gnu.org; Sun, 11 Aug 2019 03:46:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:58174) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwiXG-0001Mc-Io for bug-guix@gnu.org; Sun, 11 Aug 2019 03:45:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwiXF-00015t-BR for bug-guix@gnu.org; Sun, 11 Aug 2019 03:45:02 -0400 Received: from pelzflorian.de ([5.45.111.108]:47260 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hwiXE-00012L-Sg for bug-guix@gnu.org; Sun, 11 Aug 2019 03:45:01 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 41AC73600E9 for ; Sun, 11 Aug 2019 09:44:58 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20190427151916.dv7gkpiyde3edh36@pelzflorian.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35450@debbugs.gnu.org On Sat, Apr 27, 2019 at 05:19:16PM +0200, pelzflorian (Florian Pelz) wrot= e: > On my Macbook the buggy synaptics driver gets used. The definition of > %default-xorg-modules indicates libinputs is meant to be the default. > [=E2=80=A6] Apparently the reason synaptics is preferred over libinput upstream is that upstream does not expect users to install the synaptics driver (or wacom driver) unless they have trouble with libinput. https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput has: > commit 59e5db025307404fbfbc82f2fb3fe91d6a3005d7 > Author: Stefan Dirsch > Date: Thu May 19 17:35:57 2016 +0200 >=20 > conf: rename to 70-synaptics.conf > =20 > Bump up the synaptics driver to 70, so it get's preferred over libi= nput, which > was dropped down to 60. The synaptics driver is more of a leaf pack= age > than libinput (which covers a multitude of device types) and can be= removed by > default. When specifically installed by the user, the synaptics dri= ver should > override the system default. > =20 > Similar to what was done for wacom configuration file. > =20 > https://bugzilla.suse.com/show_bug.cgi?id=3D979554 > =20 > Signed-off-by: Stefan Dirsch > Signed-off-by: Peter Hutterer https://gitlab.freedesktop.org/xorg/driver/xf86-input-synaptics has: > commit 0f7c5ed02d4f2de34c6fb1fc3f4debceef08d0d7 > Author: Peter Hutterer > Date: Tue Aug 30 12:42:58 2016 +1000 >=20 > conf: drop libinput to below the other drivers > =20 > This is the continuation of 3f569ec493e, dropping libinput below th= e remaining > drivers. Wacom and synaptics already sort higher anyway (see wacom = commit > 0da5cd54 and synaptics commit 59e5db025). evdev remains the catchal= l > basic fallback driver and is overwritten by libinput. The two drive= rs affected > by this patch are joystick and vmmouse. > =20 > joystick is a niche driver and drives devices libinput doesn't hand= le anyway > so there is no need to override. If a user installs it, presumably = it is to > use it. > =20 > vmmouse is a niche driver and does not assign itself anymore for ne= wer kernel > drivers (see vmmouse commit 576e8123 from Oct 2014). So if vmmouse = is > installed it can safely sort higher than libinput. > =20 > Note: this is upstream behavior, distributions have to work out the= wanted > behavior themselves by renaming the config snippets accordingly. > =20 > Signed-off-by: Peter Hutterer > Reviewed-by: Hans de Goede Therefore the best course of action might be to remove synaptics from Guix=E2=80=99 defaults for xorg.conf.d instead of changing the numbering. Regards, Florian