From 86736e05834e437779f11f045a3008162efdfd7e Mon Sep 17 00:00:00 2001 From: Nekoh Date: Mon, 27 May 2024 14:09:15 -0400 Subject: [PATCH] Add Regex for product_name (#102) * Update Handheld profiles to use powerbuttond/hhd * Add Regex for hw product_name --- profiles/pci/handhelds/profiles.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/profiles/pci/handhelds/profiles.toml b/profiles/pci/handhelds/profiles.toml index f3669e3..d822ffb 100644 --- a/profiles/pci/handhelds/profiles.toml +++ b/profiles/pci/handhelds/profiles.toml @@ -1,17 +1,21 @@ -#Steam Deck APUS +#Steam Deck's #CLASSIDS=0300 #VENDORIDS=1002 #DEVICEIDS=1435 (oled), 163f (lcd) +#Galileo (OLED) +#Jupiter (LCD) -#ASUS Rog Ally APU +#ASUS Rog Ally #CLASSIDS=0300 #VENDORIDS=1002 #DEVICEIDS=15bf +#ROG Ally RC71L #Lenovo Legion GO APU #CLASSIDS=0300 #VENDORIDS=1002 #DEVICEIDS=15bf +#83E1 [steam-deck] desc = 'Valve Steam Deck' @@ -19,6 +23,7 @@ nonfree = false class_ids = "0300" vendor_ids = "1002" device_ids = "1435 163f" +hwd_product_name_pattern = '(Galileo)|(Jupiter)' priority = 6 packages = 'powerbuttond jupiter-hw-support jupiter-fan-control steamdeck-dsp steam cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau opencl-rusticl-mesa lib32-opencl-rusticl-mesa rocm-opencl-runtime' #fbcon=vc:2-6 is not added here because it is added for all devices using calamares. @@ -53,6 +58,7 @@ nonfree = false class_ids = "0300" vendor_ids = "1002" device_ids = "15bf" +hwd_product_name_pattern = '(ROG Ally).*|(83E1)' priority = 6 packages = 'hhd hhd-ui jupiter-hw-support steam cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau opencl-rusticl-mesa lib32-opencl-rusticl-mesa rocm-opencl-runtime' post_install = """