Questions tagged [hid]

Human Interface Device

Filter by
Sorted by
Tagged with
0
votes
1answer
11 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
10 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 ...
1
vote
1answer
54 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
121 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
20 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
0answers
51 views

kernel 2.6.32-696 and touch (as absolute mouse) just the press / release work, but not the movement

i've buildet a touch controller (hid mouse), it works fine under actual kernels (as hid-multitouch), and Windows systems. But on a customers system with a Kernel 2.6.32-696 (there is no hid-multitouch)...
0
votes
0answers
141 views

Sysfs, HID device under virtual subsystem

I have a USB headset device which when attached gets detected under /sys/devices/virtual subtree. Basically, I want to use the hidrawX node but due to the wrong subsystem type I am unable to configure ...
0
votes
1answer
134 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
91 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
26 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
209 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
159 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
1k 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
1k 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
639 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
364 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
297 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 ...
2
votes
2answers
13k 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
372 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
653 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
1k 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
482 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
447 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 ...
10
votes
3answers
4k 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
203 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
932 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
509 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
347 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
396 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
857 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
924 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
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
380 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 ...
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
401 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 ...