Questions tagged [hid]

25 questions
56
votes
11 answers

Can I use Raspberry Pi as a USB peripheral device?

Raspberry Pi has a Micro USB port for power supply. My question is if this port is only for power purposes or can it be used for data as well? I would like to be able to attach my Raspberry Pi as a USB peripheral to another computer. Is this…
user13
13
votes
2 answers

Can the Pi Emulate an HID device with via USB?

Does the Raspberry Pi model B+ have the capabilities of acting as a Human Interface Device (HID) with no extra hardware (other than a USB to USB cable)? I saw this question but it was about capturing output from the computer. My goal would be to…
NULL
  • 2,240
  • 8
  • 28
  • 49
5
votes
0 answers

RPi-Zero, HID keyboard gadget for BIOS keyboard

After another user related question on this forum I try to get my USB HID Gadget Keyboard running in BIOS. My gadget is the RPi-Z using libcomposite on Raspbian Buster. When I plug my keyboard into my another RaspberryPi where Raspbian is also…
Ephemeral
  • 2,167
  • 1
  • 8
  • 19
2
votes
1 answer

How to map rpi-zero hid-gadget from us to german?

I’ve tried to map my RPI Zero HID-Gadget in a sh file, here is my sh file. I tried to exchange a normal german keyboard by swapping kbcodes from us-keyboard to german-keyboard layout, but if it is the right attempt, i can't swap the <>|key because…
lucki1000
  • 23
  • 3
2
votes
0 answers

Unable to log a mouse's scroll wheel

I am building an application on raspberry pi pico. A USB mouse is connected to the pico, and then the pico is connected to the PC. The pico logs the mouse's button presses and mouse's movements and sends the HID report over to the PC - where it is…
user1584421
  • 117
  • 6
1
vote
1 answer

RPi Zero W as HID keyboard disconnects after connecting

So, I have configured and reconfigured the Pi Zero multiple times now for it to behave like a HID keyboard. It appears as a keyboard as well, but as soon as it is connected, it gets disconnected. This is what dmesg says on the PC that Pi is…
Meet
  • 121
  • 4
1
vote
1 answer

Headless pi zero HID keyboard

I am trying to get my pi zero to act as a HID USB keyboard when plugged in to a computer, following this guide. I finished the configuration, and I get to the "Keyboard / Mouse / Joystick (HID)" section. I added these commands to the bottom of…
eeze
  • 111
  • 4
1
vote
1 answer

Stream Deck Using PI 2

I have a RPi2 1gb. I've recently got a touch screen for it and have decided that I actually should use it for what it was intended for. Programming! So my adventure starts here. I want to make a Stream Deck, now breaking down the already existing…
1
vote
0 answers

Python HID API's for RPi's

I realize that solutions exist for having an RPi emulate an HID device (Can the Pi Emulate an HID device with via USB?) but are there any existing API's that can achieve the same thing as https://github.com/adafruit/circuitpython but specifically…
1
vote
2 answers

Script runs if the Raspberry Pi is rebooted but not normally booted

I'm trying to run a Node.js script that connects to a HID device (HTC Vive tracker) and sends feature reports to it, to run from boot. I've tried using rc.local, a systemd file but none of it works if I power on the Raspberry Pi, however running it…
SophieOH
  • 11
  • 4
1
vote
1 answer

Pi Zero W Rev 1.1 HID keyboard with newer kernels /distributions not working

Please comment if you think I can improve my question (like rephrase, add other tags) . I'm really at a loss at the moment. There are many online instructions explaining how to make a raspberry pi zero behave like a USB keyboard / mouse / etc. A few…
gelonida
  • 121
  • 9
1
vote
0 answers

Configuring the Raspberry Pi 4 B as a USB (HID) Gadget?

I am new to Raspberry Pi and recently got a RB Pi 4 intending to use it as a mouse/keyboard for my laptop. The problem is that I can't find valid information about how to configure the Pi 4 as a USB gadget, either in the official documentation, or…
BLUC
  • 111
  • 1
1
vote
0 answers

Use Raspberry Pi Zero WH as keyboard HID driver at boot

Background My keyboard, a Majestouch Convertible 2, has Bluetooth capabilities such that it can connect up to 4 devices. My primary driver and the 1st device the keyboard is connected to is my desktop, running Arch Linux. I will eventually have a…
twelfth
  • 13
  • 3
1
vote
0 answers

How to connect an HID RFID reader to my Raspberry Pi

I have seen plenty of tutorials to connect an RC522 module to a Raspberry Pi, but I have been given an HID iClass SE reader to integrate into our system which runs off a Raspberry Pi 3B. I have no idea which pins on Pi I should connect to. I have…
Chiwda
  • 183
  • 2
  • 14
1
vote
0 answers

RPi Zero W as bluetooth keyboard / mouse "passthrough"

I'm looking for a solution to allow me to use the RPi Zero W as a gadget that will connect to my bluetooth keyboard and then present itself to my PC as a regular USB keyboard. This is workaround to allow me to use a favourite bluetooth keyboard with…
1
2