diff --git a/README.md b/README.md index 17f80ce..d3b3fa3 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ attemtps to simplify running Linux-based or other OS that use DT by providing: - Acer Aspire 1 - ASUS Vivobook S 15 - Lenovo Flex 5G +- Lenovo Miix 630 - * Lenovo ThinkPad T14s Gen 6* - Lenovo ThinkPad X13s Gen 1 - Lenovo Yoga 5G diff --git a/scripts/hwids/msm8998-lenovo-miix-630-81f1.txt b/scripts/hwids/msm8998-lenovo-miix-630-81f1.txt new file mode 100644 index 0000000..56758da --- /dev/null +++ b/scripts/hwids/msm8998-lenovo-miix-630-81f1.txt @@ -0,0 +1,33 @@ +Computer Information +-------------------- +BiosVendor: LENOVO +BiosVersion: 8WCN25WW +Manufacturer: LENOVO +Family: Miix 630 +ProductName: 81F1 +ProductSku: LENOVO_MT_81F1_BU_idea_FM_Miix 630 +EnclosureKind: 32 +BaseboardManufacturer: LENOVO +BaseboardProduct: LNVNB161216 +Hardware IDs +------------ +not available as 'BiosMajorRelease' unknown +not available as 'BiosMajorRelease' unknown +not available as 'BiosMajorRelease' unknown +{16a55446-eba9-5f97-80e3-5e39d8209bc3} <- Manufacturer + Family + ProductName + ProductSku + BaseboardManufacturer + BaseboardProduct +{c4c9a6be-5383-5de7-af35-c2de505edec8} <- Manufacturer + Family + ProductName + ProductSku +{14f581d2-d059-5cb2-9f8b-56d8be7932c9} <- Manufacturer + Family + ProductName +{a51054fb-5eef-594a-a5a0-cd87632d0aea} <- Manufacturer + ProductSku + BaseboardManufacturer + BaseboardProduct +{307ab358-ed84-57fe-bf05-e9195a28198d} <- Manufacturer + ProductSku +{7e613574-5445-5797-9567-2d0ed86e6ffa} <- Manufacturer + ProductName + BaseboardManufacturer + BaseboardProduct +{b0f4463c-f851-5ec3-b031-2ccb873a609a} <- Manufacturer + ProductName +{08b75d1f-6643-52a1-9bdd-071052860b33} <- Manufacturer + Family + BaseboardManufacturer + BaseboardProduct +{dacf4a59-8e87-55c5-8b93-6912ded6bf7f} <- Manufacturer + Family +{d0a8deb1-4cb5-50cd-bdda-595cfc13230c} <- Manufacturer + EnclosureKind +{71d86d4d-02f8-5566-a7a1-529cef184b7e} <- Manufacturer + BaseboardManufacturer + BaseboardProduct +{6de5d951-d755-576b-bd09-c5cf66b27234} <- Manufacturer +Extra Hardware IDs +------------------ +{34df58d6-b605-50aa-9313-9b34f5c4b6fc} <- Manufacturer + Family + ProductName + ProductSku + BiosVendor +{e0a96696-f0a6-5466-a6db-207fbe8bae3c} <- Manufacturer + Family + ProductName + BiosVendor +{99431f53-09a1-5869-be79-65e2fa3f341d} <- Manufacturer + BiosVendor diff --git a/src/devices/lenovo_miix630.c b/src/devices/lenovo_miix630.c new file mode 100644 index 0000000..b86f790 --- /dev/null +++ b/src/devices/lenovo_miix630.c @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: BSD-3-Clause + +#include +#include + +static EFI_GUID lenovo_miix_630_hwids[] = { + { 0xc4c9a6be, 0x5383, 0x5de7, { 0xaf, 0x35, 0xc2, 0xde, 0x50, 0x5e, 0xde, 0xc8 } }, + { 0x14f581d2, 0xd059, 0x5cb2, { 0x9f, 0x8b, 0x56, 0xd8, 0xbe, 0x79, 0x32, 0xc9 } }, + { 0xa51054fb, 0x5eef, 0x594a, { 0xa5, 0xa0, 0xcd, 0x87, 0x63, 0x2d, 0x0a, 0xea } }, + { 0x307ab358, 0xed84, 0x57fe, { 0xbf, 0x05, 0xe9, 0x19, 0x5a, 0x28, 0x19, 0x8d } }, + { 0x7e613574, 0x5445, 0x5797, { 0x95, 0x67, 0x2d, 0x0e, 0xd8, 0x6e, 0x6f, 0xfa } }, + { 0xb0f4463c, 0xf851, 0x5ec3, { 0xb0, 0x31, 0x2c, 0xcb, 0x87, 0x3a, 0x60, 0x9a } }, + { 0x08b75d1f, 0x6643, 0x52a1, { 0x9b, 0xdd, 0x07, 0x10, 0x52, 0x86, 0x0b, 0x33 } }, + { 0xdacf4a59, 0x8e87, 0x55c5, { 0x8b, 0x93, 0x69, 0x12, 0xde, 0xd6, 0xbf, 0x7f } }, + { 0xd0a8deb1, 0x4cb5, 0x50cd, { 0xbd, 0xda, 0x59, 0x5c, 0xfc, 0x13, 0x23, 0x0c } }, + { 0x71d86d4d, 0x02f8, 0x5566, { 0xa7, 0xa1, 0x52, 0x9c, 0xef, 0x18, 0x4b, 0x7e } }, + { 0x6de5d951, 0xd755, 0x576b, { 0xbd, 0x09, 0xc5, 0xcf, 0x66, 0xb2, 0x72, 0x34 } }, + { 0x34df58d6, 0xb605, 0x50aa, { 0x93, 0x13, 0x9b, 0x34, 0xf5, 0xc4, 0xb6, 0xfc } }, + { 0xe0a96696, 0xf0a6, 0x5466, { 0xa6, 0xdb, 0x20, 0x7f, 0xbe, 0x8b, 0xae, 0x3c } }, + { } +}; + +static struct device lenovo_miix_630_dev = { + .name = L"LENOVO Miix 630", + .dtb = L"qcom\\msm8998-lenovo-miix-630.dtb", + .hwids = lenovo_miix_630_hwids, +}; +DEVICE_DESC(lenovo_miix_630_dev);