steamdeck-jupiter-driver/patches/0000-pika-patch.patch

28 lines
1.2 KiB
Diff
Raw Normal View History

2023-07-15 12:38:26 +02:00
diff '--color=auto' -ruN a/usr/lib/hwsupport/power-button-handler.py b/usr/lib/hwsupport/power-button-handler.py
--- a/usr/lib/hwsupport/power-button-handler.py 2023-07-15 13:11:23.216903122 +0300
+++ b/usr/lib/hwsupport/power-button-handler.py 2023-07-15 13:36:06.703579100 +0300
2023-07-15 10:47:44 +02:00
@@ -1,4 +1,4 @@
-#!/usr/bin/python
2023-07-15 12:38:26 +02:00
+#!/usr/bin/python3 -u
import evdev
import threading
diff '--color=auto' -ruN a/usr/share/jupiter-fan-control/fancontrol.py b/usr/share/jupiter-fan-control/fancontrol.py
--- a/usr/share/jupiter-fan-control/fancontrol.py 2023-07-15 13:11:23.166902794 +0300
+++ b/usr/share/jupiter-fan-control/fancontrol.py 2023-07-15 13:34:50.755464270 +0300
2023-07-15 11:09:56 +02:00
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/bin/env python3 -u
"""jupiter-fan-controller"""
import signal
import os
2023-07-15 12:38:26 +02:00
diff '--color=auto' -ruN a/usr/share/jupiter-fan-control/PID.py b/usr/share/jupiter-fan-control/PID.py
--- a/usr/share/jupiter-fan-control/PID.py 2023-07-15 13:11:23.166902794 +0300
+++ b/usr/share/jupiter-fan-control/PID.py 2023-07-15 13:34:50.758797205 +0300
2023-07-15 11:09:56 +02:00
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/bin/env python3
#
# This file is part of IvPID.
# Copyright (C) 2015 Ivmech Mechatronics Ltd. <bilgi@ivmech.com>