Logitech K810+K380: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
/etc/scripts/K810/k810_conf -d $DEVNAME -f on | /etc/scripts/K810/k810_conf -d $DEVNAME -f on | ||
fi | fi | ||
</pre> | |||
</blockquote> | |||
* /etc/scripts/K810/K810_manual.sh | |||
<blockquote> | |||
<pre> | |||
#! /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 | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 15:18, 27 January 2018
Pairing under Linux
- Terminal 1
hcitool scan hcidump -at
- Terminal 2
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
- http://www.trial-n-error.de/posts/2012/12/31/logitech-k810-keyboard-configurator/
- http://blog.chschmid.com/?p=1537
- bt-device -l
Auto enable function keys
- build according to http://blog.chschmid.com/?p=1537
- /etc/scripts/K810/K810.sh
#!/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