-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOError: [Errno 25] Inappropriate ioctl for device (Linux, buildroot) #126
Comments
Sorry for the delay looking into this issue, I was without a Linux machine for a while. I think the problem is that your system doesn't have the uinput module. uinput is used to ensure we can always send any keys without depending on physical keyboard limitations, or even the presence of a physical keyboard. If your system has a plugged in keyboard we can try removing the dependency on uinput; if it doesn't have either uinput or a plugged in keyboard, I'm out of ideas. Additionally, I'll add a check to ensure uinput exists before trying to create the file. |
Missing uinput shouldn't error out anymore. Please give the master branch a try and tell me if that fixes your problem. |
I'll retest soon, I'll let you know. |
I have the same error on the master branch. Edit: Enabling uinput in the kernel fixes everything. |
Running the Example from the Readme.md, I am greeted with:
My /dev/uinput:
My /dev/input
by-id:
by-path:
I'm running as root. Distribution is Buildroot.
Perhaps I'm missing libs? But I have the kbd libs.
The text was updated successfully, but these errors were encountered: