Function keys not working on E15 Gen 2 & linux

I keep on trying different distributions on my E15 Gen 2 laptop.

Fedora, KDE Neon, now Kubuntu 20.04 (want to upgrade to 20.10) when it will be ready.

First thing is always to install a recent kernel that will not prevent the system coming back from sleep mode. It can be done by following instructions for Ubuntu wiki or using the mainline application (continuation of the free version of ukuu).

The Function keys are working after computer wnet to sleep mode. Here is a way to get the computer to go in sleep mode and wake up automatically at boot.

The rtcwake command enters a system sleep state until specified wakeup time. it is part of util-linux package on ubuntu based distributions, so install it if it is not done already:

sudo apt install util-linux

Then modify the root crontab:

sudo crontab -e

Add this line to the file:

@reboot sudo rtcwake -m mem -s 2

Save the file.

This will put the computer in sleep mode for 2 seconds after boot.

Reboot your computer and login into your user session the Function keys should be working.

Thanks to ONDRA5 who pointed me to the right direction


Thinkpad E15 G2 and linux

I recently bought a thinkpad E15 G2, with AMD Ryzen 7 4700U processor, 16GB RAM and 512 SSD.

I use it as my main computer and installed Fedora 32 on it right after unboxing (windows only booted once on this machine)

The system is running fine, all my applications are working well:

  • Docker installation:
  • Nextcloud client synchronized with my nextcloud docker container
  • Boinc manager to check the progress of my boinc docker containers
  • watching my jellyfin or plex videos in firefox (for those having a s4032 error, look at /plex-error-s4032/

I have a problem like all other E15 G2 owners running linux: the function keys are working only after suspending the computer. See this discussion on Lenovo forum. It looks like a BIOS problem but  upgrading the computer BIOS to the latest version (1.08) does not solve the issue. It is a minor issue to me.

As the E15 G2 has an IR camera, I am trying to have Howdy working to experiment facial recognition on Linux, but not successful until now.