Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

1 votes
1 answers
91 views
ThinkPad T14 Gen1 - Trackpoint - Wayland - Stops working during usage
I have a Lenovo ThinkPad T14 gen1 for more than a year now and I run it with Ubuntu 24.04 LTS. Since that I have the problem with the trackpoint, that during usage it stops working randomly. I still can use the touchpad. The only solution is: reboot, standby or run `sudo modprobe -r psmouse && sudo...
I have a Lenovo ThinkPad T14 gen1 for more than a year now and I run it with Ubuntu 24.04 LTS. Since that I have the problem with the trackpoint, that during usage it stops working randomly. I still can use the touchpad. The only solution is: reboot, standby or run sudo modprobe -r psmouse && sudo modprobe psmouse When the trackpoint stopped working and I run sudo evtest /dev/input/event13 I also see that it has no action anymore. Besides I run sudo dmesg | grep -i -e psmouse -e trackpoint -e serio but I did it after the modprobe, because the trackpoint stopped working while I was clicking something and the click hang as well. The output is: [ 0.881089] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.881107] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.883951] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3 [ 2.047781] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694] [ 2.084079] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..] [ 2.084086] psmouse serio1: synaptics: Trying to set up SMBus access [ 2.087100] psmouse serio1: synaptics: SMbus companion is not ready yet [ 2.155641] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640 [ 2.155652] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0 [ 2.196323] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input5 [ 2.673734] psmouse serio2: trackpoint: Elan TrackPoint firmware: 0x11, buttons: 3/3 [ 2.880435] input: TPPS/2 Elan TrackPoint as /devices/platform/i8042/serio1/serio2/input/input6 [ 5.177567] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694] [ 5.207013] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..] [ 5.207025] psmouse serio1: synaptics: Trying to set up SMBus access [ 5.587289] serio: RMI4 PS/2 pass-through port at rmi4-00.fn03 [ 5.706040] psmouse serio3: trackpoint: Elan TrackPoint firmware: 0x11, buttons: 3/3 [ 5.744593] input: TPPS/2 Elan TrackPoint as /devices/pci0000:00/0000:00:1f.4/i2c-0/0-002c/rmi4-00/rmi4-00.fn03/serio3/input/input18 [17021.800494] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694] [17021.833970] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..] [17021.833996] psmouse serio1: synaptics: Trying to set up SMBus access [17022.136075] serio: RMI4 PS/2 pass-through port at rmi4-01.fn03 [17022.249496] psmouse serio4: trackpoint: Elan TrackPoint firmware: 0x11, buttons: 3/3 [17022.296166] input: TPPS/2 Elan TrackPoint as /devices/pci0000:00/0000:00:1f.4/i2c-0/0-002c/rmi4-01/rmi4-01.fn03/serio4/input/input22 I mean, I have a workaround, but it is still annoying. Any idea what else I can try? some other log to check? I also read about switching to PS/2 but this will disable the scrolling functionality.
Stephan (119 rep)
Jul 19, 2025, 02:35 PM • Last activity: Jul 20, 2025, 11:53 AM
0 votes
1 answers
96 views
Arch linux; System stopped registering wifi card (Qualcomm NCM825)
I have `ThinkPad 14s gen 6` with `Qualcomm® Wi-Fi® 7 NCM825, 802.11be 2x2 + BT5.3`. In after last boot my system lost ability to register any wifi device. I think it can correlate to recent [change in arch linux firmware packaging](https://archlinux.org/news/linux-firmware-2025061312fe085f...
I have ThinkPad 14s gen 6 with Qualcomm® Wi-Fi® 7 NCM825, 802.11be 2x2 + BT5.3. In after last boot my system lost ability to register any wifi device. I think it can correlate to recent [change in arch linux firmware packaging](https://archlinux.org/news/linux-firmware-2025061312fe085f-5-upgrade-requires-manual-intervention/) . - ip l
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    4: wwan0:  mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
        link/
    6: enp99s0u2u1u2:  mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
        link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
        altname enx083a885a6bbc
- sudo lspci -nnk | grep -A3 -i network
[sudo] password for john:
    pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
    c2:00.0 Network controller : Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
    	Subsystem: Lenovo Device [17aa:e0e6]
    	Kernel driver in use: ath12k_pci
    	Kernel modules: ath12k
- nmcli device wifi list Does not output anything. - journalctl
Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: Current EE: RAMDUMP DOWNLOAD MODE Required EE Mask: 0x4
    Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: failed to prepare for autoqueue transfer -107
    Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: PM: dpm_run_callback(): qcom_mhi_qrtr_pm_resume_early [qrtr_mhi] returns -107
    Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: PM: failed to thaw early: error -107
    Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: Current EE: RAMDUMP DOWNLOAD MODE Required EE Mask: 0x4
    Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: failed to prepare for autoqueue transfer -107
    Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: PM: dpm_run_callback(): qcom_mhi_qrtr_pm_resume_early [qrtr_mhi] returns -107
    Jun 24 12:30:42 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: PM: failed to resume early: error -107
    Jun 24 14:38:21 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: Current EE: RAMDUMP DOWNLOAD MODE Required EE Mask: 0x4
    Jun 24 14:38:21 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: failed to prepare for autoqueue transfer -107
    Jun 24 14:38:21 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: PM: dpm_run_callback(): qcom_mhi_qrtr_pm_resume_early [qrtr_mhi] returns -107
    Jun 24 14:38:21 archlinux kernel: qcom_mhi_qrtr mhi1_IPCR: PM: failed to resume early: error -107
- dmesg (trimmed output):
[ 9989.386867] qcom_mhi_qrtr mhi1_IPCR: Current EE: RAMDUMP DOWNLOAD MODE Required EE Mask: 0x4
    [ 9989.386870] qcom_mhi_qrtr mhi1_IPCR: failed to prepare for autoqueue transfer -107
    [ 9989.386872] qcom_mhi_qrtr mhi1_IPCR: PM: dpm_run_callback(): qcom_mhi_qrtr_pm_resume_early [qrtr_mhi] returns -107
    [ 9989.386879] qcom_mhi_qrtr mhi1_IPCR: PM: failed to thaw early: error -107
- My packages
local/linux-firmware 20250613.12fe085f-6
        Firmware files for Linux - Default set
    local/linux-firmware-amdgpu 20250613.12fe085f-6
        Firmware files for Linux - Firmware for AMD Radeon GPUs
    local/linux-firmware-atheros 20250613.12fe085f-6
        Firmware files for Linux - Firmware for Qualcomm Atheros WiFi and Bluetooth adapters
    local/linux-firmware-broadcom 20250613.12fe085f-6
        Firmware files for Linux - Firmware for Broadcom and Cypress network adapters
    local/linux-firmware-intel 20250613.12fe085f-6
        Firmware files for Linux - Firmware for Intel devices
    local/linux-firmware-mediatek 20250613.12fe085f-6
        Firmware files for Linux - Firmware for MediaTek and Ralink devices
    local/linux-firmware-nvidia 20250613.12fe085f-6
        Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
    local/linux-firmware-other 20250613.12fe085f-6
        Firmware files for Linux - Unsorted firmware for various devices
    local/linux-firmware-qcom 20250613.12fe085f-6
        Firmware files for Linux - Firmware for Qualcomm SoCs
    local/linux-firmware-qlogic 20250613.12fe085f-6
        Firmware files for Linux - Firmware for QLogic devices
    local/linux-firmware-radeon 20250613.12fe085f-6
        Firmware files for Linux - Firmware for ATI Radeon GPUs
    local/linux-firmware-realtek 20250613.12fe085f-6
        Firmware files for Linux - Firmware for Realtek devices
    local/linux-firmware-whence 20250613.12fe085f-6
        Firmware files for Linux - WHENCE file (vendor licenses)
Jan Černý (1723 rep)
Jun 24, 2025, 01:34 PM • Last activity: Jun 25, 2025, 08:43 AM
2 votes
0 answers
59 views
How to install a firmware on Linux for a fingerprint reader?
I have a Lenovo Thinkpad E15 Gen2 with a Goodix fingerprint reader and I'm trying to make it work for login on Arch Linux. I've installed `fingerprint-gui` but it's not recognized by it and I found this [Github][1] with the firmware I need. The ID of my fingerprint is `27c6:55a4`. I found the firmwa...
I have a Lenovo Thinkpad E15 Gen2 with a Goodix fingerprint reader and I'm trying to make it work for login on Arch Linux. I've installed fingerprint-gui but it's not recognized by it and I found this Github with the firmware I need. The ID of my fingerprint is 27c6:55a4. I found the firmware, made it executable with sudo chmod +x GF3268_RTSEC_APP_10041.bin and put it in /usr/lib/firmware but it's still not recognized by fingerprint-gui. How do I know if my firmware is correctly installed?
Gamix (21 rep)
Jun 20, 2025, 06:32 PM • Last activity: Jun 21, 2025, 08:45 AM
3 votes
1 answers
2677 views
how to use ipu3-cio camera in linux
I have a Thinkpad X1 Tablet (gen 2) with a front and back integrated camera running Ubuntu 19:10. The cameras appear to be detected: > $ v4l-info > > ### v4l2 device info [/dev/video0] ### > general info > VIDIOC_QUERYCAP > driver : "ipu3-cio2" > card : "Intel > IPU3 CIO2" bus_info : "PCI:0000:00:14...
I have a Thinkpad X1 Tablet (gen 2) with a front and back integrated camera running Ubuntu 19:10. The cameras appear to be detected: > $ v4l-info > > ### v4l2 device info [/dev/video0] ### > general info > VIDIOC_QUERYCAP > driver : "ipu3-cio2" > card : "Intel > IPU3 CIO2" bus_info : "PCI:0000:00:14.3" > version : 5.3.18 > capabilities : 0x84201000 [?,?,STREAMING,(null)] > > standards > > inputs > VIDIOC_ENUMINPUT(0) > index : 0 > name : "camera" > type : CAMERA > audioset : 0 > tuner : 0 > std : 0x0 [] > status : 0x0 [] > > controls When I start cheese I have 4 cameras labeled "ipu3-imgu". When I run guvcview I have 10 devices labeled "ipu3-imgu" which the system puts at /dev/video0-9 and four devices labeled "Intel IPU3 CIO2" which are /dev/video10-13. But none of these work. Does anyone have a laptop with this kind of camera running Linux? Does anyone know of a resource on debugging this kind of camera in Linux?
brett stevens (101 rep)
Apr 20, 2020, 07:39 PM • Last activity: Jun 18, 2025, 02:05 PM
1 votes
1 answers
129 views
Can't find wwan's modem device on Lenovo ThinkPad T480
I've got a used Lenovo ThinkPad T480 and it has a slot for a sim behind the external battery. I use artix-linux and I have installed networkmanager-openrc. According to [Arch Wiki for ThinkPad's mobile internet](https://wiki.archlinux.org/title/ThinkPad_mobile_Internet), there should be ``/dev/ww*``...
I've got a used Lenovo ThinkPad T480 and it has a slot for a sim behind the external battery. I use artix-linux and I have installed networkmanager-openrc. According to [Arch Wiki for ThinkPad's mobile internet](https://wiki.archlinux.org/title/ThinkPad_mobile_Internet) , there should be `/dev/ww* or /dev/cdc*` devices, but there aren't. My dmesg has no `wwan or WDM` mentions either. I tried inserting a sim, but dmesg only says when I disconnect or connect back the battery. Obviously, `mmcli -L` says that there are no modems. There's a lsusb and lspci output. I can't see anything related to the modem:
[leca@sweet-artix ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 04f2:b604 Chicony Electronics Co., Ltd Integrated Camera (1280x720@30)
Bus 001 Device 005: ID 06cb:009a Synaptics, Inc. Metallica MIS Touch Fingerprint Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[leca@sweet-artix ~]$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.3 Serial controller: Intel Corporation Sunrise Point-LP Active Management Technology - SOL (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1d.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #11 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
03:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
04:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
05:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
05:01.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
05:02.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
06:00.0 System peripheral: Intel Corporation JHL6240 Thunderbolt 3 NHI (Low Power) [Alpine Ridge LP 2016] (rev 01)
3c:00.0 USB controller: Intel Corporation JHL6240 Thunderbolt 3 USB 3.1 Controller (Low Power) [Alpine Ridge LP 2016] (rev 01)
3d:00.0 Non-Volatile memory controller: Lenovo LENSE30512GMSP34MEAT3TA
I did not do any fcc unlocking procedures and the previous owner was using windows so I suppose that he didn't do it either ;) It looks like that the modem is simply broken but I'd like to hear an opinion of an expert and compare `lsusb and lspci` outputs with another owner of such laptop.
Leca (117 rep)
Jun 4, 2025, 10:22 PM • Last activity: Jun 5, 2025, 08:57 AM
1 votes
1 answers
311 views
Arch linux: Can not connect to Lenovo dock gen 2 using thunderbolt
I have this hardware: - Lenovo thinkpad x390 yoga - Lenovo thinkpad thunderbolt 3 dock gen 2/Workstation dock gen 2 and this software: Wayland + sway I would like to be able to connect laptop to the dock and it will charge it and connects external display using HDMI or display port. None of these th...
I have this hardware: - Lenovo thinkpad x390 yoga - Lenovo thinkpad thunderbolt 3 dock gen 2/Workstation dock gen 2 and this software: Wayland + sway I would like to be able to connect laptop to the dock and it will charge it and connects external display using HDMI or display port. None of these think is happening. What should I do to be able to use the dock ? Thankyou for help ## Diagnostics cat /proc/version outputs
Linux version 6.9.7-arch1-1 (linux@archlinux) (gcc (GCC) 14.1.1 20240522, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000
lspci | grep -i thunder outputs
07:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
08:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
08:01.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
08:02.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
09:00.0 System peripheral: Intel Corporation JHL6240 Thunderbolt 3 NHI (Low Power) [Alpine Ridge LP 2016] (rev 01)
2f:00.0 USB controller: Intel Corporation JHL6240 Thunderbolt 3 USB 3.1 Controller (Low Power) [Alpine Ridge LP 2016] (rev 01)
In journalctl -p 3 -xb is this:
Jul 06 17:08:43 archlinux kernel: ucsi_acpi USBC000:00: con1: failed to register alt modes
Jul 06 17:08:43 archlinux kernel: ucsi_acpi USBC000:00: error -ETIMEDOUT: PPM init failed
Jul 06 17:09:14 archlinux acpid: cannot open input layer
Jul 06 17:09:14 archlinux acpid: can't open socket /var/run/acpid.socket: Address already in use
Jul 06 17:09:15 archlinux sudo: pam_unix(sudo:auth): conversation failed
Jul 06 17:09:15 archlinux sudo: pam_unix(sudo:auth): auth could not identify password for [john]
Jul 06 17:09:17 archlinux sudo: pam_unix(sudo:auth): conversation failed
Jul 06 17:09:17 archlinux sudo: pam_unix(sudo:auth): auth could not identify password for [john]
I have these packages installed: - local/bolt 0.9.8-1 - Thunderbolt 3 device manager - local/plasma-thunderbolt 6.1.2-1 (plasma) - Plasma integration for controlling Thunderbolt devices - local/tbtools 0.4.1-1 - Collection of tools for Linux Thunderbolt/USB4 development, debugging and validation systemctl status bolt.service outputs
● bolt.service - Thunderbolt system service
     Loaded: loaded (/usr/lib/systemd/system/bolt.service; static)
     Active: active (running) since Sat 2024-07-06 17:08:40 CEST; 24min ago
 Invocation: 391ae69c33e947c9aa0b9dde79bdc8b6
       Docs: man:boltd(8)
   Main PID: 1015 (boltd)
     Status: "authmode: enabled, force-power: unset"
      Tasks: 4 (limit: 18738)
     Memory: 1.6M (peak: 2.3M)
        CPU: 153ms
     CGroup: /system.slice/bolt.service
             └─1015 /usr/lib/boltd

Jul 06 17:08:40 archlinux boltd: udev: enumerating devices
Jul 06 17:08:40 archlinux boltd: probing: adding /sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0 to roots
Jul 06 17:08:40 archlinux boltd: [d7030000-00a2-domain0                    ] bootacl: synchronizing journal
Jul 06 17:08:40 archlinux boltd: security level set to 'user'
Jul 06 17:08:40 archlinux boltd: [d7030000-00a2-domain0                    ] connected: as domain0 [user] (/sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0/0000:08:00.0/0000:09:00.0/domain0)
Jul 06 17:08:40 archlinux boltd: [d7030000-00a2-X390-YOGA                  ] parent is (null)...
Jul 06 17:08:40 archlinux boltd: [d7030000-00a2-X390-YOGA                  ] connected: authorized (/sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0/0000:08:00.0/0000:09:00.0/domain0/0-0)
Jul 06 17:08:40 archlinux boltd: [d7030000-00a2-domain0                    ] dbus: exported domain at /org/freedesktop/bolt/domains/d7030000_00a2_a088_a074_8e242873d324
Jul 06 17:08:40 archlinux boltd: [d7030000-00a2-X390-YOGA                  ] dbus: exported device at /org/freedesktop/bolt/devices/d7030000_00a2...
Jul 06 17:08:40 archlinux systemd: Started Thunderbolt system service.
boltctl list does not output anything boltctl list --all outputs
● Lenovo X390-YOGA
   ├─ type:          host
   ├─ name:          X390-YOGA
   ├─ vendor:        Lenovo
   ├─ uuid:          d7030000-00a2-a088-a074-8e242873d324
   ├─ generation:    Thunderbolt 3
   ├─ status:        authorized
   │  ├─ domain:     d7030000-00a2-a088-a074-8e242873d324
   │  └─ authflags:  none
   ├─ authorized:    Sat Jul  6 15:08:38 2024
   ├─ connected:     Sat Jul  6 15:08:38 2024
   └─ stored:        Sun May 26 12:38:48 2024
      ├─ policy:     manual
      └─ key:        no
lsmod | grep thunderbolt outputs
intel_wmi_thunderbolt    16384  0
thunderbolt           565248  0
wmi                    36864  4 video,intel_wmi_thunderbolt,wmi_bmof,think_lmi
## What I tried - Rebooting - Updating kernel - Updating firmware
Jan Černý (1723 rep)
Jul 6, 2024, 03:41 PM • Last activity: May 18, 2025, 04:48 PM
3 votes
2 answers
2063 views
Resuming Linux from hibernate on ThinkPad X220 fails with black screen or reboot
I have installed Debian 8 with sysvinit and Xfce on a ThinkPad X220. The video card is `Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)`/`Integrated Graphics Chipset: Intel(R) HD Graphics 3000`. Kernel versions available to me are 4.7 from backports and...
I have installed Debian 8 with sysvinit and Xfce on a ThinkPad X220. The video card is Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)/Integrated Graphics Chipset: Intel(R) HD Graphics 3000. Kernel versions available to me are 4.7 from backports and 3.16 (heavily patched by Canonical kernel team) from stable. When I hibernate using pure kernel (echo disk > /sys/power/state done by pm-hibernate run by xfce4-pm-helper) and XScreenSaver turns the screen off, on resume the screen is still turned off (not just the backlight: I checked with a flashlight), and nothing seems to turn it on again (I tried Ctrl+Alt+F* suggested at ThinkWiki and Alt+SysRq+V), but the remaining system seems to be working (at least, when I do an Alt+SysRq+E,I,S,U,B, I can find messages from a successful resume and syslogd being terminated by signal 15 in /var/log/syslog). I'm able to connect via ssh, but both chvt 1; chvt 7 and various combinations of export DISPLAY=:0; xrandr --output LVDS1 --off; xrandr --output LVDS1 --auto do nothing. I disabled LVDS1 and tried to reenable it, I got: xrandr: Configure crtc 0 failed and the following lines in dmesg: [ 390.432051] [drm:drm_framebuffer_remove [drm]] *ERROR* failed to reset crtc ffff9ae6caa2f000 when fb was deleted [ 390.432066] [drm:drm_plane_force_disable [drm]] *ERROR* failed to disable plane with busy fb Some people suggested ddccontrol, but it doesn't detect DDC on my system. Is screen is on while hibernating, it stays working after resume. If I install uswsusp , hibernate works (as a bonus, I get some form of compression and ability to cancel hibernating at the last second), but only most of the time. The usual resume procedure looks like this: 1. resume: Loading image data pages (in default video mode) 1. Video mode is switched to native resolution, screen is filled with noise (full screen when EFI-booting, a small horizontal stripe on the top when BIOS-booting) 1. Loud click from speakers, screen momentarily turns black with s2disk: returned to userspace, then I get my XScreenSaver lock dialog. Sooner or later, right after the Loading data pages screen turns black and the laptop resets (I see the BIOS boot logo). I installed grub-efi on a thumbdrive (to avoid repartitioning) for the sake of efi-backed pstore. For a week, I hibernated and resumed the laptop once or twice per day without problems and almost beleived that EFI has solved the problem, but then the failure occured again, and no logs were found in /sys/fs/pstore (pstore: Registered efi as persistent store backend is visible in dmesg). I think that when resuming successfully for the last time before the next one failed the screen was not fully filled with noise and a black stripe was wisible on the bottom before I got returned to userspace and X screen back. As far as I know, suspend to RAM works flawlessly both with echo mem > /sys/power/state and s2ram. I do that more frequently than hibernating (several times per day) and so far, no glitches have occured. For now, I set up XScreenSaver to never turn the screen off, thus preventing the most common cause of the failure (XScreenSaver locking and turning screen off before hibernation), but I'm still able to encounter the glitch by closing the lid fast enough after choosing "hibernate". **UPD**: I've been using pure kernel hibernate for some time now, and I've just encountered the same reset after loading saved image which has been happening to me when using uswsusp. Apparently I've never used it on this X220 for long enough for it to happen before. So, as it turns out, I have no reliable ways to hibernate: both echo disk > /sys/power/state and s2disk fail after 5-7 hibernations, but pure kernel doesn't restore video card state properly, too. What else can I try to make some form of hibernate working?
aitap (583 rep)
Dec 3, 2016, 11:29 AM • Last activity: May 17, 2025, 10:05 PM
0 votes
0 answers
17 views
Manjaro (KDE) does not detect unplugging of AC adapter when booted while plugged
This was run while unplugged ➜ ~ upower -i /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: Sa 10 Mai 2025 11:06:43 CEST (1041 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' ➜ ~ and t...
This was run while unplugged ➜ ~ upower -i /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: Sa 10 Mai 2025 11:06:43 CEST (1041 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' ➜ ~ and this is acpi_listen, starting unplugged ➜ ~ sudo acpi_listen battery PNP0C0A:00 00000080 00000001 battery PNP0C0A:00 00000080 00000001 #These two lines show up when I plug it in battery PNP0C0A:00 00000080 00000001 battery PNP0C0A:00 00000080 00000001 #These two lines when I plug back out battery PNP0C0A:00 00000080 00000001 battery PNP0C0A:00 00000080 00000001 #These two when plugging back in ^C ➜ ~ I also have these ACPI errors, over and over [ 65.313102] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPCB.EC.HKEY.DEVT.PEGS], AE_NOT_FOUND (20240827/psargs-332) [ 65.313138] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC.HKEY.DEVT due to previous error (AE_NOT_FOUND) (20240827/psparse-529) [ 65.313162] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC._Q27 due to previous error (AE_NOT_FOUND) (20240827/psparse-529) Has anyone come across this issue? I've found some threads that look similar but I haven't been able to implement some working solution. This is somewhat beyond my knowledge so please let me know if there's any other useful information I might add.
churrundo (1 rep)
May 11, 2025, 08:55 AM • Last activity: May 11, 2025, 09:18 AM
5 votes
1 answers
2546 views
Wayland Touchpad Jumping - Motion Treshold?
I just switched from Ubuntu 17.10 to Debian Buster Sid, using GNOME 3.26.2. I'm using a Thinkpad T430. See below for more information on my touchpad. $ grep -B 5 mouse /proc/bus/input/devices I: Bus=0011 Vendor=0002 Product=0007 Version=01b1 N: Name="SynPS/2 Synaptics TouchPad" P: Phys=isa0060/serio...
I just switched from Ubuntu 17.10 to Debian Buster Sid, using GNOME 3.26.2. I'm using a Thinkpad T430. See below for more information on my touchpad. $ grep -B 5 mouse /proc/bus/input/devices I: Bus=0011 Vendor=0002 Product=0007 Version=01b1 N: Name="SynPS/2 Synaptics TouchPad" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/platform/i8042/serio1/input/input2 U: Uniq= H: Handlers=mouse0 event1 -- [...] The problem is that **two finger scrolling is very unprecise due to jumping**. While I'm scrolling everything works fine, but as soon as I'm lifting up my fingers to stop, the page just randomly jumps or scrolls a bit randomly up or down. I never experienced such behaviour under Ubuntu. I suspect that the motion threshold is simply to low, so that my lifting figures are detected as another scroll. All solutions for similar issues that I found requiere to edit the conf file which, as I found out, isn't used under Wayland. So I checked gsettings but didn't find a proper key: $ gsettings list-keys org.gnome.desktop.peripherals.touchpad send-events natural-scroll tap-to-click two-finger-scrolling-enabled left-handed click-method speed tap-and-drag edge-scrolling-enabled disable-while-typing How to fix this? Thank you and have a nice day!
DisplayName (51 rep)
Mar 16, 2018, 10:13 AM • Last activity: May 10, 2025, 06:08 PM
3 votes
1 answers
2314 views
Lenovo ThinkPad headphones trouble (combo jack)
Well... Sometimes ago I've bought a laptop Lenovo ThinkPad E555 with pre-installed Windows. I've removed Windows and installed Linux Mint 17.3. And now, sound through headphones does not work, only through speakers. I've tried different types of headphones: from Apple and from other producers. Combo...
Well... Sometimes ago I've bought a laptop Lenovo ThinkPad E555 with pre-installed Windows. I've removed Windows and installed Linux Mint 17.3. And now, sound through headphones does not work, only through speakers. I've tried different types of headphones: from Apple and from other producers. Combo jack does not work anyway. In **System Settings -> Sound** I have only speakers. My system info: OS: Linux Mint 17.3 Cinnamon 64-bit Cinnamon Version: 2.8.6 Linux Kernel: 3.19.0-32-generic My **lspci | grep -i audio** looks: $ lspci -v | grep -A7 -i audio 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1308 Subsystem: Lenovo Device 1309 Flags: bus master, fast devsel, latency 0, IRQ 48 Memory at f0c40000 (64-bit, non-prefetchable) [size=16K] Capabilities: Vendor Specific Information: Len=08 Capabilities: Power Management version 3 Capabilities: Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ -- 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01) Subsystem: Lenovo Device 5110 Flags: bus master, slow devsel, latency 32, IRQ 16 Memory at f0c44000 (64-bit, non-prefetchable) [size=16K] Capabilities: Power Management version 2 Kernel driver in use: snd_hda_intel 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11) PulseAudio gives me info: 2 card(s) available. index: 0 name: driver: owner module: 5 properties: alsa.card = "0" alsa.card_name = "HDA ATI HDMI" alsa.long_card_name = "HDA ATI HDMI at 0xf0c40000 irq 48" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:01.1" sysfs.path = "/devices/pci0000:00/0000:00:01.1/sound/card0" device.bus = "pci" device.vendor.id = "1002" device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]" device.product.id = "1308" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown) off: Off (priority 0, available: unknown) active profile: sinks: alsa_output.pci-0000_00_01.1.hdmi-stereo/#0: Built-in Audio Digital Stereo (HDMI) sources: alsa_output.pci-0000_00_01.1.hdmi-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo (HDMI) ports: hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no) properties: device.icon_name = "video-display" index: 1 name: driver: owner module: 6 properties: alsa.card = "1" alsa.card_name = "HD-Audio Generic" alsa.long_card_name = "HD-Audio Generic at 0xf0c44000 irq 16" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:14.2" sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1" device.bus = "pci" device.vendor.id = "1022" device.vendor.name = "Advanced Micro Devices, Inc. [AMD]" device.product.id = "780d" device.product.name = "FCH Azalia Controller" device.form_factor = "internal" device.string = "1" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: input:analog-stereo: Analog Stereo Input (priority 60, available: unknown) output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown) off: Off (priority 0, available: unknown) active profile: sinks: alsa_output.pci-0000_00_14.2.analog-stereo/#1: Built-in Audio Analog Stereo sources: alsa_output.pci-0000_00_14.2.analog-stereo.monitor/#1: Monitor of Built-in Audio Analog Stereo alsa_input.pci-0000_00_14.2.analog-stereo/#2: Built-in Audio Analog Stereo ports: analog-input-microphone-internal: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown) properties: device.icon_name = "audio-input-microphone" analog-input-microphone: Microphone (priority 8700, latency offset 0 usec, available: no) properties: device.icon_name = "audio-input-microphone" analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown) properties: device.icon_name = "audio-speakers" Help me, guys! I want to listening to music in headphones :)
Andrey Chul (31 rep)
Jan 19, 2016, 11:55 AM • Last activity: Apr 29, 2025, 05:08 AM
2 votes
1 answers
303 views
ThinkPad Universal USB-C Dock: Somehow recognized, but monitors, ethernet and fwupd don't work with T570
I have a "ThinkPad Universal USB-C Dock" ([Link to German Lenovo page][1]) that works reasonably well with a DELL 5560: Monitors via Displayport, Ethernet, USB, fwupd all work. The DELL is running Debian 12 (Bookworm). I didn't have to install anything, just plug an d play. Now I wanted to attach th...
I have a "ThinkPad Universal USB-C Dock" (Link to German Lenovo page ) that works reasonably well with a DELL 5560: Monitors via Displayport, Ethernet, USB, fwupd all work. The DELL is running Debian 12 (Bookworm). I didn't have to install anything, just plug an d play. Now I wanted to attach the ThinkPad Docking Station to my ThinkPad T570 and was quite astonished that almost nothing works: No monitors are recognized at all, Ethernet says "no link", fwupd doesn't list the device. The t570 is also running Debian, only 13/Trixie. I had a look at the bis settings for thunderbolt: It is enabled, Security is set to "No Security". Please note: it's NOT the "ThinkPad Hybrid USB-C Dock mit USB A" station, where there are already some posts here. And I don't think it's related to DisplayLink, because I didn't have to install anything related on the DELL (also nothing related was already installed). How can I bring the ThinkPad Dock to work with the T570?
Markus Grunwald (173 rep)
Apr 21, 2025, 11:18 AM • Last activity: Apr 28, 2025, 02:53 PM
2 votes
2 answers
1543 views
Ubuntu suddenly "forgets" serial device
So I have this issue with an USB to serial converter. On a fresh booted device it shows up as /dev/ttyUSB0 and I can connect to the serial device with `minicom -D /dev/ttyUSB0`. However, after some time (this could be minutes or hours, haven't figured out any trigger), the flow of data just stops. I...
So I have this issue with an USB to serial converter. On a fresh booted device it shows up as /dev/ttyUSB0 and I can connect to the serial device with minicom -D /dev/ttyUSB0. However, after some time (this could be minutes or hours, haven't figured out any trigger), the flow of data just stops. If I close minicom and try to start it again, I get the error minicom: cannot open /dev/ttyUSB0: No such file or directory. The device doesn't even show up in lsusb anymore. Unplugging / re-plugging doesn't help. I also re-soldered all the solder pads on the adapter to avoid connectivity issues but it didn't fix the issue. The only thing that fixes the issue is to reboot my computer. Which is maximum inconvenience in most cases because I have to close and re-open all the programs I'm working in. Any ideas what's happening here and how to fix it without closing all my open programs? Computer hardware is a ThinkPad T14 (first gen) with AMD processor. OS is Ubuntu 21.04.
Fred (123 rep)
Jun 14, 2021, 07:38 PM • Last activity: Mar 18, 2025, 07:46 PM
0 votes
0 answers
130 views
Debian 12 will not boot: Screen flickers between frozen boot messages and black
I have Debian 12 (updated to 6.1.128-1) running on a Thankpad X1 laptop (kernel 6.1.0-31-amd64) that stopped turning on after routine system updates (apt-get upgrade) on 2025.02.09. Boot messages appear, but freeze after a time. The screen repeatedly flickers between black and the now-frozen boot me...
I have Debian 12 (updated to 6.1.128-1) running on a Thankpad X1 laptop (kernel 6.1.0-31-amd64) that stopped turning on after routine system updates (apt-get upgrade) on 2025.02.09. Boot messages appear, but freeze after a time. The screen repeatedly flickers between black and the now-frozen boot messages. The exact message it stops on varies, with Starting NetworkManager-dispatcher.service being the current example that I can reproduce. I conjecture that it's trying to bring up graphics and crashing immediately (and then repeatedly), but debugging this is a bit beyond me at the moment. I have kernels 6.1.0-30-amd64 and 6.1.0-31-amd64 available and they both display this behavior. I can boot into recovery mode, and can get the wifi working in the resulting root shell, but not much else. I tried removing nvidia packages on a lark, but this changed nothing. Normally my next steps are to do a complete reinstall, but I'm hoping there is something I'm missing and there's a way to rescue this?
MRule (249 rep)
Feb 9, 2025, 10:02 PM
26 votes
5 answers
14179 views
Disabling middle click on bottom of a clickpad / touchpad
The Thinkpad T480s has a "clickpad": a touchpad where (parts of) the touchpad itself is pressable instead of having physical dedicated buttons. Running X.org 7.7, there is a horizontal stripe at the bottom of the touchpad that acts as the mouse buttons 1, 2, and 3 (i.e. left, middle and right); basi...
The Thinkpad T480s has a "clickpad": a touchpad where (parts of) the touchpad itself is pressable instead of having physical dedicated buttons. Running X.org 7.7, there is a horizontal stripe at the bottom of the touchpad that acts as the mouse buttons 1, 2, and 3 (i.e. left, middle and right); basically it looks like this: +-----------------+ | | | | | | | | |11111 22222 33333| |11111 22222 33333| +-----------------+ How do I disable button 2 and reallocate that area to between buttons 1 and 3? I.e. I would like the following layout: +-----------------+ | | | | | | | | |11111111 33333333| |11111111 33333333| +-----------------+ **Note** this question is different from https://unix.stackexchange.com/q/326554/6706 since I am trying to do this in the context of XInput, not mtrack. Also, the hardware is not Synaptics. The hardware in question is identified by XInput as ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ ETPS/2 Elantech Touchpad id=11 [slave pointer (2)] ⎜ ↳ ETPS/2 Elantech TrackPoint id=12 [slave pointer (2)]
Cactus (855 rep)
Apr 19, 2018, 12:42 PM • Last activity: Feb 5, 2025, 11:44 AM
0 votes
1 answers
108 views
Nvidia GPU doesn't work on any distribution
My laptop had always had some issues related to the NVidia dGPU the NVidia RTX A500. Basically, I tried plenty different distributions, they all had either artefacts, or freezes, or both. Except for Fedora 40, which is now old. So I searched around a bit and realised that it is supposed to be suppor...
My laptop had always had some issues related to the NVidia dGPU the NVidia RTX A500. Basically, I tried plenty different distributions, they all had either artefacts, or freezes, or both. Except for Fedora 40, which is now old. So I searched around a bit and realised that it is supposed to be supported by Ubuntu: * My Laptop - Lenovo ThinkPad P16v Gen 1 (AMD Ryzen 7 PRO 7840HS, NVIDIA RTX A500) So I installed Ubuntu LTS 24.04 and the nvidia drivers it proposed, but I still have artefacts. Note that the glitches appear a lot after booting, then after 5 min they calm down a bit. In the link, it is written that it is some kind of special ISO. 1. Is there a way I could acquire it, and does it make a big difference? 2. Also, does anyone know how I could solve this issue?
Nathan Vidal (1 rep)
Dec 6, 2024, 04:56 PM • Last activity: Dec 9, 2024, 03:28 PM
0 votes
1 answers
90 views
luks encryption passphrase fails if dock is connected
If my ThinkPad P1 gen4 is connected to Lenovo Thunderbolt4-dock (0B40 series). I'm not able to start. My root- and home-partitions are encrypted with luks. At boot I'm asked for passphrase, for decrypting root-partition. This works if it is not attached to dock. If it is connected, after I wrote pas...
If my ThinkPad P1 gen4 is connected to Lenovo Thunderbolt4-dock (0B40 series). I'm not able to start. My root- and home-partitions are encrypted with luks. At boot I'm asked for passphrase, for decrypting root-partition. This works if it is not attached to dock. If it is connected, after I wrote passphrase, but I get
`
no key available with this passphrase
` Why the dock is blocking decrypting partition?
Johannes C. Schulz (192 rep)
Feb 28, 2024, 04:35 PM • Last activity: Nov 26, 2024, 05:12 PM
0 votes
1 answers
487 views
Touchpad not detected by Kernel - Debian 12 - ThinkPad E16 Gen2
I've just installed Debian 12 on my ThinkPad E16 Gen 2, and installed using GNOME. The touchpad doesn't work and it seems that the kernel doesn't register the hardware. This is the `xinput list` output: ``` ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave p...
I've just installed Debian 12 on my ThinkPad E16 Gen 2, and installed using GNOME. The touchpad doesn't work and it seems that the kernel doesn't register the hardware. This is the xinput list output:
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ TPPS/2 Elan TrackPoint                  	id=12	[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)]
    ↳ Sleep Button                            	id=7	[slave  keyboard (3)]
    ↳ Integrated RGB Camera: Integrat         	id=8	[slave  keyboard (3)]
    ↳ Integrated RGB Camera: Integrat         	id=9	[slave  keyboard (3)]
    ↳ Intel HID events                        	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=13	[slave  keyboard (3)]
