HP Omen-15-ek005na

From ArchWiki
Jump to navigation Jump to search

Tango-edit-clear.pngThis article or section does not follow the Laptop page guidelines.Tango-edit-clear.png

Reason: lspci/lsusb dumps do not belong into laptop pages (Discuss in Talk:HP Omen-15-ek005na#)

The Omen 15-ek005na is the intel variant of the Omen 2020 series, mounting an Intel i7-10750H and an Nvidia RTX 2070 maxq. It features an IPS 144hz full-hd panel, a raid controller, 16GB ram (2x8GB @ 3200MHz, capped by the BIOS at a lower frequency) and 1TB of nvme ssd by Koxia (KXG60ZNV1T02).

The 70Wh battery allows to use the laptop about 4 hours on battery. In particular, the CPU TDP is limited to W while on battery, compared to the 45W on AC. On windows there is the possibility of increasing the TDP to 90W/107W (long/short), yet this is managed directly by the embedded controller (EC) and requires patching to allow this on Linux.

Configuration

BIOS

The BIOS interface available is graphic but not many options are present. Secure boot can be disabled as well hyper-threading. The fan is set as always On by default, which can be disabled from here. No Advanced tab is present, so that the RAM frequency cannot be increased (XMP is not enabled by default) and the CPU TPD cannot be tuned. Here it is also possible to switch from intel hybrid to Nvidia only (dedicated) graphics card.

Audio

To work, the audio requires Kernel 5.10 or later since previous versions of the kernel do not present the required driver. The internal microphone works out of the box, but it is suggested to set up echo reduction since it is a dual-microphone array. To set this up, add the following lines to your pulseaudio configuration as described in PulseAudio#Microphone echo/noise cancellation:

 /etc/pulse/default.pa
.ifexists module-echo-cancel
.nofail
load-module module-echo-cancel aec_method=webrtc aec_args="analog_gain_control=0\ digital_gain_control=1\ mic_geom>
set-default-source echocancel
update-source-proplist echocancel device.description="Microphone with echo reduction"
.fail
.endif

EC/Fan/CPU

The Embedded Controller is usually managed by the omen command center, which is not available in Linux. Further debugging is needed and currently the only known addresses are 0x58, which corresponds to the ACPI temperature as found by sensors. By writing a temperature to this address (e.g. 90°C) it is possible to start the fan on demand (by letting the computer believe the ACPI is burning).

Also, the EC manages the CPU TDP, so that it is not possible to exceed 90W by any mean (writing to the intel-rapl driver is completely ineffective). On battery, it sets 25W maximum TDP, which is raised to 45W on AC. To reach ~90W it is necessary to write onto the EC a binary file (extracted from windows under the desired circumstances) as follows:

# cat EC6662.bin > /sys/kernel/debug/ec/ec0/io

The EC can be written and dumped by using iswAUR and setting ec_sys.write_support=1 as kernel parameter. An EC dump for 90W can be downloaded from [1].

Hardware Info

PCI

$ lspci
00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 6th-9th Gen Core Processor PCIe Controller (x16) (rev 02)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05)
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi
00:15.0 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #1
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode]
00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #17 (rev f0)
00:1b.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Device 06b5 (rev f0)
00:1d.7 PCI bridge: Intel Corporation Device 06b7 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Comet Lake LPC Controller
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2070 Mobile / Max-Q Refresh] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1)
02:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
04:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018] (rev 06)
3a:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018] (rev 06)
3b:00.0 Non-Volatile memory controller: Toshiba Corporation XG6 NVMe SSD Controller
3c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
3d:00.0 SD Host controller: Genesys Logic, Inc GL9750 SD Host Controller (rev 01)

USB

$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f2:b6bb Chicony Electronics Co., Ltd HP Wide Vision HD Camera
Bus 001 Device 003: ID 8087:0026 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub