From owner-freebsd-usb@freebsd.org Wed Nov 13 15:00:29 2019 Return-Path: Delivered-To: freebsd-usb@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 D82D11B313A for ; Wed, 13 Nov 2019 15:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47Cnq15SWrz47gx for ; Wed, 13 Nov 2019 15:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B9A411B3139; Wed, 13 Nov 2019 15:00:29 +0000 (UTC) Delivered-To: usb@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 B96911B3138 for ; Wed, 13 Nov 2019 15:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Cnq14W5yz47gw for ; Wed, 13 Nov 2019 15:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6565619C13 for ; Wed, 13 Nov 2019 15:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xADF0TII052088 for ; Wed, 13 Nov 2019 15:00:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xADF0T47052087 for usb@FreeBSD.org; Wed, 13 Nov 2019 15:00:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 232040] wmt driver fails to attach to Synaptics Touchscreen Date: Wed, 13 Nov 2019 15:00:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sakhmatd@darkn.space X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 15:00:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232040 --- Comment #8 from Sergei Akhmatdinov --- (In reply to Vladimir Kondratyev from comment #6) Thank you, Vladimir. The patch seems to work, wmt attaches now: # dmesg | grep wmt wmt0 on uhub1 wmt0: on usbus0 wmt0: 15 contacts and []. Report range [0:0] - [2786:1579] wmt0: 10 feature report contactsugen1.2: at usbus1 wmt0: at uhub1, port 5, addr 2 (disconnected) wmt0: detached wmt0 on uhub1 wmt0: on usbus0 wmt0: 15 contacts and []. Report range [0:0] - [2786:1579] wmt0: 10 feature report contacts I seem to get a device as /dev/input/event0.=20 However, X fails to make use of it. I do not see anything mention /dev/input/event0 in Xorg.0.log. xf86-input-evdev and xf86-input-libinput a= re both installed. Libinput seems to see the device, however: # libinput list-devices Device: SYNAPTICS Synaptics Touch Digitizer V04, class 0/0, rev 2.00/0.05, addr 5 Kernel: /dev/input/event0 Group: 1 Seat: seat0, default Size: 279x158mm Capabilities: touch Tap-to-click: n/a Tap-and-drag: n/a Tap drag lock: n/a Left-handed: n/a Nat.scrolling: n/a Middle emulation: n/a Calibration: identity matrix Scroll methods: none Click methods: none Disable-w-typing: n/a Accel profiles: n/a Rotation: n/a I don't know if libinput is interfering or not.=20 I have made an entry in Xorg.conf.d to try and force evdev, but Xorg seems = to ignore it. # 40-touch.conf Section "InputDevice" Identifier "Touchscreen" Driver "evdev" Option "Device" "/dev/input/event0" EndSection --=20 You are receiving this mail because: You are the assignee for the bug.=