HP Omen 16-c0140AX - ArchWiki

Jump to content
Toggle the table of contents

# HP Omen 16-c0140AX

From ArchWiki

Hardware | PCI/USB ID | Working?
--- | --- | ---
GPU (Integrated) | `1002:1638` | Yes
GPU (Dedicated) | `1002:73ff` | Yes
Ethernet | `10ec:8168` | Yes
Wireless | `10ec:8852` | Yes
Bluetooth | `0bda:2852` | Yes
Audio | `1022:15e2` | Yes
Touchpad | `04f3:31c2` | Yes
Webcam | `0408:5425` | Yes
Card Reader | `17a0:9750` | Yes
TPM | `1022:15df` | Yes

This page is about the HP Omen 16-c0140AX which is the AMD Advantage variant of the Omen series. Its equipped with a Ryzen 5800H (54W) and Radeon 6600M (100+10W). It features a 144Hz IPS Full HD Anti-Glare Display, 16 GB of 3200MHz Samsung RAM and a WD PC SN730 1TB SSD.

It includes a 81Whr Battery that provides 9 hours of backup on idle if tuned properly. You can have about 7-8 hours of document editing and 5-7 hours of video watching based on how heavy the codec is. It is not advisable to play games while using battery power as it can significantly reduce the battery's lifespan.

## Installation

Before installation, disable Secure Boot in your UEFI (press the `F10` key on boot). Alternatively you can manually setup Secure Boot for added security.

Make sure you use the latest kernels (avoid linux-lts) as there are many features that severely benefit the laptop in the latest kernels.

## Firmware

Note: The UEFI settings in this laptop are extremely minimal.

fwupd does not support this device.

### Secure Boot

You can enable Secure Boot Setup Mode from the UEFI Menu, but you will not be able to make modifications such as adding or removing keys. Additionally, the UEFI will accept files that are signed with multiple keys, as long as at least one of the keys is valid.

### Hidden menus

- `Ctrl+F10` - access advanced BIOS Setup which only has a toggle for Precision Boost Overdrive,
- `Meta+B` - pressed while powering on to enter BIOS Recovery mode.

## Power management

### CPU

This laptop supports the AMD Pstate EPP CPU scheduler. It can be enabled using the `amd-pstate=active` kernel parameter since linux ≥ 6.3 . This provides a slight improvement in CPU performance and a significant improvement in battery life when using the `powersave` governor on battery.

### GPU

There was a issue where the dedicated GPU used to be constantly woken up every minute and thus increasing power usage. This also inadvertently caused a failure to enter S3 Suspend occasionally. This was fixed in the DRM Driver patches that were merged with kernel 6.3.

### Suspension and hibernation

Hibernation works just fine with no issues. Suspension too works fine most of the time and lands in the S3 state. There are times when suspension fails which has been explained in the GPU section above. This issue has been fixed in kernel version ≥ 6.3.

### Max Performance

Warning: Making arbitrary alterations to the EC Registers can result in unforeseen consequences, potentially damaging to the laptop. Make sure you know what you are doing and exercise caution.

The laptop has been seen to have some peculiar performance related issues. All issues were fixed by setting the EC register `0x95` to a value of `0x31`. This value is noted to be set when enabling Performance mode in the Omen Command Center in Windows and is hence safe to modify.

To set the register from shell:

    # modprobe -r ec_sys
    # modprobe ec_sys write_support=1
    # echo -n -e "\0x31" | dd of=/sys/kernel/debug/ec/ec0/io bs=1 seek=149 count=1 conv=notrunc

Enabling this does not lead to any unnecessary increase in power consumption, so you can set it to run automatically at startup.

## Temperature monitoring

By default the kernel loads the `k10temp` module to check CPU thermals, but the `zenpower` module provides more info and can be installed with zenpower3-dkmsAUR:

    $ sensors zenpower-pci-00c3

     zenpower-pci-00c3
     Adapter: PCI adapter
     SVI2_Core:     1.46 V
     SVI2_SoC:    913.00 mV
     Tdie:         +46.8°C  (high = +95.0°C)
     Tctl:         +46.8°C
     SVI2_P_Core:  10.56 W
     SVI2_P_SoC:    3.52 W
     SVI2_C_Core:   7.91 A
     SVI2_C_SoC:    3.83 A

## Cooling fan

Fan speed can be monitored from the `hp-wmi` module via `sensors`:

    $ sensors hp-isa-0000

     hp-isa-0000
     Adapter: ISA adapter
     fan1:        2760 RPM
     fan2:        2921 RPM

Minimal fan boost control is provided by the `hp-wmi` module in the sysfs. To activate the Boost feature, simply set `pwm1_enable` to 0. Conversely, to disable it, set the same parameter to 2. This can be located at `/sys/devices/platform/hp-wmi/hwmon/hwmon*`.

To do the same from shell:

    # echo 0 > /sys/devices/platform/hp-wmi/hwmon/hwmon*/pwm1_enable

### Fan control Script

The automatic fan speed control is rather bothersome due to the fact that it runs constantly and creates noise even when temperatures are low. Additionally, it does not increase fan speed quickly when temperatures rise. Fortunately, the fan speed can be manually adjusted by writing values to the Embedded Controller (EC).

To simply this process you may use this python script to change, monitor and automatically adjust fan speed based on temperature via the CLI.

## Keyboard

### RGB

This article or section needs language, wiki syntax or style improvements. See Help:Style for reference.

Reason: This should be an AUR package, see DKMS package guidelines. (Discuss in Talk:HP Omen 16-c0140AX)

The keyboard RGB can be changed using a modified `hp-wmi` module. Clone the latest branch of this git repository and then install the kernel module using DKMS. You may do so with these shell commands:

    $ git clone -b rebase-6.2 https://github.com/ranisalt/hp-omen-linux-module
    # dkms install --force hp-omen-linux-module

After installing the module (and rebooting) you can modify and read the RGB values in the path `/sys/devices/platform/hp-wmi/rgb_zones`

    # cd /sys/devices/platform/hp-wmi/rgb_zones
    # echo FF0000 > zone02

    # cat zone02

    red: 255, green: 0, blue: 0

### Function keys

Key | Visible?1 | Marked?2 | Effect
--- | --- | --- | ---
`Fn+F1` | Yes | Yes | `Meta+P`
`Fn+F2` | Yes | Yes | `XF86MonBrightnessDown`
`Fn+F3` | Yes | Yes | `XF86MonBrightnessUp`
`Fn+F4` | No | Yes | Enables/disables keyboard backlight
`Fn+F5` | Yes | Yes | `XF86AudioMute`
`Fn+F6` | Yes | Yes | `XF86AudioLowerVolume`
`Fn+F7` | Yes | Yes | `XF86AudioRaiseVolume`
`Fn+F8` | Yes | Yes | `XF86AudioPrev`
`Fn+F9` | Yes | Yes | `XF86AudioPlay`
`Fn+F10` | Yes | Yes | `XF86AudioNext`
`Fn+F11` | Yes | Yes | Toggle `XF86TouchpadOn`, `XF86TouchpadOff`
`Fn+F12` | No | Yes | Enables/disables Meta Key
`Omen Key` | Yes | Yes | `XF86Launch2`

1. The key is visible to `xev` and similar tools
2. The physical key has a symbol on it, which describes its function

Category:

- HP

Hidden category:

- Pages or sections flagged with Template:Style