Lenovo ideapad 5 14are05 linux

Lenovo IdeaPad 7 14are05

This device is marketed both as Lenovo IdeaPad Slim 7 as well as Lenovo Yoga Slim 7 depending on the region. Hence, the below instructions should in principle apply to both these models and minor variants.

Installation

Enter the UEFI Firmware setup by pressing (Fn+) F2 during boot and disable Secure Boot which should deactivate bootloader and kernel verification for Windows 10 against Lenovo and Microsoft keys. Proceed to ensure that the machine allows for booting from a USB key. Boot with the latest Arch Linux ISO image and follow the Installation guide.

Accessibility

The appearance of the UEFI Firmware interface is reminiscent of regular BIOS’es and solely keyboard-driven.

The device has a convenient feature which is enabled by default in the UEFI Firmware, where pressing of a key when the device is off will display the state of charge (SoC) of the battery.

Firmware

Firmware updates are supported via fwupd :

Firmware updates are supported on this machine.

Firmware updates should become / be made available for the following devices:

  • Integrated Camera
  • Samsung NVMe SSD
  • System Firmware
  • Touchpad
  • UEFI dbx

Secure Boot

Optionally verify the UEFI Firmware version via:

In order to enable Secure Boot with your own custom keys, follow the steps as outlined on the Secure Boot page, up to the point of installing your own Platform Key (PK).

An attempt to install a custom Platform Key will fail using the mentioned methods, including using efi-updatevar -f PK.auth as well as sbkeysync —verbose —PK with error messages such as ‘operation not permitted’.

These errors are due to the fact that the PK file in the firmware has the ‘immutable’ bit set. Source for this idea was a comment in this thread from the author of efitools . To verify the state of the ‘immutable’ bit, do:

$ lsattr /sys/firmware/efi/efivars/PK-(Lenovo key UID)

where the single ‘i’ indicates that the immutable bit is indeed set.

Proceed to unset the ‘immutable’ bit by entering:

# chattr -i /sys/firmware/efi/efivars/PK-(Lenovo key UID)

Next, install your custom Platform Key (PK) as per one of the methods mentioned in the Secure Boot page instructions ( sbkeysync , part of sbsigntools should work fine). It should install without error.

Check the correct installation of the new PK:

It should list all custom keys/certificates (PK, KEK, DB, optionally dbx) as enrolled in the machine’s UEFI Firmware.

Читайте также:  Syslog to file linux

Set the immutable bit for the new PK:

# chattr +i /sys/firmware/efi/efivars/PK-(UID of your new PK)

The instructions from the Secure Boot page apply again from this point.

Bluetooth

Bluetooth works out of the box by simply following the instructions on the Bluetooth page.

Power management

See Power management/Suspend and hibernate for the details on the various supported sleep states.

