Skip to content

Commit

Permalink
devices: Add HP Omnibook X 14
Browse files Browse the repository at this point in the history
Co-authored-by: Jens Glathe <[email protected]>
  • Loading branch information
TravMurav and jglathe committed Sep 20, 2024
1 parent 0aba582 commit bbee15f
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ attemtps to simplify running Linux-based or other OS that use DT by providing:

- <!-- sc7180 --> Acer Aspire 1
- <!-- x1e80100 --> ASUS Vivobook S 15
- *<!-- x1e80100 --> HP Omnibook X 14*
- <!-- sc8180x --> Lenovo Flex 5G
- <!-- msm8998 --> Lenovo Miix 630
- <!-- x1e78100 --> Lenovo ThinkPad T14s Gen 6
Expand Down
33 changes: 33 additions & 0 deletions scripts/hwids/x1e80100-hp-omnibook-x14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Computer Information
--------------------
BiosVendor: Insyde
BiosVersion: F.09
Manufacturer: HP
Family: 103C_5335M8 HP OmniBook X
ProductName: HP OmniBook X Laptop 14-fe0xxx
ProductSku: A3NY2EA#ABD
EnclosureKind: 10
BaseboardManufacturer: HP
BaseboardProduct: 8CBE
Hardware IDs
------------
not available as 'BiosMajorRelease' unknown
not available as 'BiosMajorRelease' unknown
not available as 'BiosMajorRelease' unknown
{045dfd0f-068b-5e57-86bd-f41b4b906006} <- Manufacturer + Family + ProductName + ProductSku + BaseboardManufacturer + BaseboardProduct
{ca5dab4f-a301-53c6-b753-c2db56172e0a} <- Manufacturer + Family + ProductName + ProductSku
{811126e6-4aee-5f9e-827d-d0f12f6a6f00} <- Manufacturer + Family + ProductName
{6a4511bc-0a3b-5b10-9c8b-dbcb834ecd83} <- Manufacturer + ProductSku + BaseboardManufacturer + BaseboardProduct
{abb2ffec-2acd-5750-8dfd-c3845fd4bf2a} <- Manufacturer + ProductSku
{1a192aee-2cfd-5ab5-95f9-8093218a48ef} <- Manufacturer + ProductName + BaseboardManufacturer + BaseboardProduct
{eaab52c6-ed22-5e1b-b788-fc5a0531291d} <- Manufacturer + ProductName
{848aeb1d-302b-5b6b-9109-0f4632535915} <- Manufacturer + Family + BaseboardManufacturer + BaseboardProduct
{5d43face-6ba8-5d41-8914-12f3410bbcf9} <- Manufacturer + Family
{4c84c882-b54c-58d5-b412-26bcdf254c3e} <- Manufacturer + EnclosureKind
{2ae478e9-ef65-5485-bb06-a233136e53c7} <- Manufacturer + BaseboardManufacturer + BaseboardProduct
{93f84748-c854-5d6b-b78a-13c2361e0758} <- Manufacturer
Extra Hardware IDs
------------------
{54500b82-f7ae-592d-ae68-8c8e362a1475} <- Manufacturer + Family + ProductName + ProductSku + BiosVendor
{68d24be5-01b6-5d88-83fb-df2bcfa879aa} <- Manufacturer + Family + ProductName + BiosVendor
{ad0b7f58-06f2-50b9-856b-343f54261425} <- Manufacturer + BiosVendor
30 changes: 30 additions & 0 deletions src/devices/hp_omnibook_x14.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// SPDX-License-Identifier: BSD-3-Clause

#include <efi.h>
#include <device.h>

static EFI_GUID hp_103c_5335m8_hp_omnibook_x_hwids[] = {
{ 0x045dfd0f, 0x068b, 0x5e57, { 0x86, 0xbd, 0xf4, 0x1b, 0x4b, 0x90, 0x60, 0x06 } },
{ 0xca5dab4f, 0xa301, 0x53c6, { 0xb7, 0x53, 0xc2, 0xdb, 0x56, 0x17, 0x2e, 0x0a } },
{ 0x811126e6, 0x4aee, 0x5f9e, { 0x82, 0x7d, 0xd0, 0xf1, 0x2f, 0x6a, 0x6f, 0x00 } },
{ 0x6a4511bc, 0x0a3b, 0x5b10, { 0x9c, 0x8b, 0xdb, 0xcb, 0x83, 0x4e, 0xcd, 0x83 } },
{ 0xabb2ffec, 0x2acd, 0x5750, { 0x8d, 0xfd, 0xc3, 0x84, 0x5f, 0xd4, 0xbf, 0x2a } },
{ 0x1a192aee, 0x2cfd, 0x5ab5, { 0x95, 0xf9, 0x80, 0x93, 0x21, 0x8a, 0x48, 0xef } },
{ 0xeaab52c6, 0xed22, 0x5e1b, { 0xb7, 0x88, 0xfc, 0x5a, 0x05, 0x31, 0x29, 0x1d } },
{ 0x848aeb1d, 0x302b, 0x5b6b, { 0x91, 0x09, 0x0f, 0x46, 0x32, 0x53, 0x59, 0x15 } },
{ 0x5d43face, 0x6ba8, 0x5d41, { 0x89, 0x14, 0x12, 0xf3, 0x41, 0x0b, 0xbc, 0xf9 } },
{ 0x4c84c882, 0xb54c, 0x58d5, { 0xb4, 0x12, 0x26, 0xbc, 0xdf, 0x25, 0x4c, 0x3e } },
{ 0x2ae478e9, 0xef65, 0x5485, { 0xbb, 0x06, 0xa2, 0x33, 0x13, 0x6e, 0x53, 0xc7 } },
{ 0x93f84748, 0xc854, 0x5d6b, { 0xb7, 0x8a, 0x13, 0xc2, 0x36, 0x1e, 0x07, 0x58 } },
{ 0x54500b82, 0xf7ae, 0x592d, { 0xae, 0x68, 0x8c, 0x8e, 0x36, 0x2a, 0x14, 0x75 } },
{ 0x68d24be5, 0x01b6, 0x5d88, { 0x83, 0xfb, 0xdf, 0x2b, 0xcf, 0xa8, 0x79, 0xaa } },
{ 0xad0b7f58, 0x06f2, 0x50b9, { 0x85, 0x6b, 0x34, 0x3f, 0x54, 0x26, 0x14, 0x25 } },
{ }
};

static struct device hp_103c_5335m8_hp_omnibook_x_dev = {
.name = L"HP 103C_5335M8 HP OmniBook X",
.dtb = L"qcom\\x1e80100-hp-omnibook-x14.dtb",
.hwids = hp_103c_5335m8_hp_omnibook_x_hwids,
};
DEVICE_DESC(hp_103c_5335m8_hp_omnibook_x_dev);

0 comments on commit bbee15f

Please sign in to comment.