Installed Mint 20.3; running kernel 5.13.0-27-generic. Wifi works out of the box.
To set up fingerprint reader I did this:
sudo apt list --installed | grep fprintd
shows that fprintd v1.90.9-1 IS installed
But libpam-fprintd is NOT installed
So install missing lib:
sudo apt install libpam-fprintd
Now have to enable fingerprint identification in pam
sudo pam-auth-update
(enable fingerprint authentication)
Some useful fprintd commands:
(List enrolled fingerprints for username)
fprintd-list (username)
(Enroll a fingerprint)
fprintd-enroll
(keep touching fingerprint reader until utility returns to command prompt)
(Delete all enrolled fingerprints for the current user)
fprintd-delete
To enable Hibernate:
Linux Mint on Framework setup guide says disable secure boot before trying to set up Hibernate. F2 on boot gets you into BIOS.
Requires a swap file space at least as large as installed RAM.
There is an automated installation script using SALT (a remote administration and configuration tool) but while SALT may be part of the Ubuntu 20.04 repository, it is apparently not available in Linux Mint repositories.
The manual steps are straightforward though. See for instance
A fresh install of Linux Mint 20.3 has a 2GB swap file already created in the root directory (i.e. “/swapfile”)
This command sequence replaces that with a 16GB swapfile:
sudo swapoff /swapfile
sudo rm /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1M count=16K
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Next, get the UUID of the disk for root filesystem (/) with
blkid
and file physical_offset of /swapfile with
sudo filefrag -v /swapfile
The number you are looking for is fourth column from the left in the row for ext: 0 under physical_offset.
Edit /etc/default/grub:
(uncomment your choice of cmdline; only choice #1 will hibernate)
# 1. Deep sleep + resume from hibernate to /swapfile: Drains more normally.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep resume=UUID=<<your UUID>> resume_offset=<<your physical_offset>>"
# 2. Deep sleep: Wakes up fast but drains fast.
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep"
# 3. Light sleep: Wakes up fast but drains very fast.
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Save the edits then update GRUB and reboot
sudo update-grub
sudo reboot
Add your UUID and physical_offset to /etc/initramfs-tools/conf.d/resume (create new file if none exisits) e.g.:
resume=UUID=(your UUID) resume_offset=(your physical_offset)
Update initramfs and reboot again:
sudo update-initramfs -c -k all
sudo reboot
Manually invoke hibernate to test:
sudo systemctl hibernate
This will confirm that hibernate works.
Now to enable Hibernate button in the shutdown dialog:
(From How to enable Hibernate Mode on Linux Mint | FOSS Linux)
Create file com.ubuntu.enable-hibernate.pkla then add the lines that follow to it. Filename is arbitrary.
sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
NOTE: Any trailing spaces at the end of a line will silently prevent this file from working! Similarly, no blank lines at top of file.
Carefully add these lines to the file:
[Enable hibernate in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
[Enable hibernate in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes
As soon as you have saved this file you should see the hibernate button appear in the shutdown dialog. You don’t have to reboot.
If that does not work, review your pkla file carefully. The parser is very picky, particularly about trailing whitespace at end of lines. It won’t complain; it will just ignore the line. (grrrr)
All in all, Linux Mint 20.3 is working great on this laptop!