There are descriptions of ways of re-enabling the S3 power state on similar devices (see Lenovo IdeaPad 5 14are05#Suspend and here for example). However this has not been tested as of yet on this machine by the author.

Energy Saving

The tips on the Power management page can be followed in order to optimize the power savings for the machine, such as creating configuration files in /etc/modprobe.d/ for WiFi and audio power saving. This can be tested, verified and optimized in conjunction with powertop for example. When idling, the machine should consume as little as around 3W.

Warning: With reference to the inability by default to advertise an S3 state, please take heed with ‘Suspend’ tips on the Power management page.

Battery Conservation Mode

A simplified summary of lithium-ion battery chemistry limitations is that lithium-ion cells can get damaged when fully drained, but equally dislike being kept at or near 100% SoC (State of Charge), which stresses the cells causing them to degrade faster than normal/expected. In case lithium-ion batteries are to be stored or otherwise remain unused for a prolonged period of time, a SoC of around 50% to 60% is advisable (it is for example no accident that nearly all new devices such as tablets, cellphones etc. are pre-charged to around 50% SoC when one first unpacks them).

Equally, lithium-ion batteries should preferably be charged at 0,5C, meaning that the input current (Amps) should not exceed half of the cell’s rated capacity (e.g. 2100mAh rated AA cell should preferably be placed in a charger that charges at max 1050 mAmps). Charging at higher rates can be done safely (even much higher rates can be achieved under controlled conditions, such as with cooling to prevent a ‘thermal runaway’ reaction) but will put a strain on the cells causing for faster degradation.

Several Lenovo laptops including this machine have hardware in place that manages both of the above, called battery Conservation Mode. Under GNU/Linux, this mode can be set persistently from the command-line. When set, the machine will either discharge to 60% or charge up to 60%, depending on the current SoC being either higher or lower.

Thus, in this mode, one can use the device as a desktop machine and safely leave the charger connected for extended periods of time.

Note: This setting is persistent, by which is meant that when plugged into the mains, the charging circuitry will keep the device at precisely 60% regardless of whether it is on or off. Additionally, ‘rapid charging’ should be disabled in this mode automatically, further preventing premature battery degradation. Note that this last part could not be verified: according to Lenovo’s tech specs, rapid charging requires that the model is shipped with a 95W charging adapter. Tested model was shipped with a 65W charging adapter.

Читайте также:  Линукс операционная система fedora

In order to set this mode, first verify that the ‘ideapad_laptop’ kernel module has been loaded:

# lsmod | grep ideapad_laptop

If not, you can attempt to load it manually:

To turn on battery Conservation Mode for the machine, perform the following action:

# echo 1 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004\:00/conservation_mode

Check/verify the current value:

$ cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004\:00/conservation_mode

The laptop should now charge/discharge until it reaches 60%.

At 60% the reported battery state should, instead of «charging» or «discharging», be reported as «unknown»

  • You can turn off Conservation Mode again at any time by echoing a value of «0» instead of «1» in the echo-step above in order to revert to the original mode.
  • There are two Bash-scripts in the AUR with which battery Conservation Mode can be conveniently set: ideapad-cmAUR , ipmanAUR .

HDMI

Video

The HDMI output will work out of the box. Read the Multihead and xrandr pages in order to set up a second monitor and for example switch between the internal eDP screen and an external HDMI monitor.

Audio

Additionally, pulseaudio can be made to output sound to the speakers of the external display, if present. In order to do this, set the external monitor as default output using e.g. pulsemixer or pamixer or check the PulseAudio page for further reference. When the external monitor goes into standby or is disconnected, audio will automatically switch back to the machine’s speakers.

Function keys

Tips and Tricks

Screen brightness control

Brightness of the built-in (eDP) screen can be set by echoing any value between 0 and 255 to /sys/class/backlight/amdgpu_bl0/brighness, e.g.

# echo 70 > /sys/class/backlight/amdgpu_bl0/brightness

See also

Источник

Thread: Is Lenovo IdeaPad 5 good for easy Ubuntu installation?

erosman is offlineJust Give Me the Beans!

QuestionIs Lenovo IdeaPad 5 good for easy Ubuntu installation?

I was offered a Lenovo IdeaPad 5 i5(i7)-1135G7 8(16)GB 512GB SSD NVIDIA Geforce MX450.

Would I be able to install Ubuntu 21.10 on it hassle-free for a newbie?
There are some posts on the internet about installation issues with IdeaPad 5.

mIk3_08 is offlineMay the Ubuntu Be With You!

Re: Is Lenovo IdeaPad 5 good for easy Ubuntu installation?

QuoteOriginally Posted by erosman View Post

I was offered a Lenovo IdeaPad 5 i5(i7)-1135G7 8(16)GB 512GB SSD NVIDIA Geforce MX450.
Would I be able to install Ubuntu 21.10 on it hassle-free for a newbie?
There are some posts on the internet about installation issues with IdeaPad 5.

I think yes. because Lenovo is now offering full certification and Linux preinstalled hardware. Here are some of the link that Lenovo supports Linux.
Click here for more info.

corn ubuntuforums community.
Open Source platform where the real world of human is here . Click here for Solve thread

erosman is offlineJust Give Me the Beans!

Re: Is Lenovo IdeaPad 5 good for easy Ubuntu installation?

QuoteOriginally Posted by mIk3_08 View Post

Читайте также:  Linux mint image viewer

I think yes. because Lenovo is now offering full certification and Linux preinstalled hardware. Here are some of the link that Lenovo supports Linux.
Click here for more info.

PC giant Lenovo is bringing serious support to Linux. big support. The entire line of Lenovo workstations (minus the IdeaPad) will now be fully certified to work with Linux.

T6&sfpER35% is offline

Tea Glorious Tea!

Re: Is Lenovo IdeaPad 5 good for easy Ubuntu installation?

i think anything will run Linux without hassle
but i’d rather install 20.04.3 , stick with LTS

» Ubuntu 21.10 Impish Indri is the final interim release before the next Ubuntu Long Term Support (LTS) due to be released in April 2022. Developers can use Ubuntu 21.10 to future-proof their work for the next LTS, which will be supported at least until 2032.»
https://ubuntu.com/blog/ubuntu-21-10-has-landed

mIk3_08 is offlineMay the Ubuntu Be With You!

Re: Is Lenovo IdeaPad 5 good for easy Ubuntu installation?

QuoteOriginally Posted by erosman View Post

Even though it doesn’t mention your Lenovo model but in general it will support your Hardware System. That’s not a problem.
I do have an HP laptop. They say that it won’t work on Linux But here I am now using my HP laptop with Linux Ubuntu Operating System running on it. All the wifi, bluetooth, and etc are working properly. It only depends on the user how they install
the Linux Distro Operating System on it. Not to brag you but I can run any brand of System Hardware with any Linux Distro installed on it. It will work smoothly. Good Luck and Welcome to Linux World.

corn ubuntuforums community.
Open Source platform where the real world of human is here . Click here for Solve thread

T6&sfpER35% is offline

Tea Glorious Tea!

Re: Is Lenovo IdeaPad 5 good for easy Ubuntu installation?

it doesn’t mention your Lenovo model but in general it will support your Hardware System. That’s not a problem

+1
i have a 1917 pc that i’m sure isn’t listed anywhere on the interwebs to be compatible with Linux, yet here i am , on Linux
just do it ..lol

joor2 is offlineFirst Cup of Ubuntu

Re: Is Lenovo IdeaPad 5 good for easy Ubuntu installation?

No, Ubuntu probably does NOT work on an IdeaPad 5! I have an Ideapad 5i Pro (14″, Intel Core i7-1165G7, Intel iRISxe, NVIDIA GeForce MX450).

The screen turns black, and stays black for more than a second _every time_ you move the mouse! Yes. It’s very weird. I’ts only on the laptop’s monitor, an external monitor is fine.

I tried Ubuntu 20.04 LTS and 21.10 (both with Gnome and KDE Plasma). But the screen kept stuttering. It has to do with the iRISxe graphics, because everything is fine when I use «safe mode» (where it uses software rendering).

Everything works fine with windows, so the laptop isn’t broken or anything. It’s really annoying because I bought this laptop for Ubuntu..

IF ANYONE KNOWS HOW TO FIX THIS PLEASE REPLY!!

Источник

Оцените статью
Adblock
detector