pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.44k stars 84 forks source link

Pen stylus device battery/device driver not reading incorrectly #2912

Open smeep0 opened 1 year ago

smeep0 commented 1 year ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME): http://apt.pop-os.org/release http://apt.pop-os.org/proprietary

Issue/Bug Description: Syaptics Touchscreen device appears in the Power tab under settings

Steps to reproduce (if you know): Upon doing a fresh install of Pop!_OS 20.04 LTS on an HP Envy x360 13-ay0021nr Laptop, and running ''sudo apt update && sudo apt full-upgrade -y --allow-downgrades && sudo apt autoremove -y && sudo apt autoclean -y && flatpak update -y && flatpak remove --unused -y'' to fully update all Pop!_OS drivers/kernels, 3 devices do not seem to seem to be detected properly (touchscreen, fingerprint sensor, and webcam). At least one device appears under the Power tab listed as ''ELAN2514:00 04F3:2AF0''. Upon further investigation, it appears to be the Synaptics Touchscreen device, which is improperly listed under the Power tab in the Settings app.

Screenshot from 2023-05-29 04-00-27

Acquiring a brand newly purchased appropriate compatible pen stylus for the laptop (an HP Rechargeable MPP2.0 Tilt Pen) will display the device at 1% regardless of its charge state. To demonstrate, the pen stylus was recharged over USB as per instruction (an LED on the stylus will indicated when it is completely charged).

Screenshot from 2023-06-02 12-12-31

In addition, the Wacom Tablet tab under Settings do not display the stylus showing up anywhere. This is despite the fact that the pen stylus itself functions, but only the upper side button seems to function and the pen cannot be configured.

Screenshot from 2023-05-29 04-01-12 Screenshot from 2023-05-29 04-08-14

lsusb produces these results:

~$ lsusb
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 04f2:b6b6 Chicony Electronics Co., Ltd HP Wide Vision HD Camera
Bus 002 Device 002: ID 06cb:00e7 Synaptics, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

xinput command shows the following:

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech Wireless Mouse                   id=9    [slave  pointer  (2)]
⎜   ↳ ELAN2514:00 04F3:2AF0                     id=10   [slave  pointer  (2)]
⎜   ↳ SYNA32A0:00 06CB:CE14 Mouse               id=12   [slave  pointer  (2)]
⎜   ↳ SYNA32A0:00 06CB:CE14 Touchpad            id=13   [slave  pointer  (2)]
⎜   ↳ ELAN2514:00 04F3:2AF0 Stylus Pen (0)      id=16   [slave  pointer  (2)]
⎜   ↳ ELAN2514:00 04F3:2AF0 Stylus Eraser (0)   id=17   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ ELAN2514:00 04F3:2AF0 Stylus              id=11   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]
    ↳ HP Wide Vision HD Camera: HP Wi           id=15   [slave  keyboard (3)]

Expected behavior: Pop!_OS should be able to detect the HP Rechargeable MPP2.0 Tilt Pen as a proper stylus. Furthermore, the Synaptics Touchscreen should be configurable under the Tablet dropdown under the Wacom Stylus Tab in Settings.

Other Notes: See https://github.com/pop-os/pop/issues/2908

guntribam commented 4 months ago

same problem