Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2019 21:47:25 +0200
From:      Mathias Picker <Mathias.Picker@virtual-earth.de>
To:        "freebsd-x11\@freebsd.org" <x11@freebsd.org>
Subject:   wacom on X1 Yoga 3rd generation not detected
Message-ID:  <86eezdzt82.fsf@virtual-earth.de>

next in thread | raw e-mail | index | archive | help
Hi all,

webcamd says that a wacom stylus should be automatically detected=20
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

and enabled webcamd with webcamd_enable=3D"YES" in /etc/rc.conf

I can configure the stylus manually, but this is problematic on=20
the X1 Yoga, since all inputs are removed when I close the lid and=20
reconnected when I open it again, and for wacom I get new device=20
entries /dev/input, so the manual configuration will no longer=20
work.

I=E2=80=99m running FreeBSD Danton 12.1-STABLE FreeBSD 12.1-STABLE r353466=
=20
GENERIC  amd64

Any idea how to debug and/or fix this would be great!

Thanks,

Mathias

P.S. More info:

Closing the lid looks like this in /var/log/messages:
Oct 15 21:27:43 Danton kernel: ugen0.5: <Wacom Co.,Ltd. Pen and=20
multitouch sensor> at usbus0 (disconnected)

and this happens on opening:
Oct 15 21:27:58 Danton kernel: ugen0.5: <Wacom Co.,Ltd. Pen and=20
multitouch sensor> at usbus0
Oct 15 21:27:58 Danton kernel: wmt0 on uhub0
Oct 15 21:27:58 Danton kernel: wmt0: <Multitouch> on usbus0
Oct 15 21:27:58 Danton kernel: wmt0: 16 contacts and [C]. Report=20
range [0:0] - [12372:6960]
Oct 15 21:27:58 Danton kernel: wmt0: 10 feature report=20
contactsuhid0 on uhub0
Oct 15 21:27:58 Danton kernel: uhid0: <Pen> on usbus0
Oct 15 21:27:58 Danton kernel: wmt0: at uhub0, port 10, addr 8=20
(disconnected)
Oct 15 21:27:58 Danton kernel: wmt0: detached
Oct 15 21:27:58 Danton kernel: uhid0: at uhub0, port 10, addr 8=20
(disconnected)
Oct 15 21:27:58 Danton kernel: uhid0: detached

Without manual configuration the device is seen by libwacom:

% libwacom-list-local-devices
[Device]
Name=3DWacom ISDv4 5146
DeviceMatch=3Dusb:056a:5146;
Class=3DISDV4
Width=3D12
Height=3D7
IntegratedIn=3DDisplay;System;
Styli=3D0xfffff;0xffffe;

[Features]
Reversible=3Dfalse
Stylus=3Dtrue
Ring=3Dfalse
Ring2=3Dfalse
Touch=3Dtrue
TouchSwitch=3Dfalse
StatusLEDs=3D
NumStrips=3D0
Buttons=3D0
---------------------------------------------------------------

but not seen by X:

% xinput
=E2=8E=A1 Virtual core pointer                    	id=3D2	[master=20
pointer  (3)]
=E2=8E=9C   =E2=86=B3 Virtual core XTEST pointer              	id=3D4	[slav=
e=20
pointer  (2)]
=E2=8E=9C   =E2=86=B3 sysmouse                                	id=3D7	[slav=
e=20
pointer  (2)]
=E2=8E=9C   =E2=86=B3 Mouse                                   	id=3D8	[slav=
e=20
pointer  (2)]
=E2=8E=A3 Virtual core keyboard                   	id=3D3	[master=20
keyboard (2)]
    =E2=86=B3 Virtual core XTEST keyboard             	id=3D5	[slave=20
    keyboard (3)]
    =E2=86=B3 kbdmux                                  	id=3D6	[slave=20
    keyboard (3)]

The devices are created (event5 is stylus & eraser, event4 is=20
touch):
% ll /dev/input/
total 0
crw-------  1 root     wheel    0x27 15 Okt. 20:13 event0
crw-------  1 root     wheel    0x2b 15 Okt. 20:13 event1
crw-------  1 root     wheel    0x36 15 Okt. 20:13 event2
crw-------  1 root     wheel    0x3b 15 Okt. 20:13 event3
crw-rw----  1 webcamd  webcamd  0x76 15 Okt. 21:27 event4
crw-rw----  1 webcamd  webcamd  0x78 15 Okt. 21:27 event5

--=20
Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
Gesch=C3=A4ftsf=C3=BChrer
Mathias.Picker@virtual-earth.de

virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH
http://www.virtual-earth.de/           HRB126870
support@virtual-earth.de               Westendstr. 142
089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86eezdzt82.fsf>