Questions tagged [hid]

Human Interface Device

Filter by
Sorted by
Tagged with
1
vote
0answers
31 views

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 ...
0
votes
0answers
8 views

HIDRAW device arbitrarily reconnects with different names

I have a hidraw device connected to a Debian machine via USB. (The device is a solar inverter/charger but that probably does not matter.) The device would sometimes arbitrarily come off and show up ...
1
vote
1answer
161 views

How to direct /dev/hidraw output to python application and not terminal

I have a USB barcode scanner and am running a python script that collects data from /dev/hidraw0 and inputs the data into a database. The issue is that every time the scanner collects a code it ...
0
votes
0answers
37 views

Infinite loop when unbind+bind the device to the same driver in udev

I am using Magic Mouse 2 with ubuntu 20.04. To use the scrolling feature, I had to install this driver: https://github.com/rohitpid/Linux-Magic-Trackpad-2-Driver. The only problem is that I need to ...
1
vote
1answer
60 views

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

USB HID report error (intentional?) prevents joydev from correctly calculating axes values

Thrustmaster T.Flight 4 would only partially work with jstest (Z axis, throttle and an additional axis on the throttle handle) so I decided to try and fix it. I dumped hidraw data and learned that ...
1
vote
0answers
42 views

Persistent name for USB HID (LED) gadget

I have a USB LED gadget that shows up as a USB HID device. When I plug it in to my server it shows up as /sys/class/leds/delcom2:{red,green,blue} and I can operate it by manipulating the files that ...
1
vote
1answer
100 views

Force PS3 clone arcade gamepad to be hid generic

I have a NETWAY GAMING ARCADE FIGHTER PS3/PC. This device works fine under windows and also does on recalbox 4.1, but does not in any current linux that I have tried. I have tried to recompile hid-...
1
vote
1answer
118 views

How to change poll rate of usb “gamepad” drum controller

I'm trying to increase the USB poll rate of my ION IED05 drum controller to decrease the latency when striking toms. This drum controller is actually behaving like a USB gamepad, instead of being a ...
2
votes
1answer
107 views

Udev does not always automatically bind the usbhid driver to my device

I have multiple sytems running Ubuntu 19.10. I have a USB HID device which can be detected by each of those systems and I am using the exact same udev rules file on all 3 of them (99-MyDevice.rules) : ...
0
votes
0answers
227 views

How does one use Intel's ISH (integrated sensor hub) interface?

I am interested in exploiting the integrated sensor hub on my single board computer (an Up Core). However, it is unclear as to what parts I can use and whether the drivers for this hardware already ...
0
votes
1answer
20 views

Is there a way to 'tail -f' HID-Input of a buzz-controller?

I'm quite a linux-newb. I wanted to develop an application which communicates with Sony PS2-Buzzcontrollers via libusb but discovered that the linux-kernel already comes with out-of-the-box support ...
0
votes
0answers
29 views

Keyboard not getting a keyboard not getting input id, udev rule to do this?

Can I setup a udev rule to assign my keyboard a /dev/input/by-id/ identifier? I can get this from cat /proc/bus/input/devices so it is being recognized at least somewhat correctly. I: Bus=0003 ...
3
votes
1answer
201 views

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 ...
4
votes
0answers
387 views

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

USB HID driver data sniffing

I need to communicate with a proprietary HID device. I don't have a driver for it, nor documentation on its communication. I did however obtain some compiled code that configures the HID device and ...
0
votes
1answer
228 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 ...
1
vote
1answer
271 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
235 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: ...
2
votes
0answers
3k 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 ...
1
vote
1answer
2k 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
1k 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
486 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....
1
vote
1answer
403 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 ...
5
votes
2answers
23k 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
488 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
829 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
2k 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 ...
3
votes
6answers
4k 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
513 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
1k 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
487 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 ...
12
votes
4answers
5k 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
215 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 ...
2
votes
0answers
1k 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 ...
2
votes
1answer
3k 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
3k 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
618 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
370 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
444 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
1k 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
1k 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
2k 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
1k 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 ...
9
votes
2answers
4k 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
390 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
2k 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 ...