Skip to content

Commit 4edac4a

Browse files
committed
fix(hardware-setup): Disable Deck services on generic devices
1 parent 7fc18d3 commit 4edac4a

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

system_files/deck/shared/usr/share/ublue-os/just/custom.just

-10
Original file line numberDiff line numberDiff line change
@@ -370,16 +370,6 @@ enable-deck-bios-firmware-updates:
370370
sudo systemctl enable jupiter-biosupdate.service
371371
sudo systemctl enable jupiter-controller-update.service
372372

373-
# Disable all Steam Deck hardware specific services
374-
disable-deck-services:
375-
#!/usr/bin/env bash
376-
sudo systemctl disable --now jupiter-fan-control.service
377-
sudo systemctl disable --now vpower.service
378-
sudo systemctl disable --now jupiter-biosupdate.service
379-
sudo systemctl disable --now jupiter-controller-update.service
380-
sudo systemctl disable --now ryzenadj.service
381-
sudo systemctl disable --now batterylimit.service
382-
383373
# Disable Steam Deck BIOS updates
384374
disable-bios-updates:
385375
#!/usr/bin/env bash

system_files/desktop/shared/usr/bin/bazzite-hardware-setup

+9
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
7171
if [[ ! $KARGS =~ "initcall_blacklist" ]]; then
7272
NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init"
7373
fi
74+
elif [[ $IMAGE_NAME =~ "deck" ]]; then
75+
echo "Generic device detected. Performing setup..."
76+
77+
sudo systemctl disable --now jupiter-fan-control.service
78+
sudo systemctl disable --now vpower.service
79+
sudo systemctl disable --now jupiter-biosupdate.service
80+
sudo systemctl disable --now jupiter-controller-update.service
81+
sudo systemctl disable --now ryzenadj.service
82+
sudo systemctl disable --now batterylimit.service
7483
fi
7584

7685
if [[ $IMAGE_NAME =~ "nvidia" ]]; then

0 commit comments

Comments
 (0)