Questions tagged [hid]
Human Interface Device
76 questions
1
vote
1
answer
49
views
Changing HID device type
I bought this lovely old Macally iBall Pro and I have it setup well in Ubuntu 22.04 using xinput to configure middle button emulation and scrolling with a button. Like so:
xinput set-prop "12&...
3
votes
3
answers
422
views
Running a script based on raw events from a specific HID?
bit of a strange issue for you. I have an old 2-in-1 laptop tablet thing that works well enough, except the driver for the touchscreen occasionally crashes, leaving it unusable. I have a simple script ...
2
votes
0
answers
73
views
Mouse buttons on keyboard/touchpad (integrated wireless USB adapter) not working - Sony Vaio Tap 11
Installed Fedora 41 (Gnome) on an old Sony Vaio Tap 11. Almost everything works out of the box, more or less. Clicking/releasing the mouse buttons does not work. Tapping on the touchpad does not work ...
0
votes
1
answer
131
views
Adding a usb keyboard driver to a custom Linux firmware
I have a router running a custom Linux as firmware. I can ssh in and install packages via the entware repository. I’ve attached a keyboard to the USB port and I’d like to read the keyboard input. The ...
1
vote
1
answer
71
views
How can I unbind a device without sudo?
Currently I use the following command to disable / enable my touchscreen.
sudo bash -c 'echo "<device-id>" > /sys/bus/hid/drivers/hid-multitouch/unbind'
Is there a way to achieve ...
0
votes
0
answers
59
views
USB HID device works on CentOS, FreeBSD, but not Mint
I have a Delcom USB button assembly that is intended for arcade applications as an HID input device.
It is recognized and operates correctly on FreeBSD 14 and CentOS 7, but not on Mint 21.
On both ...
0
votes
1
answer
479
views
Unable to locate package USBHID
Since this morning my mouse is not working anymore on my Debian 11 google cloud VM, so I restarted the machine but the mouse is still not responding to clicking (my keyboard somehow is).
I checked and ...
0
votes
0
answers
139
views
How can I get user's idle time of whole day?
How can we get the user's idle time, defined as the time during which the user hasn't struck the keyboard or even made a mouse movement in Ubuntu 22.04. It should display with the username, the user's ...
0
votes
1
answer
244
views
how to make mouse and keyboard work again after disabled all input devices
I want to disable internal keyboard of my laptap, then I followed this answer and this doc (because it's Ubuntu and Wayland)
so I created a .rules includes:
KERNELS=="input2",
ATTRS{name}==&...
0
votes
0
answers
102
views
"rmmod g_hid" causes kernel crash: "Device 'hidg.0' does not have a release() function, it is broken and must be fixed"
I am getting the below kernel crash when I try to rmmod the g_hid module. Can someone provide me with a lead?
[ 261.125986] ------------[ cut here ]------------
[ 261.130656] Device 'hidg.0' does ...
1
vote
0
answers
3k
views
Keyboad and mouse pad are not working in Ubuntu-22.04 LTS linux for Lenovo V15 Gen4, 7520U
The keyboard and Mouse/touchpad are not working in Ubuntu-22.04 LTS OS on Lenovo V14 Gen4 7520U CPU. The external keyboard and mouse work perfectly. Is there any solution?
1
vote
1
answer
516
views
Hidraw doesn't find device without device-specific kernel driver being loaded
I'm trying to make a userspace Linux program that talks to a Bluetooth HID device, specifically the Wii remote.
When the hid-wiimote kernel module is loaded, I can use the hidapi library (with the ...
0
votes
1
answer
176
views
Virtual keyboard using UHID
I am trying to achieve what the QMK firmware does for keyboards but using software. So, I would like to turn off keys, substitute some keys for others, layers and etc.
The first thing that appeared ...
1
vote
2
answers
318
views
Mouse multimedia buttons are not emitting events in `/dev/input/eventX`
I have a mouse (Canyon CND-SGM14RGB) with multiple programmable buttons, half of them are set to be multimedia buttons.
Software for configuration is Windows-only, and those buttons work in Windows -- ...
0
votes
1
answer
586
views
Binding a mouse to a custom Character Device driver instead of the generic HID one
I am trying to write a simple Linux USB mouse driver, and I've run into a problem with actually getting the information from the mouse to the module.
Right now I have a kernel module that can be ...