Skip to content

Commit

Permalink
Update Handheld profiles to use powerbuttond/hhd (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pogogo007 authored May 24, 2024
1 parent 4b5c9c5 commit 6912f31
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions profiles/pci/handhelds/profiles.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ class_ids = "0300"
vendor_ids = "1002"
device_ids = "1435 163f"
priority = 6
packages = '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'
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.
post_install = """
echo "Steam Deck chwd installing..."
username=$(id -nu 1000)
services=("steam-powerbuttond")
#services=("steam-powerbuttond")
kernelparams="amd_iommu=off amdgpu.gttsize=8128 spi_amd.speed_dev=1 audit=0 iomem=relaxed amdgpu.ppfeaturemask=0xffffffff"
echo "Enabling services..."
for service in ${services[@]}; do
systemctl enable --now "${service}.service"
done
#echo "Enabling services..."
#for service in ${services[@]}; do
# systemctl enable --now "${service}.service"
#done
echo "Adding required kernel parameters..."
sed -i "s/LINUX_OPTIONS=\"[^\"]*/& ${kernelparams}/" /etc/sdboot-manage.conf
"""
Expand Down Expand Up @@ -58,7 +58,7 @@ packages = 'hhd hhd-ui jupiter-hw-support steam cachyos-handheld mesa lib32-mesa
post_install = """
echo "Ally and Legion chwd installing..."
username=$(id -nu 1000)
services=("steam-powerbuttond" "hhd@${username}")
services=("hhd@${username}")
maskservices=("jupiter-biosupdate" "jupiter-controller-update")
echo "Enabling services..."
for service in ${services[@]}; do
Expand All @@ -72,7 +72,7 @@ post_install = """
post_remove = """
echo "Ally and Legion chwd removing..."
username=$(id -nu 1000)
services=("steam-powerbuttond" "hhd@${username}")
services=("hhd@${username}")
maskservices=("jupiter-biosupdate" "jupiter-controller-update")
echo "Disabling services..."
for service in ${services[@]}; do
Expand Down

0 comments on commit 6912f31

Please sign in to comment.