From owner-freebsd-x11@freebsd.org Tue Oct 15 19:47:30 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 A2439152D79 for ; Tue, 15 Oct 2019 19:47:30 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) 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 46t5YZ1w2gz3GXT for ; Tue, 15 Oct 2019 19:47:30 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: by mailman.nyi.freebsd.org (Postfix) id 41850152D78; Tue, 15 Oct 2019 19:47:30 +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 41492152D77 for ; Tue, 15 Oct 2019 19:47:30 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46t5YX71h5z3GXS for ; Tue, 15 Oct 2019 19:47:28 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtual-earth.de; s=default_1811; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eahsRSMH4sNXe391e3war1pmv+TpujMnon2Hx08koGM=; b=hF/+VIsE1CAiS8weHvKMMazyWs Li5pmVqv+U7XG6ixpHQDojwOG+Ayim9JzqfsPFLEXiDYdbglfNWSNgWP6lkrR5dpO/aomfCIS/AWZ T39gRWvclPN9YRh68dphBHn0cO0iP6OJrmu/mgXu6jbCS8RvBI0cwwnn6gjE4YEKM1cvH2iSQ5Lr7 nQBWDUOM8CKlc2/JaBEdthr3GhgiBpDQ19N1dbP2wIT9Yiiu9ktD/eRZaU/idGQUsToFZPqjsKeaH OJ1CUffbQRq5ZkT1198pXPMlblGiyoYdoDIhKj9LW5JFjLe9i1hoxvl8eGrtodAWFcePnLjngp9jK FLph8mtQ==; Received: from sslproxy01.your-server.de ([88.198.220.130]) by www94.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1iKSn0-0000aZ-8A for x11@freebsd.org; Tue, 15 Oct 2019 21:47:26 +0200 Received: from [77.20.162.205] (helo=Danton.virtual-earth.de) by sslproxy01.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1iKSmz-0006tn-Rf for x11@freebsd.org; Tue, 15 Oct 2019 21:47:26 +0200 User-agent: mu4e 1.0; emacs 26.3 From: Mathias Picker To: "freebsd-x11\@freebsd.org" Subject: wacom on X1 Yoga 3rd generation not detected Date: Tue, 15 Oct 2019 21:47:25 +0200 Message-ID: <86eezdzt82.fsf@virtual-earth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.101.4/25603/Tue Oct 15 10:57:00 2019) X-Rspamd-Queue-Id: 46t5YX71h5z3GXS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=virtual-earth.de header.s=default_1811 header.b=hF/+VIsE; dmarc=pass (policy=none) header.from=virtual-earth.de; spf=pass (mx1.freebsd.org: domain of Mathias.Picker@virtual-earth.de designates 213.133.104.94 as permitted sender) smtp.mailfrom=Mathias.Picker@virtual-earth.de X-Spamd-Result: default: False [-4.25 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[virtual-earth.de:s=default_1811]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-1.15)[ipnet: 213.133.96.0/19(-3.95), asn: 24940(-1.81), country: DE(-0.01)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[virtual-earth.de:+]; DMARC_POLICY_ALLOW(-0.50)[virtual-earth.de,none]; RCVD_IN_DNSWL_LOW(-0.10)[94.104.133.213.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[205.162.20.77.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[]; FROM_EQ_ENVFROM(0.00)[] 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: Tue, 15 Oct 2019 19:47:30 -0000 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: at usbus0 (disconnected) and this happens on opening: Oct 15 21:27:58 Danton kernel: ugen0.5: at usbus0 Oct 15 21:27:58 Danton kernel: wmt0 on uhub0 Oct 15 21:27:58 Danton kernel: wmt0: 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: 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