2

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)

Thanks!

oyassin
  • 21
  • 2
  • 2
    Welcome to Raspberry Pi! Please take the tour and visit the helpcenter to see how things work here. – Ghanima Jan 01 '19 at 20:07
  • 1
    This might be of interest. I think investigating the Pi Zeros USB-Gadget mode is a way to go. – Ghanima Jan 01 '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 01 '19 at 20:19
  • 1
    Just found this in another post: https://randomnerdtutorials.com/raspberry-pi-zero-usb-keyboard-hid/ – Ghanima Jan 01 '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 02 '19 at 03:43
  • 3
    Adding links to solutions which directly address the OPs problem: Found this https://github.com/mikerr/pihidproxy And this: https://github.com/PixelGordo/bluetooth_2_hid Or this: https://github.com/ramius345/pizero-keyboard-proxy – Dan Jan 18 '20 at 14:20

0 Answers0