distribution/packages/kernel/linux-firmware/amlogic/brcmfmac_sdio-firmware-aml/system.d/brcmfmac_sdio-firmware-aml.service
2022-02-05 09:23:32 -05:00

11 lines
329 B
Desktop File

[Unit]
Description=Attach /dev/ttyS1 to BlueZ stack using bcm43xx type
Wants=bluetooth.service
Before=bluetooth.service
After=dev-ttyS1.device
[Service]
Type=simple
ExecStartPre=/usr/sbin/rfkill unblock bluetooth
ExecStart=/usr/bin/hciattach -n -s 115200 /dev/ttyS1 bcm43xx 2000000
ExecStopPost=/usr/sbin/rfkill block bluetooth