Comments (7)
Found the source of the regression, hid 1.0.6 introduces this bug, see apmorton/pyhidapi#60. Reported to the mantainers. I've also found a similar bug report on SteamOS bug report from someone running it on Arch. I'll also report there.
from bazzite.
pip install hid==1.0.5 fixes it, might be worth to do this temporarily while upstream fixes this.
from bazzite.
pip install hid==1.0.5 fixes it, might be worth to do this temporarily while upstream fixes this.
Can you downgrade it in bazzite for now until it's fixed? It's a big issue and not everyone would see this workaround here.
from bazzite.
pip install hid==1.0.5 fixes it, might be worth to do this temporarily while upstream fixes this.
Can you downgrade it in bazzite for now until it's fixed? It's a big issue and not everyone would see this workaround here.
Yup. You need to do this on a system level.
I tried your workaround and issue persists:
deck@fedora:~$ sudo systemctl status jupiter-controller-update.service
Warning: The unit file, source configuration file or drop-ins of jupiter-controller-update.service changed on disk. Run 'systemctl >
× jupiter-controller-update.service - Jupiter Controller Firmware Update Service
Loaded: loaded (/usr/lib/systemd/system/jupiter-controller-update.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Sun 2024-05-12 23:04:06 CEST; 8min ago
Main PID: 4430 (code=exited, status=1/FAILURE)
CPU: 345ms
maj 12 23:04:06 fedora jupiter-controller-update[4445]: File "/usr/lib64/python3.12/json/encoder.py", line 258, in iterencode
maj 12 23:04:06 fedora jupiter-controller-update[4445]: return _iterencode(o, 0)
maj 12 23:04:06 fedora jupiter-controller-update[4445]: ^^^^^^^^^^^^^^^^^
maj 12 23:04:06 fedora jupiter-controller-update[4445]: File "/usr/lib64/python3.12/json/encoder.py", line 180, in default
maj 12 23:04:06 fedora jupiter-controller-update[4445]: raise TypeError(f'Object of type {o.class.name} '
maj 12 23:04:06 fedora jupiter-controller-update[4445]: TypeError: Object of type BusType is not JSON serializable
maj 12 23:04:06 fedora jupiter-controller-update[4430]: !! Failed to enumerate devices
maj 12 23:04:06 fedora systemd[1]: jupiter-controller-update.service: Main process exited, code=exited, status=1/FAILURE
maj 12 23:04:06 fedora systemd[1]: jupiter-controller-update.service: Failed with result 'exit-code'.
maj 12 23:04:06 fedora systemd[1]: Failed to start jupiter-controller-update.service - Jupiter Controller Firmware Update Service.
But I tried doing the same as root and got info that root still uses 1.0.6 but I can't touch it.
See:
deck@fedora:$ sudo pip install hid==1.0.5$ sudo su
Collecting hid==1.0.5
Using cached hid-1.0.5-py3-none-any.whl
Installing collected packages: hid
Attempting uninstall: hid
Found existing installation: hid 1.0.6
ERROR: Cannot uninstall hid 1.0.6, RECORD file not found. Hint: The package was installed by rpm.
deck@fedora:
bash-5.2# pip install hid==1.0.5
Collecting hid==1.0.5
Using cached hid-1.0.5-py3-none-any.whl
Installing collected packages: hid
Attempting uninstall: hid
Found existing installation: hid 1.0.6
ERROR: Cannot uninstall hid 1.0.6, RECORD file not found. Hint: The package was installed by rpm.
bash-5.2#
from bazzite.
pip install hid==1.0.5 fixes it, might be worth to do this temporarily while upstream fixes this.
Can you downgrade it in bazzite for now until it's fixed? It's a big issue and not everyone would see this workaround here.
Yup. You need to do this on a system level.
I tried your workaround and issue persists:
deck@fedora:~$ sudo systemctl status jupiter-controller-update.service
Warning: The unit file, source configuration file or drop-ins of jupiter-controller-update.service changed on disk. Run 'systemctl >
× jupiter-controller-update.service - Jupiter Controller Firmware Update Service
Loaded: loaded (/usr/lib/systemd/system/jupiter-controller-update.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Sun 2024-05-12 23:04:06 CEST; 8min ago
Main PID: 4430 (code=exited, status=1/FAILURE)
CPU: 345msmaj 12 23:04:06 fedora jupiter-controller-update[4445]: File "/usr/lib64/python3.12/json/encoder.py", line 258, in iterencode
maj 12 23:04:06 fedora jupiter-controller-update[4445]: return _iterencode(o, 0)
maj 12 23:04:06 fedora jupiter-controller-update[4445]: ^^^^^^^^^^^^^^^^^
maj 12 23:04:06 fedora jupiter-controller-update[4445]: File "/usr/lib64/python3.12/json/encoder.py", line 180, in default
maj 12 23:04:06 fedora jupiter-controller-update[4445]: raise TypeError(f'Object of type {o.class.name} '
maj 12 23:04:06 fedora jupiter-controller-update[4445]: TypeError: Object of type BusType is not JSON serializable
maj 12 23:04:06 fedora jupiter-controller-update[4430]: !! Failed to enumerate devices
maj 12 23:04:06 fedora systemd[1]: jupiter-controller-update.service: Main process exited, code=exited, status=1/FAILURE
maj 12 23:04:06 fedora systemd[1]: jupiter-controller-update.service: Failed with result 'exit-code'.
maj 12 23:04:06 fedora systemd[1]: Failed to start jupiter-controller-update.service - Jupiter Controller Firmware Update Service.But I tried doing the same as root and got info that root still uses 1.0.6 but I can't touch it.
See:
deck@fedora:
$ sudo pip install hid==1.0.5$ sudo su
Collecting hid==1.0.5
Using cached hid-1.0.5-py3-none-any.whl
Installing collected packages: hid
Attempting uninstall: hid
Found existing installation: hid 1.0.6
ERROR: Cannot uninstall hid 1.0.6, RECORD file not found. Hint: The package was installed by rpm.
deck@fedora:
bash-5.2# pip install hid==1.0.5
Collecting hid==1.0.5
Using cached hid-1.0.5-py3-none-any.whl
Installing collected packages: hid
Attempting uninstall: hid
Found existing installation: hid 1.0.6
ERROR: Cannot uninstall hid 1.0.6, RECORD file not found. Hint: The package was installed by rpm.
bash-5.2#
Yeah, no, you can't since it's a root package. Updating the controller firmware requires running the software as a root user and therefore you can't override it by just installing as a local user in my testing. @KyleGospo has already said that it will temporarily downgrade it back shortly.
from bazzite.
pip install hid==1.0.5 fixes it, might be worth to do this temporarily while upstream fixes this.
Can you downgrade it in bazzite for now until it's fixed? It's a big issue and not everyone would see this workaround here.
Yup. You need to do this on a system level.
I tried your workaround and issue persists:
deck@fedora:$ sudo systemctl status jupiter-controller-update.service$ sudo pip install hid==1.0.5
Warning: The unit file, source configuration file or drop-ins of jupiter-controller-update.service changed on disk. Run 'systemctl >
× jupiter-controller-update.service - Jupiter Controller Firmware Update Service
Loaded: loaded (/usr/lib/systemd/system/jupiter-controller-update.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Sun 2024-05-12 23:04:06 CEST; 8min ago
Main PID: 4430 (code=exited, status=1/FAILURE)
CPU: 345ms
maj 12 23:04:06 fedora jupiter-controller-update[4445]: File "/usr/lib64/python3.12/json/encoder.py", line 258, in iterencode
maj 12 23:04:06 fedora jupiter-controller-update[4445]: return _iterencode(o, 0)
maj 12 23:04:06 fedora jupiter-controller-update[4445]: ^^^^^^^^^^^^^^^^^
maj 12 23:04:06 fedora jupiter-controller-update[4445]: File "/usr/lib64/python3.12/json/encoder.py", line 180, in default
maj 12 23:04:06 fedora jupiter-controller-update[4445]: raise TypeError(f'Object of type {o.class.name} '
maj 12 23:04:06 fedora jupiter-controller-update[4445]: TypeError: Object of type BusType is not JSON serializable
maj 12 23:04:06 fedora jupiter-controller-update[4430]: !! Failed to enumerate devices
maj 12 23:04:06 fedora systemd[1]: jupiter-controller-update.service: Main process exited, code=exited, status=1/FAILURE
maj 12 23:04:06 fedora systemd[1]: jupiter-controller-update.service: Failed with result 'exit-code'.
maj 12 23:04:06 fedora systemd[1]: Failed to start jupiter-controller-update.service - Jupiter Controller Firmware Update Service.
But I tried doing the same as root and got info that root still uses 1.0.6 but I can't touch it.
See:
deck@fedora:
Collecting hid==1.0.5
Using cached hid-1.0.5-py3-none-any.whl
Installing collected packages: hid
Attempting uninstall: hid
Found existing installation: hid 1.0.6
ERROR: Cannot uninstall hid 1.0.6, RECORD file not found. Hint: The package was installed by rpm.
deck@fedora:~$ sudo su
bash-5.2# pip install hid==1.0.5
Collecting hid==1.0.5
Using cached hid-1.0.5-py3-none-any.whl
Installing collected packages: hid
Attempting uninstall: hid
Found existing installation: hid 1.0.6
ERROR: Cannot uninstall hid 1.0.6, RECORD file not found. Hint: The package was installed by rpm.
bash-5.2#Yeah, no, you can't since it's a root package. Updating the controller firmware requires running the software as a root user and therefore you can't override it by just installing as a local user in my testing. @KyleGospo has already said that it will temporarily downgrade it back shortly.
Nice, thank you. Hope devs will resolve it fast.
from bazzite.
Should be fixed in stable
from bazzite.
Related Issues (20)
- ISO Branding
- Legion Go + Steam Deck Dock - Unplugging the Legion Go from the Dock causes display issues
- After the update, the interface on the steam deck screen became strange. GNOME. HOT 5
- Game Freeze after some time HOT 1
- Can't install Bazzite HOT 2
- ROG Control Center won't open on ROG Zephyrus Duo 2023
- white line on boot in deck image HOT 1
- Bazzite Portal should probably have an option to setup Nvidia kernel arguments HOT 2
- Audio delays the suspend process
- i cant enter gaming mode HOT 2
- Xbox controller via xbox dongle not working after success of waking up PC
- Xbox controller connected via wireless adapter does not shut off with system HOT 2
- Far Cry 6 installed via Lutris (uplay) has to controller support im Steam Game Mode HOT 1
- Steam Crashing When Open for Long Periods of Time HOT 1
- Black screen after update HOT 2
- podman permission issue HOT 3
- Bazzite does not install required packages for functional GStreamer VA-API video encoding for OBS HOT 7
- Steam Deck Controller Left Stick very buggy with Mouse and Keyboard Profile HOT 1
- Steam Deck Bazzite/Fedora installer Resolution Unusable HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazzite.