Sound & Touchscreen not working on HP Envy x360 laptop

I have the HP Envy x360 2-in-1 Laptop 13-0010ca. It came with Windows, but I installed Manjaro on it. I have tried KDE Plasma with both xorg and Wayland. Either way, there have been three problems the entire time I have used Manjaro on this laptop:

  • Touchscreen does not work, with or without the stylus.
  • The speakers do not work, though the headphone jack works. The software appears to know whether headphones are plugged in.
  • While closing the lid appears to suspend it as it should, it doesn’t properly wake-up from suspend. The computer powers back on, and the monitor’s backlight turns on, but the screen remains all black.

Here are some outputs from the terminal:

[liam@Liam-HP-laptop-Manjaro ~]$ journalctl --no-pager --no-hostname -b-1 -p3
May 09 12:50:41 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.EC0._Q37.PNOT], AE_NOT_FOUND (20220331/psargs-330)
May 09 12:50:41 kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q37 due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
May 09 12:50:41 kernel: int3472-discrete INT3472:01: No sensor module config
May 09 12:50:41 kernel: int3472-discrete INT3472:01: error -EINVAL: Failed to map regulator to sensor
May 09 12:50:41 kernel: int3472-discrete INT3472:02: No sensor module config
May 09 12:50:41 kernel: int3472-discrete INT3472:02: error -EINVAL: Failed to map regulator to sensor
May 09 12:50:42 kernel: i801_smbus 0000:00:1f.4: Transaction timeout
May 09 12:50:42 kernel: i801_smbus 0000:00:1f.4: Failed terminating the transaction
May 09 12:50:42 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
May 09 12:50:42 kernel: cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Error: ACPI _DSD Properties are missing for HID CSC3551.
May 09 12:50:42 kernel: cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported
May 09 12:50:42 kernel: cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Error: ACPI _DSD Properties are missing for HID CSC3551.
May 09 12:50:42 kernel: cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported
May 09 12:50:42 bluetoothd[518]: src/plugin.c:plugin_init() Failed to init vcp plugin
May 09 12:50:42 bluetoothd[518]: src/plugin.c:plugin_init() Failed to init mcp plugin
May 09 12:50:42 bluetoothd[518]: src/plugin.c:plugin_init() Failed to init bap plugin
May 09 12:50:43 kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
May 09 12:50:45 systemd[649]: Failed to start Update XDG user dir configuration.
May 09 12:50:46 systemd[1]: Failed to start pkgfile database update.
May 09 13:04:54 konsole[2977]: kf.xmlgui: Shortcut for action  "" "Show Quick Commands" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
May 09 13:04:54 konsole[2977]: kf.xmlgui: Shortcut for action  "" "Show SSH Manager" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
May 09 13:26:16 wpa_supplicant[584]: nl80211: kernel reports: key not allowed
May 09 13:26:16 kernel: iwlwifi 0000:00:14.3: Unhandled alg: 0x707
May 09 13:26:16 kernel: iwlwifi 0000:00:14.3: Unhandled alg: 0x707
May 09 13:26:49 wpa_supplicant[584]: nl80211: kernel reports: key not allowed
[liam@Liam-HP-laptop-Manjaro ~]$ inxi -Fazy
System:
  Kernel: 6.1.25-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=42e0d6eb-1f99-42e6-9407-995572356302 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.8 wm: kwin_wayland vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Convertible System: HP product: HP ENVY x360 2-in-1 Laptop 13-bf0xxx
    v: Type1ProductConfigId serial: <superuser required> Chassis: type: 31
    serial: <superuser required>
  Mobo: HP model: 8A28 v: 21.39 serial: <superuser required> UEFI: Insyde
    v: F.07 date: 12/23/2022
Battery:
  ID-1: BAT1 charge: 66.5 Wh (100.0%) condition: 66.5/66.5 Wh (100.0%)
    volts: 8.6 min: 7.7 model: Hewlett-Packard PABAS0241231 type: Li-ion
    serial: <filter> status: full
CPU:
  Info: model: 12th Gen Intel Core i5-1230U bits: 64 type: MST AMCP
    arch: Alder Lake level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 4
    microcode: 0x429
  Topology: cpus: 1x cores: 10 mt: 2 tpc: 2 st: 8 threads: 12 smt: enabled
    cache: L1: 928 KiB desc: d-8x32 KiB, 2x48 KiB; i-2x32 KiB, 8x64 KiB
    L2: 6.5 MiB desc: 2x1.2 MiB, 2x2 MiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1551 high: 1700 min/max: 400/4400:3300 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1700 2: 1700 3: 1700
    4: 1700 5: 1700 6: 1700 7: 1700 8: 1700 9: 846 10: 1700 11: 1700 12: 774
    bogomips: 40560
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-UP4 GT2 [Iris Xe Graphics] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:46aa class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_wayland driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 res: 1920x1200 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel Graphics (ADL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel vendor: Hewlett-Packard driver: N/A bus-ID: 00:05.0
    chip-ID: 8086:465d class-ID: 0480
  Device-2: Intel vendor: Hewlett-Packard driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51cc class-ID: 0401
  API: ALSA v: k6.1.25-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.70 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active tools: pacat,pactl
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:2
    chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 13.92 GiB (1.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: KIOXIA model: N/A
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: HP01AN00 temp: 27.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 92.48 GiB size: 92.41 GiB (99.93%) used: 12.53 GiB (13.6%)
    fs: xfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 496 MiB size: 495 MiB (99.80%)
    used: 93 MiB (18.8%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 478.36 GiB size: 469.78 GiB (98.21%)
    used: 1.3 GiB (0.3%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 36.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
  Processes: 297 Uptime: 4m wakeups: 452 Memory: 15.32 GiB
  used: 2.84 GiB (18.5%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1172 libs: 353 tools: pamac pm: flatpak pkgs: 0 Shell: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.26

I have now solved the issue waking from suspend. I edited the file /etc/systemd/logind.conf and uncommented the line HandleLidSwitch=suspend. It immediately solved the problem with suspend.

Now I need to solve the problem with the speakers and touchscreen.

For the sound, I have found these two pages which seem to be about the same problem. But the solutions shown involve compiling a patched kernel. I would much prefer not to do that. I just upgraded my kernel to 6.3.0, which is newer than the ones mentioned on those pages, so I figure that the driver should have been merged by now. Yet my speakers currently aren’t working.

https://superuser.com/questions/1719920/no-sound-from-internal-speakers-on-laptop-but-headphone-jack-and-hdmi-works

https://bugzilla.kernel.org/show_bug.cgi?id=215993

https://bugzilla.kernel.org/show_bug.cgi?id=215993#c27

Takashi Iwai 2022-12-07 10:07:43 UTC

I believe the recent cs35l41 firmware has been already merged into the upstream linux-firmware tree.

But this won’t help alone unless BIOS gets fixed to provide the proper _DSD. That is, if you get about the “missing _DSD” error, it still won’t work.

According to Cirrus, ASUS will ship the BIOS update addressing that, at least for some models.

Suggest update system BIOS to latest version F.10 Rev.A
HP ENVY x360 13.3 inch 2-in-1 Laptop PC 13-bf0000 | HP® Customer Support

Sorry to get back to you so late. I have updated the firmware to F.10. I am running kernel version 6.4.3-1. The speakers still don’t work.

Please post more information about audio devices detected in ALSA

sudo alsa-info.sh--upload

Sorry again. Here is the link to the output.

Well, I’m now on the Linux kernel version 6.6.1, and the speakers still don’t work.

Hi, have you tried pipewire?