HeuristicPerson/bluetooth_2_hid

keyboard won't connect after install.sh

Opened this issue · 4 comments

I've tried reflashing my pi0 a few times trying slightly different things to get around this error. I'm still very much a noob, so I'm not sure if I'm missing something basic. I've flashed my pi zero w with Raspberry pi os lite 32bit after booting up, 1) I've installed git hub with 'sudo apt-get install git' and then 2) cloning the repository. when I've pushed 'sudo install.sh' it gives me an error that the directory in unavailable, but when I run 'sudo /home/pi/bluetooth_2_hid/install.sh' that works (not sure if this is the issue).

Now when I try pairing my keyboard it says that it's unavailable right now, but the script history shows that it connected and immediately disconnects and my keyboard doesn't stop indicating that it's in pairing mode.

  • I've modded connect.sh to match my keyboard's mac address
  • I've tried pairing the keyboard before install.sh

thanks, I was able to get the main part of the keyboard working, but it's not transmitting any of the macro/ media keys. I'm using a keychron Q5 Pro, unsure if that makes a difference. I've tried opening the log file to see what exactly the pi is receiving and attempting to output, but the log file isn't populating in the tmp folder, or anywhere else, I've searched the entire pi with the find function. I do see that the pi's volume is going up and down, but it's not relaying that to the computer, and when I manually press the keys that the macros are executing, that works, I've tried adjusting the time delay that the macro is set to respond at, but I'm not sure if the way macros are executed is fundamentally different

Hey @1-lost-cause

The pull request #11 is not yet merged in by @HeuristicPerson and I can't tell if or when that might happen.

Meanwhile feel free to check out my fork. I've just released a new version, supporting multimedia keys. Happy to receive feedback.

@1-lost-cause v0.4.0 supports 147 multimedia keys. Would be curious if this covers all your use cases or you still miss anything?