Lenovo ThinkPad Yoga 370 Touchscreen Not Working.

Hi,
I have installed Freebsd on a Yoga 370.
Out of the box, the touchscreen was working, as it is said here , but suddenly, upon reboot, it has stop working and i can't figure out what is the problem.

xinput :
Code:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ System mouse                              id=7    [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=11   [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech TrackPoint                id=12   [slave  pointer  (2)]
⎜   ↳ vendor 0x275d USB OPTICAL MOUSE           id=13   [slave  pointer  (2)]
⎜   ↳ Wacom Co.                                 id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ System keyboard multiplexer               id=6    [slave  keyboard (3)]
    ↳ ACPI video extension                      id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ AT keyboard                               id=10   [slave  keyboard (3)]
cat /var/log/Xorg.0.log | grep -i wacom :
Code:
[    23.137] (II) config/udev: Adding input device Wacom Co. (/dev/input/event9)
[    23.137] (**) Wacom Co.: Applying InputClass "evdev touchscreen catchall"
[    23.137] (**) Wacom Co.: Applying InputClass "libinput touchscreen catchall"
[    23.137] (II) Using input driver 'libinput' for 'Wacom Co.'
[    23.137] (**) Wacom Co.: always reports core events
[    23.138] (II) event9  - Wacom Co.,Ltd. Pen and multitouch sensor, class 0/0, rev 2.00/0.02, addr 5: is tagged by udev as: Touchscreen
[    23.138] (II) event9  - Wacom Co.,Ltd. Pen and multitouch sensor, class 0/0, rev 2.00/0.02, addr 5: device is a touch device
[    23.140] (II) event9  - Wacom Co.,Ltd. Pen and multitouch sensor, class 0/0, rev 2.00/0.02, addr 5: device removed
[    23.140] (II) XINPUT: Adding extended input device "Wacom Co." (type: TOUCHSCREEN, id 14)
[    23.140] (**) Wacom Co.: (accel) selected scheme none/0
[    23.140] (**) Wacom Co.: (accel) acceleration factor: 2.000
[    23.140] (**) Wacom Co.: (accel) acceleration threshold: 4
[    23.141] (II) event9  - Wacom Co.,Ltd. Pen and multitouch sensor, class 0/0, rev 2.00/0.02, addr 5: is tagged by udev as: Touchscreen
[    23.141] (II) event9  - Wacom Co.,Ltd. Pen and multitouch sensor, class 0/0, rev 2.00/0.02, addr 5: device is a touch device

Also the directory : /usr/local/etc/X11/xorg.conf.d/ is empty.

Thanks for the support.
 
Which version of FreeBSD, exactly?

Ports from quarterly, or latest?

freebsd--version -kru ; uname -aKU

pkg -vv | grep -B 1 -e url -e priority

The WacomTablet page in the wiki notes: "… Some Wacom devices, such as displays, may not function correctly in multiple monitor configurations unless explicitly mapped to themselves: …".
 
The freebsd version on my machine is :
14.1-RELEASE-p3 FreeBSD 14.1-RELEASE-p3 GENERIC amd64

for the seconde commande pkg -vv | grep -B 1 -e url -e priority, the output is the following :

FreeBSD: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly",
enabled : yes,
priority : 0,


The WacomTablet page in the wiki notes: "… Some Wacom devices, such as displays, may not function correctly in multiple monitor configurations unless explicitly mapped to themselves: …".

... In fact, yes, I remember that I saw that wiki page and I couldn't proceed with the instructions because I didn't understood them. To be specific i didn't understood that line: xinput map-to-output $Device_ID $Output_Device in the wiki.

for example what do I do with this information : xrandr --listactivemonitors output
Monitors: 1
0: +*eDP-1 1920/294x1080/165+0+0 eDP-1


and xinput output

Code:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ System mouse                              id=7    [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=11   [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech TrackPoint                id=12   [slave  pointer  (2)]
⎜   ↳ vendor 0x275d USB OPTICAL MOUSE           id=13   [slave  pointer  (2)]
⎜   ↳ Wacom Co.                                 id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ System keyboard multiplexer               id=6    [slave  keyboard (3)]
    ↳ ACPI video extension                      id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ AT keyboard                               id=10   [slave  keyboard (3)]

[EDT] OK, I'm gonna try this : xinput map-to-output 14 eDP-1 and reboot.
[EDT] Nope!

thanks for the help by the way..
 
Additionally after modifying Xorg configuration file:

Code:
/usr/local/etc/X11/xorg.conf.d/50-wacom.conf

Section "InputClass"
    Identifier "Wacom stylus"
    MatchProduct "Wacom Co."
    MatchIsTablet "on"
    Driver "wacom"
    Option "Type" "stylus"
EndSection

Section "InputClass"
    Identifier "Wacom eraser"
    MatchProduct "Wacom Co."
    MatchIsTablet "on"
    Driver "wacom"
    Option "Type" "eraser"
EndSection

Section "InputClass"
    Identifier "Wacom touch"
    MatchProduct "Wacom Co."
    MatchIsTouchpad "on"
    Driver "wacom"
    Option "Type" "touch"
EndSection


Code:
cat /var/log/Xorg.0.log | grep -i wacom
[  1497.042] (**) |-->Input Device "wacom stylus"
[  1497.042] (**) |-->Input Device "wacom eraser"
[  1497.042] (**) |-->Input Device "wacom touch"
[  1497.042] (**) |-->Input Device "wacom pad"
[  1497.046] (II) LoadModule: "wacom"
[  1497.046] (II) Loading /usr/local/lib/xorg/modules/input/wacom_drv.so
[  1497.046] (II) Module wacom: vendor="X.Org Foundation"
[  1497.046] (II) wacom: Driver for Wacom graphics tablets: PenPartner, Graphire,
[  1497.174] (II) Using input driver 'wacom' for 'wacom stylus'
[  1497.174] (**) wacom stylus: always reports core events
[  1497.174] (EE) wacom stylus: no abs bits.
[  1497.174] (EE) PreInit returned 8 for "wacom stylus"
[  1497.174] (II) UnloadModule: "wacom"
[  1497.174] (II) Using input driver 'wacom' for 'wacom eraser'
[  1497.174] (**) wacom eraser: always reports core events
[  1497.174] (EE) wacom eraser: no abs bits.
[  1497.174] (EE) PreInit returned 8 for "wacom eraser"
[  1497.174] (II) UnloadModule: "wacom"
[  1497.174] (II) Using input driver 'wacom' for 'wacom touch'
[  1497.174] (**) wacom touch: always reports core events
[  1497.174] (**) wacom touch: panscroll is 0
[  1497.174] (**) wacom touch: panscroll modified to 13
[  1497.174] (--) wacom touch: maxX=1024 maxY=1024 maxZ=0 resX=0 resY=0
[  1497.174] (II) XINPUT: Adding extended input device "wacom touch" (type: TOUCH, id 6)
[  1497.175] (**) wacom touch: (accel) keeping acceleration scheme 1
[  1497.175] (**) wacom touch: (accel) acceleration profile 0
[  1497.175] (**) wacom touch: (accel) acceleration factor: 2.000
[  1497.175] (**) wacom touch: (accel) acceleration threshold: 4
[  1497.175] (II) Using input driver 'wacom' for 'wacom pad'
[  1497.175] (**) wacom pad: always reports core events
[  1497.175] (**) wacom pad: panscroll is 13
[  1497.175] (**) wacom pad: panscroll modified to 13
[  1497.175] (II) XINPUT: Adding extended input device "wacom pad" (type: PAD, id 7)
[  1497.175] (**) wacom pad: (accel) keeping acceleration scheme 1
[  1497.175] (**) wacom pad: (accel) acceleration profile 0
[  1497.175] (**) wacom pad: (accel) acceleration factor: 2.000
[  1497.175] (**) wacom pad: (accel) acceleration threshold: 4
[  1497.361] (II) config/udev: Adding input device Wacom Co. (/dev/input/event9)
[  1497.361] (**) Wacom Co.: Applying InputClass "evdev touchscreen catchall"
[  1497.361] (**) Wacom Co.: Applying InputClass "libinput touchscreen catchall"
[  1497.361] (**) Wacom Co.: Applying InputClass "Wacom USB touchscreen class"
[  1497.361] (**) Wacom Co.: Applying InputClass "Wacom touchscreen class"
[  1497.361] (II) Using input driver 'wacom' for 'Wacom Co.'
[  1497.361] (**) Wacom Co.: always reports core events
[  1497.362] (EE) Wacom Co.: Invalid type 'stylus' for this device.
[  1497.362] (EE) Wacom Co.: Invalid type 'eraser' for this device.
[  1497.362] (EE) Wacom Co.: Invalid type 'cursor' for this device.
[  1497.362] (II) Wacom Co.: type not specified, assuming 'touch'.
[  1497.362] (II) Wacom Co.: other types will be automatically added.
[  1497.362] (**) Wacom Co. touch: panscroll is 0
[  1497.362] (**) Wacom Co. touch: panscroll modified to 13
[  1497.362] (--) Wacom Co. touch: maxX=11748 maxY=6604 maxZ=0 resX=40000 resY=40000
[  1497.362] (II) Wacom Co. touch: hotplugging dependent devices.
[  1497.362] (EE) Wacom Co. touch: Invalid type 'stylus' for this device.
[  1497.362] (EE) Wacom Co. touch: Invalid type 'eraser' for this device.
[  1497.362] (EE) Wacom Co. touch: Invalid type 'cursor' for this device.
[  1497.362] (EE) Wacom Co. touch: Invalid type 'pad' for this device.
[  1497.362] (II) Wacom Co. touch: hotplugging completed.
[  1497.362] (II) XINPUT: Adding extended input device "Wacom Co. touch" (type: TOUCH, id 16)
[  1497.362] (**) Wacom Co. touch: (accel) keeping acceleration scheme 1
[  1497.362] (**) Wacom Co. touch: (accel) acceleration profile 0
[  1497.362] (**) Wacom Co. touch: (accel) acceleration factor: 2.000
[  1497.362] (**) Wacom Co. touch: (accel) acceleration threshold: 4
 
I don't know why but there was a dust on my screen so I removed it with my finger. I realized that the touchscreen was working but now it doesn't anymore...
What is the logic in it?
 
Back
Top