pmaports/device/testing/device-samsung-starlte/10-hciattach.rules
Ishaaq 5e0a9edcae
samsung-starlte: New device (MR 4123)
[ci:skip-build]: already built successfully in CI
2023-05-29 13:16:00 +02:00

5 lines
290 B
Text

# BT unblocked
SUBSYSTEM=="rfkill", ATTR{name}=="bcm43xx Bluetooth", ACTION=="change", ENV{RFKILL_STATE}=="1", RUN+="/etc/init.d/hciattach start"
# BT blocked
SUBSYSTEM=="rfkill", ATTR{name}=="bcm43xx Bluetooth", ACTION=="change", ENV{RFKILL_STATE}=="0", RUN+="/etc/init.d/hciattach stop"