Skip to content

Instantly share code, notes, and snippets.

@frgomes
Last active June 7, 2023 04:07
Show Gist options
  • Save frgomes/58a6a7bc57cfbb9c77fcd46774811c9d to your computer and use it in GitHub Desktop.
Save frgomes/58a6a7bc57cfbb9c77fcd46774811c9d to your computer and use it in GitHub Desktop.
Linux - ELAN tablet WACOM configuration - https://github.com/linuxwacom/xf86-input-wacom/issues/175
System Information
-------------------
Manufacturer: HP
Product Name: HP ENVY x360 Convertible 15-ee0xxx
@frgomes
Copy link
Author

frgomes commented Jun 7, 2023

# file: /usr/share/libwacom/ELAN2514_00_04F3_2B05.tablet

[Device]
Name=ELAN 2514
ModelName=
DeviceMatch=i2c:04f3:2b05
Class=ISDV4
Width=14
Height=8
IntegratedIn=Display;System
Styli=0xffffe;0xfffff

[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=true
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=0

@frgomes
Copy link
Author

frgomes commented Jun 7, 2023

# file: /etc/X11/xorg.conf.d/99-xinput_calibrator.conf

Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ELAN 2514 04F3:2B05"
        Option  "MinX"  "-40050"
        Option  "MaxX"  "16742991"
        Option  "MinY"  "93207"
        Option  "MaxY"  "16746145"
        Option  "SwapXY"        "0" # unless it was already set to 1
        Option  "InvertX"       "0"  # unless it was already set
        Option  "InvertY"       "0"  # unless it was already set
EndSection

@frgomes
Copy link
Author

frgomes commented Jun 7, 2023

# file: etc/X11/Xorg.conf.d/90-wacom-override.conf

Section "InputClass"
        Identifier "Wacom driver override"
        MatchProduct "ELAN2514:00 04F3:2B05"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment