Jump to content

User:MartinH/My new subpage

From ArchWiki
Hardware PCI/USB ID Working?
GPU (Intel) Yes
Wireless Yes
Bluetooth Yes
Audio Yes
Webcam 30c9:0057 Yes
Fingerprint Reader 27c6:550c No

The Lenovo Yoga Book 9i 2023 (13IRU8) is a 2-in-1 convertible laptop powered by Intel's Alder Lake P-Series. It features a 13" OLED touchscreen. // other variants?

To ensure you have this version, you can use dmidecode

# dmidecode -s system-version
Yoga Book 9 13IRU8

Installation

Before installing, disable Secure Boot in the BIOS.

You will need to add some kernel parameters before Arch will boot successfully - acpi=noirq pci=reboot pci=hpiosize=0 // discussion here

Accessibility

This article or section needs expansion.

Reason: Details on the firmware appearance would be nice to know if a blind reader might need assistance to change the settings. (Discuss in User talk:MartinH/My new subpage)

The laptop uses a graphical BIOS which does not appear to have any accessibility features. //You can access the BIOS by pressing F2 at the Splash screen. The boot menu can also be accessed by pressing F12.

Wireless

For wireless to work, unblock rfkill. // not needed on YB9i?

To unblock wlan:

$ rfkill unblock wlan

To unblock bluetooth:

$ rfkill unblock bluetooth

Audio

// but do they work properly with recent kernels?

For audio to work, install Sound Open Firmware.

The bass speakers do not work by default. Create:

/etc/modprobe.d/snd.conf
options snd-sof-intel-hda-common hda_model=alc287-yoga9-bass-spk-pin

In newer kernels, change the above to

/etc/modprobe.d/snd.conf
options snd-sof-intel-hda-generic hda_model=alc287-yoga9-bass-spk-pin

Reboot and both the bass speakers and internal microphone should work.

Power management

// ideapad kernel module - useful, or useless?

Battery Conservation Mode is a feature that limits battery charging to 55-60% of its capacity to improve battery life, being most useful when the laptop tends to run on external power much of the time. It can be controlled with ideapad-cmAUR. With battmngrAUR it is possible to control both Battery Conservation and System performance modes.

Kernel method

Set the ideapad_laptop.allow_v4_dytc=1 kernel parameter.

To use without reboot:

# rmmod ideapad_laptop
# modprobe ideapad_laptop allow_v4_dytc=1

Restart power-profiles-daemon.service. Now power-profiles-daemon can do everything below.

Apply this across reboots by setting it permanently.

System performance mode

This article or section is a candidate for merging with Laptop/Lenovo#Lenovo.

Notes: This is shared across multiple models and should be put on the generic page instead of duplicated for every model. (Discuss in User talk:MartinH/My new subpage)

There are 3 modes available: Intelligent Cooling, Extreme Performance and Battery Saving. To toggle it, you need to call some ACPI methods.

First install acpi_call (or acpi_call-lts for LTS kernel, acpi_call-dkms for other kernels) and load the kernel module:

# modprobe acpi_call

Set it to Intelligent Cooling mode:

# echo '\_SB.PC00.LPCB.EC0.VPC0.DYTC 0x000FB001' > /proc/acpi/call

Set it to Extreme Performance mode:

# echo '\_SB.PC00.LPCB.EC0.VPC0.DYTC 0x0012B001' > /proc/acpi/call

Set it to Battery Saving mode:

# echo '\_SB.PC00.LPCB.EC0.VPC0.DYTC 0x0013B001' > /proc/acpi/call

To verify your setting:

# echo '\_SB.PC00.LPCB.EC0.SPMO' > /proc/acpi/call
# cat /proc/acpi/call; printf '\n'

As a result you get the value for the bit SPMO (either 0x0, 0x1 or 0x2).

# echo '\_SB.PC00.LPCB.EC0.SPMO.FCMO' > /proc/acpi/call
# cat /proc/acpi/call; printf '\n'

As a result you get the value for the bit FCMO (either 0x0, 0x1 or 0x2). To interpret the results the following table can be used:

SPMO FCMO Mode
0x0 0x0 Intelligent Cooling
0x1 0x1 Extreme Performance
0x2 0x2 Battery Saving

Rapid charge

Make sure you have set up acpi_call.

Turn on:

# echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x07' > /proc/acpi/call

Turn off:

# echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x08' > /proc/acpi/call

To verify your setting:

# echo '\_SB.PC00.LPCB.EC0.QCHO' > /proc/acpi/call
# cat /proc/acpi/call; printf '\n'

where 0x0 stands for off and 0x1 stands for on.

See the note at the end of #Battery conservation

Battery conservation

Similarly to the #Rapid charge, make sure you have set up acpi_call.

Turn on:

# echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x03' > /proc/acpi/call

Turn off:

# echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x05' > /proc/acpi/call

To verify your setting:

# echo '\_SB.PC00.LPCB.EC0.BTSM' > /proc/acpi/call
# cat /proc/acpi/call; printf '\n'

where 0x0 stands for off and 0x1 stands for on.

There is also an alternative way to control the conservation mode of the battery.

Note The following is not confirmed on this laptop, but it is worth noting that the Lenovo Vantage software for Windows when turning on Battery Conservation mode also turns off #Rapid charge (if it was on). The same is also valid for the #Rapid charge: turning it on will bring the battery conservation mode down. The aforementioned acpi call #Battery conservation will not do this for you, but #Rapid charge will. So it is possible to get the state where both battery conservation and rapid charge modes are active if you activate #Battery conservation after #Rapid charge. You generally do not want this, as Rapid Charging puts more strain on the battery than regular charging, defeating the purpose of Battery Conservation Mode.

Keyboard

Function key

Key Visible 1 Marked 2 Effect
Fn+Esc No Yes Toggles Fn lock
Fn+F1 Yes Yes XF86AudioMute
Fn+F2 Yes Yes XF86AudioLowerVolume
Fn+F3 Yes Yes XF86AudioRaiseVolume
Fn+F4 Yes Yes XF86AudioMicMute
Fn+F5 Yes Yes XF86MonBrightnessDown
Fn+F6 Yes Yes XF86MonBrightnessUp
Fn+F7 Yes Yes Super_L+p
Fn+F8 Yes Yes XF86RFKill3
  1. The key is visible to xev and similar tools.
  2. The physical key has a symbol on it, which describes its function.
  3. Pressing Fn+F8 always hardware-toggles the Wifi and Bluetooth hardware.


// primary screen rotation

// secondary screen touch and pen support, brightness control

// hidpi scaling maybe

// camera shutter button to toggle boot menu

// usb keyboard for access to bios UI

// copy bluetooth infos for keyboard and mouse from windows

// sleep and resume - s2idle

// screen rotation

// webcam and mic

// sound chip is ALC287 or TIAS?

// presence detection etc

// use refit for touch screen support

// graphical bios

    0.000000] efi: EFI v2.8 by INSYDE Corp.

[    0.004492] ACPI: UEFI 0x000000004498E000 000236 (v01 INSYDE EDK2INTL 00000001 ACPI 00040000)

// unnecessary kernel modules that can be block listed

// and... ?

See also