When checking for modules by running lsmod | grep -E "i2c_hid|psmouse", I get the following:
i2c_hid_acpi           16384  0
psmouse               184320  0
i2c_hid                32768  1 i2c_hid_acpi
hid                   159744  1 i2c_hid
This is my Grub file, in which I added i8042.reset i8042.nomux i8042.nopnp i8042.dumbkbd
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT="i8042.reset i8042.nomux i8042.nopnp i8042.dumbkbd quiet splash"
GRUB_CMDLINE_LINUX=""
When checking BIOS trackpad is enabled. In settings->Mouse & Touchpad, there is no settings for touchpad. I've run sudo apt install xserver-xorg-input-synaptics. I've copied 70-synaptics.conf to /etc/X11/xorg.conf.d/ I've updated the kernel in every possible way with sudo apt install linux-image-amd64 as well as using backports. The log from dmesg | grep touchpad outputs nothing. The same goes for cat /var/log/Xorg.0.log | touchpad I feel like I'm out of options, and the only solutions is to switch to another Linux distributer. Please help [SOLVED] While posting I realized this line: GRUB_CMDLINE_LINUX_DEFAULT="i8042.reset i8042.nomux i8042.nopnp i8042.dumbkbd quiet splash" was previously written as GRUB_CMDLINE_LINUX_DEFAULT="quiet spla i8042.reset i8042.nomux i8042.nopnp i8042.dumbkbd" with the quiet spla in the beginning, and without the 'h' in splash. Then it just needed a reboot
MarcusLe (11 rep)
Nov 16, 2024, 12:26 AM • Last activity: Nov 16, 2024, 09:54 AM
2 votes
1 answers
2191 views
Bash & Thinkpad: how to get docked / undocked status?
In some of my scripts I need to know if my Thinkpad is docked or not. So far I'm just checking if any of the peripherals attached to the docking station can be found. For example I use `xrandr` or `get-edid` to get the list of attached monitors and understand if the laptop is docked. However I see i...
In some of my scripts I need to know if my Thinkpad is docked or not. So far I'm just checking if any of the peripherals attached to the docking station can be found. For example I use xrandr or get-edid to get the list of attached monitors and understand if the laptop is docked. However I see in the syslog that the kernel can see the docking event but I don't want to parse syslog looking for "docking something". Do you know some smart way to check from bash if the laptop is docked without relying on the attached peripherals? It would be cool if I could **both** catch the docking/undocking event when it happens **and** check the docking status at any time.
19hundreds (41 rep)
Jan 6, 2019, 12:11 PM • Last activity: Oct 16, 2024, 11:43 PM
3 votes
1 answers
299 views
Inbuilt microphone not detected on Thinkpad E14 Gen 6 (Pop OS)
I've just installed Pop OS as a dual boot on a new Thinkpad E14 Gen 6, running an AMD Ryzen 5 7535 CPU. I've got a problem though: the inbuilt laptop microphone is not being detected in the sound settings! The "Input" dropdown is greyed out, with no options to select anything. The laptop speakers wo...
I've just installed Pop OS as a dual boot on a new Thinkpad E14 Gen 6, running an AMD Ryzen 5 7535 CPU. I've got a problem though: the inbuilt laptop microphone is not being detected in the sound settings! The "Input" dropdown is greyed out, with no options to select anything. The laptop speakers work fine. One of the first things I tried was installing pavucontrol. This told me that the microphone was "unplugged". Running
--list-devices
gave me the output
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: CX8070 Analog [CX8070 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Which I think implies that **some** part of Linux is detecting the microphone? Based off of my erratic googling, I've also tried blacklisting
to no effect, and briefly tried blacklisting
- which just made my speakers stop working. I reversed that! On top of this, I've ran this series of modprobe commands, to no visible effect:
131  sudo modprobe snd_sof_pci_intel_tgl
  132  sudo modprobe snd_soc_skl_hda_dsp
  133  sudo modprobe snd_soc_dmic
On the Windows boot, the microphone is detected and works fine! Some answers I've seen online have been telling me it's a kernel issue, but many of the answers are telling people to upgrade to 6.5 or 6.6. I'm currently on
.9.3-76060903-generic
. I'm not really sure what to do! Any help would be appreciated - or something to help me know where to look.
******* DIAGNOSTIC ZONE *********
Here's the result of a journalctl, grepped to only include sound stuff -
-k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel"
Jul 29 10:07:20 pop-os kernel: ACPI: \_SB_.PCI0.GP17.HDAU.PWRS: New power resource
Jul 29 10:07:20 pop-os kernel: [drm] DP-HDMI FRL PCON supported
Jul 29 10:07:21 pop-os kernel: snd_hda_intel 0000:05:00.1: enabling device (0000 -> 0002)
Jul 29 10:07:21 pop-os kernel: snd_pci_acp6x 0000:05:00.5: enabling device (0000 -> 0002)
Jul 29 10:07:21 pop-os kernel: snd_hda_intel 0000:05:00.1: Handle vga_switcheroo audio client
Jul 29 10:07:21 pop-os kernel: snd_hda_intel 0000:05:00.6: enabling device (0000 -> 0002)
Jul 29 10:07:21 pop-os kernel: snd_hda_codec_conexant hdaudioC1D0: CX8070: BIOS auto-probing.
Jul 29 10:07:21 pop-os kernel: snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
Jul 29 10:07:21 pop-os kernel: snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 29 10:07:21 pop-os kernel: snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
Jul 29 10:07:21 pop-os kernel: snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
Jul 29 10:07:21 pop-os kernel: snd_hda_codec_conexant hdaudioC1D0:    inputs:
Jul 29 10:07:21 pop-os kernel: snd_hda_codec_conexant hdaudioC1D0:      Mic=0x19
Jul 29 10:07:21 pop-os kernel: snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
Jul 29 10:07:21 pop-os kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0/input20
Jul 29 10:07:21 pop-os kernel: input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0/input21
Jul 29 10:07:21 pop-os kernel: input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1/input23
Jul 29 10:07:21 pop-os kernel: input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0/input22
Jul 29 10:07:21 pop-os kernel: input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1/input24
Here's the output of pactl's list of sources -
list sources
Source #49
	State: RUNNING
	Name: alsa_output.pci-0000_05_00.6.analog-stereo.monitor
	Description: Monitor of Family 17h (Models 10h-1fh) HD Audio Controller Analogue Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: alsa_output.pci-0000_05_00.6.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "CX8070 Analog"
		alsa.long_card_name = "HD-Audio Generic at 0x806c0000 irq 85"
		alsa.name = "CX8070 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HD-Audio Generic at 0x806c0000 irq 85"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "3"
		device.api = "alsa"
		device.class = "monitor"
		device.id = "47"
		device.profile.description = "Analogue Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
		node.name = "alsa_output.pci-0000_05_00.6.analog-stereo"
		node.nick = "CX8070 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:front:1:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "48"
		object.serial = "49"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "pci"
		device.bus_path = "pci-0000:05:00.6"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_05_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "10384503"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.string = "1"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 3, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

Source #50
	State: SUSPENDED
	Name: alsa_input.pci-0000_05_00.6.analog-stereo
	Description: Family 17h (Models 10h-1fh) HD Audio Controller Analogue Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "CX8070 Analog"
		alsa.long_card_name = "HD-Audio Generic at 0x806c0000 irq 85"
		alsa.name = "CX8070 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HD-Audio Generic at 0x806c0000 irq 85"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "capture"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "47"
		device.profile.description = "Analogue Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.source"
		media.class = "Audio/Source"
		device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
		node.name = "alsa_input.pci-0000_05_00.6.analog-stereo"
		node.nick = "CX8070 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:front:1:capture"
		priority.driver = "2009"
		priority.session = "2009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "split"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "49"
		object.serial = "50"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "pci"
		device.bus_path = "pci-0000:05:00.6"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_05_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "10384503"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.string = "1"
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, availability group: Legacy 1, not available)
	Active Port: analog-input-mic
	Formats:
		pcm
