wacom on X1 Yoga 3rd generation not detected

Mathias Picker <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
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’ve 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="YES" in /etc/rc.conf

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

I’m running FreeBSD Danton 12.1-STABLE FreeBSD 12.1-STABLE r353466 
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 
multitouch sensor> at usbus0 (disconnected)

and this happens on opening:
Oct 15 21:27:58 Danton kernel: ugen0.5: <Wacom Co.,Ltd. Pen and 
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 
range [0:0] - [12372:6960]
Oct 15 21:27:58 Danton kernel: wmt0: 10 feature report 
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 
(disconnected)
Oct 15 21:27:58 Danton kernel: wmt0: detached
Oct 15 21:27:58 Danton kernel: uhid0: at uhub0, port 10, addr 8 
(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=Wacom ISDv4 5146
DeviceMatch=usb:056a:5146;
Class=ISDV4
Width=12
Height=7
IntegratedIn=Display;System;
Styli=0xfffff;0xffffe;

[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=true
TouchSwitch=false
StatusLEDs=
NumStrips=0
Buttons=0
---------------------------------------------------------------

but not seen by X:

% xinput
⎡ Virtual core pointer                    	id=2	[master 
pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave 
pointer  (2)]
⎜   ↳ sysmouse                                	id=7	[slave 
pointer  (2)]
⎜   ↳ Mouse                                   	id=8	[slave 
pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master 
keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave 
    keyboard (3)]
    ↳ kbdmux                                  	id=6	[slave 
    keyboard (3)]

The devices are created (event5 is stylus & eraser, event4 is 
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

-- 
Mathias Picker                        
Geschäftsführer
[email protected]

virtual earth Gesellschaft für Wissens re/prä sentation mbH
http://www.virtual-earth.de/           HRB126870
[email protected]               Westendstr. 142
089 / 1250 3943            
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.