Skip to content

Commit e0e4c7e

Browse files
committed
fix(deck): Add workaround for 64GB eMMC firmware issue
1 parent ed8e5e6 commit e0e4c7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
5252
if [[ ! $KARGS =~ "initcall_blacklist" ]]; then
5353
NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init"
5454
fi
55+
56+
if [[ ! $KARGS =~ "default_ps_max_latency_us" ]] && grep -q '64GB' <<< $(lsblk -o MODEL); then
57+
echo "64GB eMMC detected, adding workaround for firmware issue"
58+
NEEDED_KARGS="$NEEDED_KARGS --append=nvme_core.default_ps_max_latency_us=5500"
59+
fi
5560
fi
5661

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

0 commit comments

Comments
 (0)