Entry created
2025-02-03
Translation(s): none
DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware. The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware. If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware. |
Table of contents:
Contents
Hardware
Note: there are several models of the Lenovo ?ThinkPad X13 Yoga Gen 4
Models covered
- Lenovo ?ThinkPad X13 Yoga Gen 4 - Type 21F2
Common specifications
- Processor: Intel 13th generation mobile processors (code name Raptor Lake)
- 28W TDP options: Core i7-1360P, 1370P
- 15W TDP options: Core i7-1365U, 1355U, i5-1345U, 1335U
- Chipset: Intel Raptor Lake P
- Memory: LPDDR5-4800 non-ECC (soldered) - 8GB, 16GB, 32GB
- Graphics: Intel Iris Xe Graphics iGPU
- Storage: M.2 2280 - supporting PCIe gen 4 NVMe
- Ethernet: none
- Wireless: onboard Intel WiFi + M.2 2230 slot (for nano-SIM 4G)
- Onboard WiFi: Intel AX211 (WiFi 6E + BT 5.3)
- M.2 2230 options: Quectel EM05-G 4G LTE (cat 4) or Fibocom L860-GL-16 4G LTE (cat 16)
- Video: 13.3" touchscreen (WUXGA 1920x1200), USB C thunderbolt video out (DP), HDMI video out
- Audio: 2x keyboard (top facing) stereo speakers, dual array microphone, left 3.5mm TRRS
- Camera: front FHD with IR sensor, privacy shutter
- Keyboard/touchpad: touchscreen, compact backlit keyboard (with power button fingerprint reader), multi-touch touchpad, trackpoint
- USB: right 1x USB 3.2 gen 1 type A, left 2x USB 4 type C (with Thunderbolt + PD), USB 3.2 gen 1 type A
- Factory OS: Windows 11
- UEFI: Lenovo with Secure Boot and TPM
- Power: Li-ion battery (54.7Wh or 41Wh), 65W/45W USB PD power supply
- Sleep/Hibernate: S0iX, S4, S5
Optional hardware
- Lenovo integrated (touchscreen) pen - Wacom AES compatible
- Smart card reader
Installation
Debian 12.9 (bookworm)
Debian 12.9 (bookworm), standard utilities, Gnome desktop
Overall Status
Core Components |
||
Boot Standard Kernel: |
|
|
LAN network card: |
|
|
Detect CD/DVD: |
[-] |
|
Detect hard drives: |
|
|
Secure boot: |
|
|
Extra Features |
||
CPU Frequency Scaling |
[?] |
|
Hibernation |
|
|
Sleep / Suspend |
|
|
Xorg |
|
|
- OpenGL |
[?] |
|
- Resize-and-Rotate(randr) |
[?] |
|
Wayland |
|
|
Switch to External Screen |
{OK} |
|
Mouse |
|
|
- Built-in (Trackpoint) |
|
|
- Built-in (Touchpad) |
|
|
Modem |
|
|
Wireless/Wifi |
|
|
Keyboard's Hotkeys |
|
Legend :
= OK ;
Unsupported(No Driver) ;
= Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
= Configuration Required;
= Only works with a non-free driver and or firmware
Media preparation
Debian 12 x64 netinstall CD ISO https://www.debian.org/CD/netinst/
Write media to bootable USB (avoid Unetbootin - gives installation error)
Important Note
UEFI update: UEFI update via Windows, bootable ISO or UEFI
UEFI settings
UEFI settings: Enter then F1 on boot
Boot menu: Enter then F12 on boot
Installation notes
Working
Display: Intel iGPU
Built-in keyboard
- hot keys: screen brightness (+/-), audio control (+/-/mute), mic mute, airplane mode
Built-in touchpad
Built-in trackpoint
Touch screen control with autorotation (in Wayland) - not tested in X11
Audio out: speakers, 3.5mm port
Video out: HDMI, USB C thunderbolt
Front camera
Network: WiFi
Bluetooth
Power/sleep: USB PD charging, software sleep
Requires configuation
Fingerprint reader
- install fprintd and libpam-fprintd
On screen keyboard activation
- install gnome-extension manager and install improved-osk
Toudpad tap-to-click
- settings, touchpad, enable tap-to-click (why is this not on by default?)
Bugged (but can live with)
None
Not working
None
Optional hardware
- Lenovo integrated pen
Partially working
- Device deteced as Wacom HID pen (libinput)
Working: pressure sensitive touch, bluetooth pairing
Not working: tool buttons
Other notes
Intel integrated GPU
Non-free firmware
Intel integrated GPU
- Model tested: Intel Iris Xe Graphics iGPU
- Non-free firmware: firmware-intel-graphics
- Works out of box / automatically installed
- Backported version is newer and may improve performance
- Model tested: Intel Iris Xe Graphics iGPU
Intel WiFi card
- Model tested: Intel AX211
- Non-free firmware: firmware-iwlwifi
- Works out of box / automatically installed
- Backported version is newer and may improve performance
- Model tested: Intel AX211
System Summary
lspci
$ lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Raptor Lake-P/U 2p+8e cores Host Bridge/DRAM Controller [8086:a708] (rev 01) 00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a1] (rev 04) 00:04.0 Signal processing controller [1180]: Intel Corporation Raptor Lake Dynamic Platform and Thermal Framework Processor Participant [8086:a71d] (rev 01) 00:06.0 PCI bridge [0604]: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port [8086:a74d] (rev 01) 00:07.0 PCI bridge [0604]: Intel Corporation Raptor Lake-P Thunderbolt 4 PCI Express Root Port [8086:a76e] (rev 01) 00:07.2 PCI bridge [0604]: Intel Corporation Raptor Lake-P Thunderbolt 4 PCI Express Root Port [8086:a72f] (rev 01) 00:08.0 System peripheral [0880]: Intel Corporation GNA Scoring Accelerator module [8086:a74f] (rev 01) 00:0d.0 USB controller [0c03]: Intel Corporation Raptor Lake-P Thunderbolt 4 USB Controller [8086:a71e] (rev 01) 00:0d.2 USB controller [0c03]: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI [8086:a73e] (rev 01) 00:0d.3 USB controller [0c03]: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI [8086:a76d] (rev 01) 00:12.0 Serial controller [0700]: Intel Corporation Alder Lake-P Integrated Sensor Hub [8086:51fc] (rev 01) 00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01) 00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01) 00:14.3 Network controller [0280]: Intel Corporation Raptor Lake PCH CNVi WiFi [8086:51f1] (rev 01) 00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01) 00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01) 00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01) 00:1f.0 ISA bridge [0601]: Intel Corporation Raptor Lake LPC/eSPI Controller [8086:519d] (rev 01) 00:1f.3 Audio device [0403]: Intel Corporation Raptor Lake-P/U/H cAVS [8086:51ca] (rev 01) 00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01) 00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01) 04:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN770 NVMe SSD [15b7:5017] (rev 01)
lsusb
$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader Bus 001 Device 004: ID 04f2:b7c0 Chicony Electronics Co., Ltd Integrated Camera Bus 001 Device 003: ID 27c6:6594 Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC Bus 001 Device 007: ID 8087:0033 Intel Corp. AX211 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ sudo lsusb -v 2>/dev/null | grep -E '\<(^Bus|iProduct|bDeviceClass|bDeviceProtocol)' Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub bDeviceClass 9 Hub bDeviceProtocol 3 iProduct 2 xHCI Host Controller Bus 001 Device 005: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader bDeviceClass 0 bDeviceProtocol 0 iProduct 2 EMV Smartcard Reader Bus 001 Device 004: ID 04f2:b7c0 Chicony Electronics Co., Ltd Integrated Camera bDeviceClass 239 Miscellaneous Device bDeviceProtocol 1 Interface Association iProduct 2 Integrated Camera Bus 001 Device 003: ID 27c6:6594 Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC bDeviceClass 239 Miscellaneous Device bDeviceProtocol 0 iProduct 2 Goodix USB2.0 MISC Bus 001 Device 007: ID 8087:0033 Intel Corp. AX211 Bluetooth bDeviceClass 224 Wireless bDeviceProtocol 1 Bluetooth iProduct 0 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub bDeviceClass 9 Hub bDeviceProtocol 1 Single TT iProduct 2 xHCI Host Controller Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub bDeviceClass 9 Hub bDeviceProtocol 3 iProduct 2 xHCI Host Controller Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub bDeviceClass 9 Hub bDeviceProtocol 1 Single TT iProduct 2 xHCI Host Controller
USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.
Resources
Attachments
Some configuration files and sample outputs.
Other reports
Useful Links
Credits