pmaports/device/main/device-purism-librem5/l5-brcm-bt-enable.initd
Alistair Francis 933688fb85
device-purism-librem5: Run hciattach for Bluetooth (MR 5281)
This gets Bluetooth working for the Sparklan card.

btattach doesn't work on the Librem5 at the moment (see [1]) so even
though it's deprecated let's use hciattach to get things working.

1: https://source.puri.sm/Librem5/librem5-base/-/issues/76

Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2024-07-04 16:15:19 -07:00

5 lines
185 B
Text

#!/sbin/openrc-run
name="Purism Librem 5 Sparklan brcm bluetooth enabler"
supervisor=supervise-daemon
command="/usr/bin/hciattach"
command_args="-s 115200 /dev/ttymxc3 bcm43xx 1500000"