Lenovo IdeaPad S540 13ARE
Hardware | PCI/USB ID | Working? |
---|---|---|
GPU | 1002:1636 |
Yes |
Wireless | 10ec:c822 |
Yes |
Bluetooth | 0bda:c123 |
Yes |
Webcam | 04f2:b67c |
Yes |
Touchpad | Yes | |
Audio | 1022:15e3 |
Yes |
The Lenovo Ideapad S540-13ARE is a laptop introduced in Mid-2020. It features a 13" QHD screen, AMD Ryzen 4000 processors (Renoir), and integrated AMD Vega graphics. It uses the name Xiaoxin Pro 13 2020 in some markets.
CPU
It is strongly recommended to enable proprietary microcode updates, see Ryzen and Microcode for details.
Some Vega-graphics powered devices, including this one, are suffering from a series of critical random crashes of the AMDGPU kernel driver, which may lead to a sudden freeze of the whole system.
You can refer to FS#66991 from Arch bug tracker, this bug report on the freedesktop gitlab and this bug report for the kernel side for further information.
It works *almost* fine for kernel 5.7.12 and newer, expect some infrequent regression though.
System Performance Mode
There are 3 modes available: Intelligent Cooling, Extreme Performance and Battery Saving. To toggle it, you need to call some ACPI methods.
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.PCI0.LPC0.EC0.VPC0.DYTC 0x000FB001' > /proc/acpi/call
Set it to Extreme Performance mode:
# echo '\_SB.PCI0.LPC0.EC0.VPC0.DYTC 0x0012B001' > /proc/acpi/call
Set it to Battery Saving mode:
# echo '\_SB.PCI0.LPC0.EC0.VPC0.DYTC 0x0013B001' > /proc/acpi/call
To verify your setting:
# echo '\_SB.PCI0.LPC0.EC0.FCMO' > /proc/acpi/call # cat /proc/acpi/call | cut -d '' -f1
where 0x0
stands for Intelligent Cooling, 0x1
stands for Extreme Performance and 0x2
stands for Battery Saving.
Rapid Charge
Make sure you have set up acpi_call.
Turn on:
#echo '\_SB.PCI0.LPC0.EC0.VPC0.SBMC 0x07' > /proc/acpi/call
Turn off:
# echo '\_SB.PCI0.LPC0.EC0.VPC0.SBMC 0x08' > /proc/acpi/call
To verify your setting:
# echo '\_SB.PCI0.LPC0.EC0.QCHO' > /proc/acpi/call # cat /proc/acpi/call | cut -d '' -f1
where 0x0
stands for off and 0x1
stands for on.
USB-C port failure
Sometimes after hibernate or reboot, you might find that the USB-C port cannot function normally. Charging, video output, data transmission all failed.
This is a common issue for Lenovo Xiaoxin laptop, see [1] (written in Chinese).
To fix this problem:
- remove all the devices plugged to a USB ports or the 3.5mm headphone jack.
- Then power off your laptop, make sure that the machine is not being charged .
- Press
Fn+s+v
, hold it for a while to enable battery shipping mode. - Now the computer should not be able to boot without AC power.
- Finally, connect the laptop to AC power and start it.
The USB-C port should now function normally, or you should ask for technical support from Lenovo.