From owner-freebsd-x11@freebsd.org Wed Oct 16 19:13:54 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14CF414DE93 for ; Wed, 16 Oct 2019 19:13:54 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46thmK6rJNz49g5 for ; Wed, 16 Oct 2019 19:13:53 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E8ACB14DE91; Wed, 16 Oct 2019 19:13:53 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E754214DE90 for ; Wed, 16 Oct 2019 19:13:53 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46thmK5mPFz49g4; Wed, 16 Oct 2019 19:13:53 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id B4F3CD90F; Wed, 16 Oct 2019 19:13:53 +0000 (UTC) From: Jan Beich To: Mathias Picker Cc: "freebsd-x11\@freebsd.org" Subject: Re: wacom on X1 Yoga 3rd generation not detected References: <86eezdzt82.fsf@virtual-earth.de> <86sgnsznn1.fsf@virtual-earth.de> Date: Wed, 16 Oct 2019 21:13:52 +0200 In-Reply-To: <86sgnsznn1.fsf@virtual-earth.de> (Mathias Picker's message of "Wed, 16 Oct 2019 18:00:18 +0200") Message-ID: <1rvc-pkpb-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2019 19:13:54 -0000 Mathias Picker writes: > Jan Beich writes: > >> Mathias Picker writes: >> >>> Hi all, >>> >>> webcamd says that a wacom stylus should be automatically detected >>> by >>> devd. >>> This does not work on my 3rd gen X1 Yoga on 12-stable >>> >>> I=E2=80=99ve installed >>> xf86-input-evdev-2.10.6_4 >>> xf86-input-wacom-0.37.0 >>> webcamd-5.3.7.1 >> >> devd-based hotplug is the least stable. While bug 196678 may help >> better >> switch to xf86-input-libinput + UDEV (bug 222609). xf86-input-wacom >> can >> optionally be deinstalled as libinput uses libwacom but on my Bamboo >> P&T >> doing so breaks touchpad. xf86-input-evdev, xf86-input-keyboard, >> xf86-input-mouse are redundant if xf86-input-libinput is used. > > Thanks, > > it=E2=80=99s now working with the libinput patch! This could really be in= the > port, I wonder why it isn=E2=80=99t. > > I still need to reconfigure the keyboard (win-key seems different, my > exwm-setup doesn=E2=80=99t quite work) but that should be simple, I=E2=80= =99m just out > of time for now. libinput uses evdev(4) + libxkbcommon. FreeBSD unlike Linux configures libxkbcommon to use "xorg" rules by default, so you need the following in order to get modifer keys (e.g., Super or Windows key) work correctly. # Add to xorg.conf(5) Section "InputClass" Identifier "keyboard defaults" MatchIsKeyboard "true" Option "XkbRules" "evdev" EndSection Note, on Wayland "export XKB_DEFAULT_RULES=3Devdev" to make it global for all compositors.