I have a bluetooth keyboard that's originally connected to my desktop PC. The problem is that I can't use it in BIOS or to select different boot options at grub because the bluetooth drivers aren't loaded up yet at that point. I'm trying to use a Pi as a relay point where it will always have the bluetooth keyboard paired to it, take in the keyboard commands, then output it as a USB keyboard (it'll be connected to my desktop PC through USB).

I found this guide (among many others) that tries to do the opposite, but couldn't tell if I can flip it around. https://www.gadgetdaily.xyz/emulate-a-bluetooth-keyboard-with-the-raspberry-pi/

Is there a known way to accomplish this? Is there a more straightforward method? (I'm new to raspberry pi and peripheral IO, but familiar with python and linux in general)


  • 2
    Welcome to Raspberry Pi! Please take the tour and visit the helpcenter to see how things work here. – Ghanima Jan 1 '19 at 20:07
  • This might be of interest. I think investigating the Pi Zeros USB-Gadget mode is a way to go. – Ghanima Jan 1 '19 at 20:10
  • Thanks! I'll investigate some of the solutions in those discussions and post an answer if they work out. – oyassin Jan 1 '19 at 20:19
  • Just found this in another post: randomnerdtutorials.com/raspberry-pi-zero-usb-keyboard-hid – Ghanima Jan 1 '19 at 22:25
  • This looks pretty promising. It'll take me a bit to figure out what the different scripts do (prefer to do that before hooking it up to my system), then we can set up your response as an answer. Thanks for taking the time! – oyassin Jan 2 '19 at 3:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.