summarylogtreecommitdiffstats
path: root/80-k380.rules
blob: 3a61870fdc452c43e9726e1bede0b540750a338c (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# Note that there is an issue in BlueZ which makes this rule apply only
# for the initial connection. When disconnected and reconnected later,
# the "add" action is never produced:
#
#   https://github.com/bluez/bluez/issues/933
#
# This means that power-cycling the keyboard after the initial connection
# will lose the Fn key setting and it will NOT be re-applied on reconnection.
#
ACTION=="add", SUBSYSTEM=="hidraw", KERNEL=="hidraw*", SUBSYSTEMS=="hid", KERNELS=="*:046D:B342.*" RUN+="/usr/bin/k380_conf -d /dev/%k -f on"