Questions tagged [hid]

Human Interface Device

A type of device that helps interactions between humans and computers.

See: http://en.wikipedia.org/wiki/Human_interface_device

The most common HIDs are: keyboards, mouses, joysticks, headsets, graphics tablets.

Less common devices: magstripe or proximity card readers, steering wheels, custom electronic gloves, wii remotes, etc.

71 questions
27
votes
3 answers

How to safely insert USB stick/device to Linux computer?

When inserting a USB stick or device to computer, there is always the risk that the device is malicious, will act as an HID and potentially do some damage on the computer. How can I prevent this problem? Is disabling HID on specific USB port…
Martin Heralecký
  • 850
  • 2
  • 8
  • 20
14
votes
2 answers

Virtual USB HID device

I'm developing an application that will communicate with attached USB HID device. The problem is that there is no real device yet (it is under development by another part of our team), so, I'd really like to have some way to emulate it. The ideal…
Dmitry Frank
  • 2,668
  • 8
  • 27
  • 38
12
votes
4 answers

Emulate a bluetooth mouse

Is it possible for my computer to pretend it is a bluetooth mouse, so another device can connect to it? An android device allow its mouse to be controlled by bluetooth without rooting it, and my computer have bluetooth, so if I could get them to…
Puggan Se
  • 583
  • 2
  • 7
  • 16
11
votes
3 answers

Magic Mouse 2 driver touch scroll

I just recently picked up a Magic Mouse 2 after trying out my friends Magic Mouse 1. The MM has touch capabilities, and I wanted to make sure that those features worked on my Arch laptop, and they did! Well, for MM1 they did, but for the MM2, the…
Robin Weymans
  • 211
  • 1
  • 2
  • 4
9
votes
1 answer

Why does a device show up as hidraw instead of hiddev?

I read the kernel documentation for hidraw and hiddev, and I understand the differences, but I am wondering how the kernel decides whether or not a device should show up as /dev/hidraw* or /dev/usb/hiddev*
5
votes
1 answer

How to bind the hid-generic driver to an hid interface that's taken by a different hid driver?

Short background on the issue I'm facing. I'm working on implementing a simultaneous UART/I2C operation using a usb bridge, the FT260. The chip relies on HID reports to provide these functionalities. Plugged in, the hid-generic driver detects two…
Sdig
  • 71
  • 4
5
votes
0 answers

wireless mouse, very strange behavior

After the most recent apt full-upgrade that included a kernel update, I have now twice encountered a rather strange problem, and more importantly I cannot for the life of me figure out how and why the only solution I have found actually fixes…
NetIceCat
  • 2,244
  • 1
  • 14
  • 25
5
votes
1 answer

Single clicks register as double-click - software click debounce in CentOS 7

I need a software click debouncer solution for RHEL/CentOS. I'm getting intermittent, but frequent, double-clicks registered on single mouse clicks. The issue doesn't happen on Windows 10 as it seems Logitech (or Microsoft) compensate at the…
Alxs
  • 2,170
  • 3
  • 21
  • 31
5
votes
0 answers

Route keyboard through only /dev/ttys000 on Mac OS X

I have a USB RFID reader which acts as a HID - pretending to be a keyboard. If a card/tag gets close it 'types' 01234567890\n (ie. the tag's code followed by a newline) straight into the active application, as any keyboard should. I can capture the…
JP.
  • 151
  • 4
4
votes
1 answer

Blacklisting specific hardware device in Linux

Hopeful someone can help me out. I have a laptop with a malfunctioning touch device. The device can't be disabled in the bios or by any other means (other than replacing the screen where the cost exceeds the value of the laptop). Disconnecting is…
michaelkrieger
  • 480
  • 4
  • 8
4
votes
1 answer

USB keypad (HID) not responding in linux but in grub

An external USB keypad I'd like to use gets recognised as a USB HID device, but it is not functional when Linux is booted. It does work when plugged into a Windows desktop and it does work while in grub, but not when the system has booted. The…
user3454656
  • 41
  • 1
  • 2
3
votes
0 answers

What driver to use with a keyboard that has the wrong vendor/product ID?

So, I recently bought a new mechanical keyboard, and I've been having trouble with the F1-F12 keys. After some investigation, I discovered that this is happening because the keyboard, for some ungodly reason, has the same vendor ID and product ID as…
Maveth
  • 31
  • 2
3
votes
1 answer

Bluetooth keyboard connects, but does not work

I have a Lenovo Duet 3 Bluetooth keyboard, which works fine when connected physically (it has 5 pins for that) to its laptop, and also works as expected when I connect it to my Android phone. However, I cannot get it to work under (Arch) Linux.…
3
votes
0 answers

Synaptics touchpad, i2c-hid and hid-rmi

I have a similar question as asked here: how should I interpret this line from syslog: psmouse serio1: synaptics: Your touchpad (PNP: SYN1ef3 SYN1e00 SYN0002 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you…
RJVB
  • 171
  • 7
3
votes
1 answer

Is there a limit to the number of USB gadget can be created with configfs?

OS: Ubuntu 18.04.3 Kernel: 5.3.8 Hi guys :) I'm trying to create bunch of HID gadgets by using configfs. It was successful until setting up fourth gadget, but kernel emits error message during creation of fifth gadget. Error message was as below. …
jmiry
  • 35
  • 6
1
2 3 4 5