Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2019 21:13:52 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Mathias Picker <Mathias.Picker@virtual-earth.de>
Cc:        "freebsd-x11\@freebsd.org" <x11@freebsd.org>
Subject:   Re: wacom on X1 Yoga 3rd generation not detected
Message-ID:  <1rvc-pkpb-wny@FreeBSD.org>
In-Reply-To: <86sgnsznn1.fsf@virtual-earth.de> (Mathias Picker's message of "Wed, 16 Oct 2019 18:00:18 %2B0200")
References:  <86eezdzt82.fsf@virtual-earth.de> <y2xl-n3by-wny@FreeBSD.org> <86sgnsznn1.fsf@virtual-earth.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Mathias Picker <Mathias.Picker@virtual-earth.de> writes:

> Jan Beich writes:
>
>> Mathias Picker <Mathias.Picker@virtual-earth.de> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1rvc-pkpb-wny>