Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hid]

Human Interface Device

0
votes
1answer
41 views

Playstation usb adapter missing buttons

I'm trying to use a PS2 Guitar Hero II controller on PC/Linux. After trying out multiple Playstation-to-usb adapters, I've finally found one that does not cause any input lag. However I've ...
0
votes
0answers
11 views

QEMU USB HID device (gamepad) is reset all the time when in use

I try to run a Windows 10 VM with GPU passthru, that works fine but my gamepad , actualy a Betaflight flight controller running in HID mode, is resetted all the time. The controller works on the host ...
0
votes
0answers
10 views

ReinerSCT Cyberjack as HID device

I have a ReinerSCT Cyberjack Standard which I am not using as chipcard reader. I am wondering if it is possible to use it instead as HID device - a keyboard consisting mainly of numbers? First I ...
0
votes
0answers
58 views

I2C_HID touchpad chip data reading

Recetly I tried to fix my touchpad lags with firmware update, but it crushed my whole touchpad. Now movement is inverted, and right click doesn’t work. My touchpad is ELAN1200 04F3:304E, one of the ...
0
votes
1answer
71 views

How to make a USB device register as HID?

I have a hardware device which I'd like to communicate with in C via the HID library. But this device does not show up as HID. Is there a way to make it so (with a udev rule maybe) ? $ dmesg usb 1-2: ...
1
vote
0answers
293 views

How to get my device recognized as an HID device?

I'm trying to get a USB HID device to work in Ubuntu, but can't seem to get it to work at all. It is a USB HID device, and shows up as such in dmesg: [ 2236.277518] usb 1-1: new full-speed USB device ...
0
votes
1answer
502 views

How to write data to a HID USB device?

