Lenovo IdeaPad 5 15are05

From ArchWiki
Jump to navigation Jump to search

Tango-edit-clear.pngThis article or section does not follow the Laptop page guidelines.Tango-edit-clear.png

Reason: Needs IDs in hardware table and a function keys section (Discuss in Talk:Lenovo IdeaPad 5 15are05#)
Hardware PCI/USB ID Working?
Touchpad Yes
Keyboard Yes
Video Yes
Webcam Yes
SD-Card slot Yes
Audio Yes
Wireless Yes
Fingerprint reader No

Installation

Before installing, disable Secure Boot in the BIOS. You can access the BIOS by pressing F2 at the Splash screen. The boot menu can also be accessed by pressing F12.

Touchpad

The touchpad will not work out of the box most of the time. You need to unbind it from elants_i2c before binding it to i2c_hid.

Add i2c-ELAN0001:00 to the following locations:

/sys/bus/i2c/drivers/elants_i2c/unbind
i2c-ELAN0001:00
/sys/bus/i2c/drivers/i2c_hid/bind
i2c-ELAN0001:00

Then load the i2c_hid kernel module.

After that all that's left is to blacklist elants_i2c

Warning: Blacklisting elants_i2c module may cause touchscreen models to lose touschreen abilities. In such case, one should create a service calling a script containing unbinding and binding commands, as in comments #17 and #19 of link below

Power management

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 battmngr it's possible to control both Battery Conservation and System performance modes.

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.

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.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.SPMO' > /proc/acpi/call
 # cat /proc/acpi/call | cut -d '' -f1

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

 # echo '\_SB.PCI0.LPC0.EC0.FCMO' > /proc/acpi/call
 # cat /proc/acpi/call | cut -d '' -f1

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.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.

Also see the note

Battery Conservation

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

Turn on:

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

Turn off:

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

To verify your setting:

 # echo '\_SB.PCI0.LPC0.EC0.BTSM' > /proc/acpi/call
 # cat /proc/acpi/call | cut -d '' -f1

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

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's 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.