Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 15:00:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 232040] wmt driver fails to attach to Synaptics Touchscreen
Message-ID:  <bug-232040-19105-mvxJUi1J5e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232040-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232040-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232040

--- Comment #8 from Sergei Akhmatdinov <sakhmatd@darkn.space> ---
(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: <SYNAPTICS Synaptics Touch Digitizer V04, class 0/0, rev 2.00/0.05, a=
ddr
2> on usbus0
wmt0: 15 contacts and []. Report range [0:0] - [2786:1579]
wmt0: 10 feature report contactsugen1.2: <vendor 0x8087 product 0x8001> at
usbus1
wmt0: at uhub1, port 5, addr 2 (disconnected)
wmt0: detached
wmt0 on uhub1
wmt0: <SYNAPTICS Synaptics Touch Digitizer V04, class 0/0, rev 2.00/0.05, a=
ddr
5> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232040-19105-mvxJUi1J5e>