I have to develop an application to communicate with a C8051F340-TB board from Silicon Labs through USB (just to be clear, I am using the P3 connector from fig. 4 of previous link, not the USB Debug ...
0
votes
1answer
284 views

Bind/Unbind Linux Module Automatically

I'm currently trying to create my own USB HID mouse driver as an override of the standard generic USB, which always gets in the way. How can I unbind the generic driver and rebind it to my specific ...
1
vote
0answers
268 views

Cannot load compressed Kernel module?

I tried to load "hid-a4tech," but I got error the messages below: [net_client@netarchwork ~]$ modprobe hid-a4tech modprobe: FATAL: Module hid-a4tech not found in directory /lib/modules/4.18.7-...
1
vote
1answer
151 views

Mirroring USB HID signals on Open WRT through UART [closed]

The setup: a Linkit Board (Smart 7688 Duo) running OpenWRT and a generic keyboard connected on the USB host. The goal: dumping the signal we get from the /dev/input/event0 and send it through the ...
1
vote
2answers
5k views

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!...
2
votes
1answer
192 views

Format of hiddev bytes?

I have a gamma spectrometer that connects as a USB HID. When it is inserted dmesg helpfully informs me that two device files were made for it, hiddev0 and hidraw2 (obviously, the numbering isn't ...
0
votes
1answer
422 views

Custom HID Keyboard Not Working In Ubuntu

I have implemented a test HID keyboard using an STM32 microcontroller. Nothing fanct, just sends continous stream of 'A' once connected at the speed of 10/sec. Works just fine in windows. But when ...
25
votes
3answers
3k views

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 ...
3
votes
1answer
623 views

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 ...
1
vote
5answers
3k views

Linux HID driver for Primax wireless keyboards

I bought a new keyboard similar to an old one. The old one works, the new one not. The new keyboard has an unusual HID Descriptor and sends one extra data byte. Is there a Linux driver which support ...
2
votes
0answers
364 views

Linux HID driver for keyboards sending 1 extra byte

I bought a new keyboard similar to an old one. The old one works, the new one not. There is a difference in one extra data byte sent by the new keyboard. Is there a Linux driver which support the new ...
1
vote
2answers
779 views

My keyboard identifies as a mouse

My Logitech Wave Cordless keyboard presents itself as two devices to the kernel. One is a regular keyboard which works fine, but all the additional keys appear as an event-mouse, such that cat /dev/...
-1
votes
1answer
1k views

USB ports don't work in Gentoo Linux

I have a motherboard, Gigabyte Z170-D3H, with a fresh Gentoo Linux installed (self-compiled kernel 4.9.6-gentoo-r1) and two USB devices connected (Flashdrive and Mouse). But USB ports don't work. ...
0
votes
1answer
378 views

Howto Edit the USB driver to identify as an HID device

I have a Linux based embedded system which I would like to behave as a USB HID keyboard when connected to a PC with a USB cable. I'm assuming that the USB driver will be operating in Host mode by ...
9
votes
3answers
3k views

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 ...
1
vote
1answer
149 views

How is a mouse identified? Then how do I “implement a mouse”?

When a USB mouse is connected how does the system tell it's a mouse? Does it send some signal? I need to implement (something like) a little mouse using an fpga board. I can output x and y ...
1
vote
0answers
768 views

USB devices missing from /proc/acpi/wakeup

I'm currently running Ubuntu 14.04 (specifically the Kodibuntu port) on a Gibabyte NUC like mini pc. My kernel version is 3.13.0-55-generic. I'm having trouble enabling wake-up from suspend via my ...
1
vote
1answer
2k views

How to disable a device (hardware) from using hid-multitouch driver?

I have a Kortek touch screen that is exposed to the system, as shown in /proc/bus/input/devices, via two drivers : hid-generic and hid-multitouch I do not want hid-multitouch driver to expose Kortek ...
1
vote
1answer
2k views

what is the difference between usbtouchscreen and usbhid?

I am trying to understand the touchscreens. And I came across these two kernel modules: usbtouchscreen and usbhid. I am confused as what is exactly the difference ? Lets assume I have a touchscreen ...
1
vote
0answers
371 views

How can I figure out why an HID unikey device is not being recognized by the software needing it?

I have a custom built CentOS machine. For those of you who know Vagrant, the image is at https://atlas.hashicorp.com/puppetlabs/boxes/centos-7.2-64-puppet. When I connect an HID Unikey device to this ...
1
vote
0answers
295 views

Touchscreen unresponsive on 4.4-rc7, but works on 4.2. cat /dev/hidraw0 doesn't show anything

I'm testing out kernel 4.4-rc7 (same problem with rc5), but can't get laptop touchscreen to work. It's an Asus TP200SA. kernel4.4-rc7 $ dmesg | grep hid [ 2.741654] hidraw: raw HID events driver (...
1
vote
1answer
352 views

Map non-standard hid reports to scancodes for Logitech G105 Gaming Keyboard

So, I've recently purchased the named keyboard and have been doing some reverse engineering as to how the Logitech Gaming Software does things with it. In this process I've discovered that a few magic ...
1
vote
1answer
945 views

Kernel not recognizing new devices from DKMS module?

I've done some work backporting the kernel modules for hid-apple and bcm5974 (with lots of help from SicVolo) and writing DKMS scripts for them so I can maintain compatibility across kernel upgrades: ...
1
vote
1answer
628 views

Determine which module is bound by a HID device?

I'm having a weird problem. I've done some hacking based on another person's work to backport support for the internal keyboard on a MacBook Pro 11,5 into kernel 3.19. My GitHub source can be found ...
2
votes
3answers
1k views

How can I write to the Buzz controllers HID device created by hid-sony.c to work the LEDs?

I've been trying for a while but have not been able to find a way to control the lights on a set of controllers from the game Buzz (wired, from Playstation 2). You can see some of my failed attempts ...
4
votes
0answers
702 views

Route keyboard through only /dev/ttys000 on Mac OS X [closed]

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 ...
6
votes
2answers
3k views

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 ...
1
vote
0answers
365 views

Debian wheezy, 3.19, problem keyboard and mouse on dekstop environment

I am running Debian Wheezy on a BananaPi. I just compiled the kernel and the keyboard was working in terminal(if it's called that way). However, after I installed a dekstop interface using "apt-get ...
8
votes
1answer
2k views

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/...
3
votes
2answers
1k views

How does an emulated keyboard work?

I have read that some USB devices emulate a keyboard and the information these devices send will be as if the information was typed on a keyboard. For example: a magnetic card reader can use an ...
4
votes
1answer
2k views

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 ...
1
vote
0answers
381 views

How to configure graphics tablet to use just one monitor with XFCE?

The graphics tablet I use, works as expected with Gnome 3. I can use absolute positioning on my multi monitor setup. I've set one of my two monitors to be used with the graphics tables. This way, if ...