User:KyleBarbour

From ArchWiki
Jump to navigation Jump to search

I'm Kyle. I currently run Arch on a Purism Librem 15 laptop.

Expect sporadic edits, with a chance of meatballs.

Below is a sandbox of notes as I work towards writing up how to get Arch running on Purism hardware. This is a work in progress; follow at your own peril.


Once created, include Category:Purism and create that page. The article should go to Purism Librem 15v3. Additionally, update Laptop/Other#Purism.


The Purism Librem 15v3 (specifications) is designed to run Linux and Arch should run without issue. This page covers hardware-specific configuration.

Before installation

Updating coreboot

Follow the official instructions to update coreboot. Unfortunately, as of August 30, 2020, the official coreboot_util.sh script expects an apt-based Linux, like PureOS.

The easiest way to accomplish this either to boot into PureOS before installing Arch and run the script, or boot a live USB for a Debian-based distribution.

Installation

Follow the core instructions at the installation guide.

Note that Purism hardware uses coreboot and SeaBIOS, and so will not use UEFI or need an EFI system partition. However, if you prefer your disks in GPT format, you will need a BIOS boot partition.

Disks and disk encryption

The Librem 15v3 comes with two disk connectors, a M.2 NVMe slot and 2.5" SATA III slot. Assuming these have drives attached, they should be found at /dev/nvme0n1 and dev/sda. These can be left in MBR format or converted to GPT with gdisk before partitioning with the tool of your choice (e.g. cfdisk, fdisk, parted, and so on). If changed to GPT, create a 1M partition set to type BIOS boot for the bootloader. If you set a UUID for the BIOS boot partition, it should be the standard 21686148-6449-6E6F-744E-656564454649, but explicitly setting this appears to be unnecessary.

For encryption, follow the guidelines in dm-crypt and device encryption. For partitions you want loaded at boot, they should be encrypted, formated, and mounted to their appropriate locations in /mnt prior to generating fstab. Afterwards, add such partitions other than / and /boot to crypttab as specified in those articles.

mkinitcpio

As of August 30, 2020, mkinitcpio -P complains:

==> WARNING: Possibly missing firmware for module: xhci_pci

Fortunately, this does not seem to cause any problems and needs no intervention.

Configuration

Audio

Bluetooth

Brightness

HDMI

Keyboard

Kill switches

Power management

SD/MMC reader

Suspend

Trackpad

Per Purism's specifications, the trackpad is capable of "two-finger bidirectional scroll, single/two/three-finger tap, pinch-zoom/rotate, four-fingers swipe" in supported applications.

USB

Webcam

Wireless

Works out of the box.

Optimization

makepkg

The CPU is multicore, and so parallel compilation can improve compile times:

/etc/makepkg.conf
MAKEFLAGS="-j$(nproc)"

Known issues

Not tested

  • Hibernate
  • Librem Key

If you have implemented these, please add configuration instructions above.

See also