Have anyone used hid remotes successfully on rpi with volumio? I’m mainly interested in using bluetooth low energy remote myself, but usb would be option aswell for me.
I just got my rpi4 yesterday and tried to connect it to my ble hid media controller, but it seems while I can connect just fine, the rpi with volumio does not subscribe for indications or notifications automatically so i believe that the OS does not support hid over gatt atleast out the of box.
Is this because of too old bluetooth stack/packages volumio uses? Since from what I found other distros does support hid over gatt out of box.
Will a broke the volumio install if i try manually upgrade those bluetooth related packages to newer ones?
i did NOT $sudo apt-get update.
most of the stuff was already installed as well. once i got the media remote paired, trusted and connected and triggerhappy installed my bluetooth device was at event1, not event 0 so i need to dump sudo thd --dump /dev/input/event1 instead of sudo thd --dump /dev/input/event0
i followed the bug report “I had to delete
“/lib/systemd/system/triggerhappy.socket” and reboot for my system for
bluetooth device to be detected by triggerhappy.”
now all is working well.
hope this helps anyone looking for Bluetooth media controls!
So just an update here. I just set my Car Volumio up with bluetooth controls and there was no need to install any packages. everything was already installed. Im running the Touch diplay and Now playing plugins.
Steps to get this working took about 2 minutes:
hciconfig -a bluetoothctl
[bluetooth]# power on
[bluetooth]# pairable on
[bluetooth]# scan on
(start pairing on the Bluetooth controller, then look for your device)
[bluetooth]# pair xx:xx:xx:xx:xx:xx
[bluetooth]# trust xx:xx:xx:xx:xx:xx
[bluetooth]# connect xx:xx:xx:xx:xx:xx sudo nano /etc/triggerhappy/triggers.d/audio.conf
(i commented out default config and added below)
KEY_PLAYPAUSE 0 /usr/local/bin/volumio toggle
KEY_NEXTSONG 0 /usr/local/bin/volumio next
KEY_PREVIOUSSONG 0 /usr/local/bin/volumio previous sudo /etc/init.d/triggerhappy reload
rm /lib/systemd/system/triggerhappy.socket
sudo reboot
then you have working Bluetooth controls. I am using this controller:
Bluetooth low energy is completely different than normal Bluetooth.
I have never had any proplems with USB or normal Bluetooth devices, only with Bluetooth low energy devices in general.
I got around this by writing my own client software which fits my need while driving, so I could use my BLE remote hardware and retain original steering wheel controls.