Pairing under Linux
hcitool scan
hcidump -at
bluez-simple-agent hci0 xx:xx:xx:xx:xx:xx
> enter passkey
bluez-test-device trusted xx:xx:xx:xx:xx:xx
bluez-test-input connect xx:xx:xx:xx:xx:xx
Function keys
Auto enable function keys
#!/bin/sh
if [ "$ACTION" == "add" ];
then
# configure k810 ($DEVPATH) at $DEVNAME.
/etc/scripts/K810/k810_conf -d $DEVNAME -f on
fi
- /etc/scripts/K810/K810_manual.sh
#! /bin/bash
line=`dmesg | grep -i k810 | grep hidraw`
[[ $line =~ (.*)(hidraw+[^:])(.*) ]]
device=${BASH_REMATCH[2]}
/etc/scripts/K810/k810_conf -d /dev/${device} -f on