Comments (2)
Interesting. Is there another service that is interacting with evdev file descriptors on your system?
Edit:
Also, this seems like a truncated traceback, can you post the full log?
from handygccs.
Full service life cycle log:
Dec 08 12:47:13 ayaneo systemd[1]: Started Handheld Game Console Controller Service.
Dec 08 12:47:13 ayaneo nice[574]: [231208_12:47:13 | handycon.py:85:__init__] Starting Handhend Game Console Controller Service...
Dec 08 12:47:17 ayaneo nice[574]: [231208_12:47:17 | utilities.py:269:id_system] Identified host system as AIR Plus and configured defaults for AYA_GEN5.
Dec 08 12:47:17 ayaneo nice[574]: [231208_12:47:17 | utilities.py:287:get_config] Loading existing config: /etc/handygccs/handygccs.conf
Dec 08 12:47:18 ayaneo nice[574]: Traceback (most recent call last):
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/lib/python3.11/site-packages/evdev/device.py", line 125, in __init__
Dec 08 12:47:18 ayaneo nice[574]: fd = os.open(dev, os.O_RDWR | os.O_NONBLOCK)
Dec 08 12:47:18 ayaneo nice[574]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/input/event7'
Dec 08 12:47:18 ayaneo nice[574]: During handling of the above exception, another exception occurred:
Dec 08 12:47:18 ayaneo nice[574]: Traceback (most recent call last):
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/bin/handycon", line 8, in <module>
Dec 08 12:47:18 ayaneo nice[574]: sys.exit(main())
Dec 08 12:47:18 ayaneo nice[574]: ^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/lib/python3.11/site-packages/handycon/handycon.py", line 200, in main
Dec 08 12:47:18 ayaneo nice[574]: handycon = HandheldController()
Dec 08 12:47:18 ayaneo nice[574]: ^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/lib/python3.11/site-packages/handycon/handycon.py", line 95, in __init__
Dec 08 12:47:18 ayaneo nice[574]: devices.make_controller()
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/lib/python3.11/site-packages/handycon/devices.py", line 653, in make_controller
Dec 08 12:47:18 ayaneo nice[574]: handycon.ui_device = UInput(
Dec 08 12:47:18 ayaneo nice[574]: ^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/lib/python3.11/site-packages/evdev/uinput.py", line 155, in __init__
Dec 08 12:47:18 ayaneo nice[574]: self.device = self._find_device()
Dec 08 12:47:18 ayaneo nice[574]: ^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/lib/python3.11/site-packages/evdev/uinput.py", line 282, in _find_device
Dec 08 12:47:18 ayaneo nice[574]: d = device.InputDevice(path)
Dec 08 12:47:18 ayaneo nice[574]: ^^^^^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: File "/usr/lib/python3.11/site-packages/evdev/device.py", line 127, in __init__
Dec 08 12:47:18 ayaneo nice[574]: fd = os.open(dev, os.O_RDONLY | os.O_NONBLOCK)
Dec 08 12:47:18 ayaneo nice[574]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/input/event7'
Dec 08 12:47:18 ayaneo systemd[1]: handycon.service: Main process exited, code=exited, status=1/FAILURE
Dec 08 12:47:18 ayaneo systemd[1]: handycon.service: Failed with result 'exit-code'.
I think it's late input initialize.
And I don't use any evdev service alongside handycon.
from handygccs.
Related Issues (20)
- GPD Win 4 not working? HOT 12
- GPD WIN4 HOT 3
- ASUSTek ROG Ally RC71L (2023) HOT 2
- Allow configuration of combinations and/or long-presses
- Add additional event type to configuration HOT 1
- building from source needs pacman HOT 1
- Right Menu button change button mappings HOT 5
- Pressing the volume keys or other function keys wakes up the device while it's in sleep mode, but the controller doesn't cause a wake-up. This can easily lead to accidental activation. I would like only the power key to be able to wake up the device. HOT 1
- Suspend issue on Ayaneo air pro HOT 1
- Permission Denied Error
- handycon doesn't survive suspend/resume HOT 5
- [bug] Back buttons on GPD Win 4 not functional in gamepadui HOT 14
- [Rog Ally] Way to use M1/M2 back buttons HOT 12
- Handycon can't detect keyboard 2 on Ally HOT 5
- ONEXPLAYER 2 PRO Support HOT 21
- ALLY Controller behaves weirdly when using nintendo layout HOT 1
- Dpad stops working rog ally HOT 3
- Add GPD WIN Mini HOT 5
- Rog Ally Device ID not supported HOT 1
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 handygccs.