Finally, here's the pactl information on sound cards -
list cards
Card #47
	Name: alsa_card.pci-0000_05_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HD-Audio Generic at 0x806c8000 irq 84"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:05:00.1"
		device.description = "HD-Audio Generic"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_05_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "10380399"
		device.product.id = "0x1640"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "35"
		object.id = "46"
		object.serial = "47"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0x806c8000 irq 84"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 3, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2

Card #48
	Name: alsa_card.pci-0000_05_00.6
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0x806c0000 irq 85"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:05:00.6"
		device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_05_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "10384503"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "35"
		object.id = "47"
		object.serial = "48"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0x806c0000 irq 85"
		alsa.driver_name = "snd_hda_intel"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo: Analogue Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		input:analog-stereo: Analogue Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 2, availability unknown)
			Properties:
				port.type = "speaker"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-speakers"
				card.profile.port = "1"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 3"
				device.icon_name = "audio-headphones"
				card.profile.port = "2"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
If any more information is needed I'll update this post with those later!
Piotrus Watson (31 rep)
Jul 29, 2024, 10:18 AM • Last activity: Oct 14, 2024, 08:31 AM
2 votes
0 answers
984 views
Getting into deep S0ix ('modern standby')
I observed that when put into standby mode, my computer (Thinkpad T14 Gen 5 with an Intel(R) Core(TM) Ultra 5 125U, running Fedora 40, kernel-6.10.11) still gets very warm and drains its battery, although the screen is switched off, and the power led flashes like indicating standby mode. After diggi...
I observed that when put into standby mode, my computer (Thinkpad T14 Gen 5 with an Intel(R) Core(TM) Ultra 5 125U, running Fedora 40, kernel-6.10.11) still gets very warm and drains its battery, although the screen is switched off, and the power led flashes like indicating standby mode. After digging, I learned about S0ix (dubbed 'modern standby'), and that my computer apparently does not support the old-fashioned S3 standby anymore (/sys/power/mem_sleep reads [s2idle], nothing more). Digging deeper, I found the S0ix self test tool , which says
...
Your system only get shallower S0ix substate residency: S0i2.1 1938299461

