Skip to content

Commit

Permalink
fix(deck): Work around Steam marking some non-deck devices as pre-rel…
Browse files Browse the repository at this point in the history
…ease hardware
  • Loading branch information
KyleGospo committed Jan 20, 2025
1 parent 2e16fc5 commit 0b9615c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Patch9: fstrim.patch
Patch10: cursor-path.patch
Patch11: ntfs.patch
Patch12: more-time.patch
Patch13: supported-hardware.patch

Requires: python3
Requires: python3-evdev
Expand Down
15 changes: 15 additions & 0 deletions spec_files/jupiter-hw-support/supported-hw.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- a/usr/bin/jupiter-check-support
+++ b/usr/bin/jupiter-check-support
@@ -2,6 +2,12 @@

set -e

+SYS_ID="$(/usr/libexec/hwsupport/sysid)"
+if [[ ! ":Galileo:Jupiter:" =~ ":$SYS_ID:" ]]; then
+ echo "Supported: yes"
+ exit 0
+fi
+
product_serial="$(cat /sys/devices/virtual/dmi/id/product_serial)"

# Cutoff time for supported prototypes

0 comments on commit 0b9615c

Please sign in to comment.