Skip to main content

Questions tagged [hid]

1 vote
1 answer
53 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&...
Fratink's user avatar
  • 51
3 votes
3 answers
439 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 ...
Gridzbi Spudvetch's user avatar
2 votes
0 answers
76 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 ...
Wolfgang's user avatar
0 votes
1 answer
143 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 ...
Christopher Meyers's user avatar
1 vote
1 answer
75 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 ...
Shade's user avatar
  • 11
0 votes
1 answer
495 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 ...
diegobc11's user avatar
0 votes
0 answers
141 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 ...
Mahesh Garole's user avatar
0 votes
1 answer
247 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}==&...
ask's user avatar
  • 1
0 votes
0 answers
103 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 ...
Ajita's user avatar
  • 1
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?
Nirmal Bisai's user avatar
1 vote
1 answer
524 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 ...
Honbra's user avatar
  • 21
0 votes
1 answer
180 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 ...
Henrique Hott's user avatar
1 vote
2 answers
319 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 -- ...
Rijenkii's user avatar
0 votes
1 answer
594 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 ...
TheOwlk's user avatar
0 votes
1 answer
431 views

Linux evdev subsystem vs libusb

What are the advantages and disadvantages to using the evdev subsystem versus accessing input devices using libusb? The kernel docs for evdev state: This is the preferred interface for userspace to ...
Jared's user avatar
  • 105

15 30 50 per page
1
2 3 4 5