Thanks to the tips from
Peter Hutterer, the author of
libinput and
libwacom, enabling the configuration of the stylus for the HP Envy x360 Convertible is very simple. Create a table file i.e.
elan-264c.tablet in this example using
this template and look at the dmesg output like:
[ 3.014612] input: ELAN0732:00 04F3:264C Pen as /devices/platform/AMDI0010:00/i2c-0/i2c-ELAN0732:00/0018:04F3:264C.0001/input/input15
Now the name is found as an ELAN device, include the following information
# ELAN touchscreen/pen sensor present in the HP Envy x360 Convertible 15-cp0XXX
[Device]
Name=ELAN 264C
DeviceMatch=i2c:04f3:264c
Class=ISDV4
Width=14
Height=8
IntegratedIn=Display;System
[Features]
Stylus=true
Touch=true
Buttons=0
Copy the new created file to
/usr/share/libwacom/ path. Gnome Shell will automatically detect the new tablet file and display the new information. Below is the result:
|
Stylus configuration |
|
Tablet information with calibration and display adjustement |
|
Testing the stylus input |
I pulled the
new file to upstream who immediately accepted it. For user owning an HP touchscreen devices, expect your distribution to provide the updated linuxwacom package.
Since owning that 2-in-1 laptop, with the help of upstream, we have resolved the
touchscreen issue and now the configuration of the stylus. Next challenge will be the
Windows Hello like authentication currently available in the
COPR repository for testing and contacting both upstream and GNOME team.
Comments