Need to debug why not deeper substate: S0i2.2
...
Below are the deeper S0ix substate required IPs did not show YES:

 pmc0:               AON3_OFF_STS    Required             
pmc0:           XTAL_LVM_OFF_STS    Required             
pmc0:          XTAL_AGGR_OFF_STS    Required             
pmc0:         FILTER_PLL_OFF_STS    Required             
pmc0:            SOC_PLL_OFF_STS    Required             
pmc0: IOE_COND_MET_S02I2_2_REQ_STS    Required             
pmc0:           ARC_IDLE_REQ_STS    Required             
pmc0: ARC_INTERRUPT_WAKE_REQ_STS    Required             
pmc1:               AON2_OFF_STS    Required             
pmc1:               AON3_OFF_STS    Required             
pmc1:           AON3_SPL_OFF_STS    Required             
pmc1:          XTAL_AGGR_OFF_STS    Required             
pmc1:            SOC_PLL_OFF_STS    Required             
pmc1:           SBR0_PGD0_PG_STS    Required             
pmc1:           SBR1_PGD0_PG_STS    Required             
pmc1:           SBR2_PGD0_PG_STS    Required             
pmc1:           SBR3_PGD0_PG_STS    Required             
pmc1:           SBR4_PGD0_PG_STS    Required             
pmc1:        IOE_D2D_PGD1_PG_STS    Required               


Please check the potential blockers
(the full output is pasted here ). I assume that this is related to my problem; however, I have way too little knowledge of linux in general and Linux power management in particular. Does anybody have ideas about a potential solution?
Bubaya (141 rep)
Oct 3, 2024, 11:05 AM • Last activity: Oct 3, 2024, 11:54 AM
Showing page 1 of 20 total questions