Lenovo IdeaPad Flex 5 13IML05 Chromebook

HardwarePCI/USB IDWorking?
GPU8086:9b41Yes
SSD144d:a809Yes
MicroSD card readerYes
KeyboardYes
Keyboard backlightYes
WiFi8086:02f0Yes
Bluetooth8087:0026Yes
Speakers8086:02c8Yes
MicrophoneYes
3.5mm jackPartial
Touchpad06cb:cde1Yes
Touchscreen27c6:0e32Yes
Stylus27c6:0e32Untested
WebcamYes

Installation

This Chromebook does not support Legacy Boot Mode. Even if you try to invoke it by pressing on the Developer Mode boot screen, it will show two options without a choice. Therefore it is necessary to flash a custom firmware.

UEFI Firmware Flashing

  1. Disable Firmware Write Protection by booting without battery or using SuzyQable.
  2. Enable Developer Mode.
  3. Use MrChromebox's Firmware Utility Script.

Arch Linux Installation

Warning:

If you plan to use F2FS, read about the power management issue first.

Note:
  • Use UEFI-compatible bootloaders (e.g. systemd-boot).
  • The SSD disk is /dev/nvme0n1.

Use to suppress audit messages that appear every second:

# auditctl -e0

Follow the Installation guide.

Power Management

As of January 20, 2022, the power management is broken in the Linux kernel (5.16.1). It is also broken in the official (5.15.15) package.

The Chromebook hangs when closing the lid, restarting, and shutting down.

An older kernel can be used as a workaround.

The issue appears to be resolved as of kernel version 5.19.16 or earlier.

Lid Sensor

As of kernel version 5.19.16 or perhaps earlier, the lid sensor causes the system to wakeup shortly after suspending, regardless of whether the lid is closed.

A workaround is to disable wakeup events from the lid sensor. An example udev rule:

Sound

Install the following packages:

  • - sound driver
  • - PulseAudio
  • - required to connect ALSA with PulseAudio
  • acpid - acpid is required to make work the 3.5mm jack
  • - optional, required for Bluetooth headsets
  • alsa-utils - optional, can be used to control the sound from a terminal (e.g. )

Describe the sound card using the ALSA configuration file:

Force PulseAudio to use the devices defined above:

Find and delete or comment out the following block of code to prevent conflicts:

Create the following script to automatically switch sinks with acpid because of the 3.5mm jack:

Make the script executable.

Register the script as a listener:

Enable

The sound should work after reboot.

Touchscreen

As of January 12, 2022, the Linux kernel (5.15.13) uses the wrong module for the touchscreen due to a bug.

Therefore, it is necessary to block it:

The kernel will load the correct module after reboot.

gollark: Very strange. Surely randomly posting GIFs tangentially related to motivation should induce 901274819489124 motive.
gollark: I see.
gollark: I really should make that run on the GPU.
gollark: https://tenor.com/view/motivation-monday-jillian-michaels-work-hard-gif-11577697
gollark: https://tenor.com/view/motivational-penguin-motivate-positive-gif-11669898

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.