Skip to content

Auto-connect a bluetooth keyboard in OpenElec OS (Rapsberry)

Notifications You must be signed in to change notification settings

enovella/openelec-autobluetooth-kb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

openelec-autobluetooth-kb

auto-connect a bluetooth keyboard in OpenElec OS

Installation

berry:~ # vi /storage/.config/autostart.sh

Shell Script

#/bin/bash
# berry:~ # vi /storage/.config/autostart.sh

(

sleep 20

BMAC_KB="CC:C5:0A:1F:4B:EB"

# Enable bluetooth service
systemctl enable bluetooth

# Connect to Bluetooth keyboard and pair
bluetoothctl << EOF
power on
agent on
connect $BMAC_KB
quit
EOF

) &

About

Auto-connect a bluetooth keyboard in OpenElec OS (Rapsberry)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages