HP EliteBook 840 G1

From ArchWiki
Jump to: navigation, search
Device Status Modules
Intel graphics Working xf86-video-intel
AMD graphics (PRIME) Working xf86-video-ati
HDMI Working xf86-video-intel
Ethernet Working
Wireless Working
Bluetooth Working
Audio Working snd_hda_intel
Touchpad Working xf86-input-synaptics
Camera Working uvcvideo
Fingerprint reader Not working
USB 3.0 Working xhci-hcd
Memory Card Reader Working
Smart Card Reader Working ccid, pcsclite
Function Keys Working (except mic.)


UEFI Setup

Note: Make sure you have the latest HP UEFI firmware installed.

Even if UEFI, Arch Linux and (e.g.) GRUB are correctly configured and with the correct UEFI NVRAM variables set, the system will not boot from the HDD/SSD. The problem is that HP hard coded the paths for the OS boot manager in their UEFI boot manager to \EFI\Microsoft\Boot\bootmgfw.efi to boot Microsoft Windows, regardless of how the UEFI NVRAM variables are changed. There are two workarounds:

Using the "Customized Boot" path option (recommended)

The latest HP firmware allows defining a “Customized Boot” path in the UEFI pre-boot graphical environment. Select the “Customized Boot” option in the UEFI pre-boot graphical environment under “Boot Options” and set the path to your OS boot loader on the ESP (see UEFI#EFI System Partition[broken link: invalid section]), e.g.:


Always verify the correct path to the .efi file. Also, adjust the device boot order (also in the UEFI pre-boot graphical environment) to boot this entry first.

Change the OS boot loader path to match the hard coded path

Warning: If you are trying to boot on a the mSATA port (m.2 SSD), this is the only working method.
Warning: This method is not recommended, as it will create conflicts in a dual boot setup with Microsoft Windows. Also, everytime you install GRUB, you have to remember to copy it to the hard coded path.

Change the UEFI application path of the OS boot loader to that hard coded path. On your ESP (see UEFI#EFI System Partition[broken link: invalid section]; e.g. with the $MOUNTPOINT /boot/efi), do (e.g. with GRUB entry grub_archlinux):

 # mkdir -p $MOUNTPOINT/EFI/Microsoft/Boot
 # cp $MOUNTPOINT/EFI/grub_archlinux/grubx64.efi $MOUNTPOINT/EFI/Microsoft/Boot/bootmgfw.efi


 # mkdir -p $MOUNTPOINT/EFI/Boot
 # cp $MOUNTPOINT/EFI/grub_archlinux/grubx64.efi $MOUNTPOINT/EFI/Boot/Bootx64.efi


This notebook supports HDD FDE (SED). The HDD/SSD can be locked by setting a password in the UEFI pre-boot graphical environment under the option "DriveLock" (this requires setting a password for the UEFI pre-boot graphical environment first). If you replace the HDD/SSD, make sure to get a compatible one to make use of this feature.

Otherwise, see Disk encryption for software-based encryption.


For HDMI Audio you need CONFIG_INTEL_IOMMU_DEFAULT_ON=n in your kernel config (see https://bugzilla.kernel.org/show_bug.cgi?id=61471). In some cases, you will need options snd-hda-intel enable=1,1,0 in /etc/modprobe.d/snd-hda-intel.conf. This will prevent freezes caused by hdmi audio cards conflicting.


Set CONFIG_HP_WIRELESS=y in your kernel config to enable the hardware button (Linux 3.14+).

Resume / wake on lid open

This feature needs to be enabled in the bios / uefi setup: Advanced > Built-in device options > Wake unit from sleep when lid is opened

See also