mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
packages/linux-firmware/brcmfmac_sdio-firmware-aml: Fix built-in bluetooth on WeTek Core
This commit is contained in:
parent
ffb9e4460e
commit
d58df2b9f2
@ -5,4 +5,4 @@ ConditionPathExists=/dev/ttyS1
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/brcm_patchram_plus --patchram /lib/firmware/brcm/%I.hcd --baudrate 3000000 --use_baudrate_for_download /dev/ttyS1 --enable_hci --no2bytes --tosleep=50000
|
||||
ExecStart=/usr/bin/brcm_patchram_plus --patchram /lib/firmware/brcm/%I.hcd --baudrate 2000000 --use_baudrate_for_download /dev/ttyS1 --enable_hci --no2bytes --tosleep=50000
|
||||
|
@ -4,12 +4,17 @@
|
||||
|
||||
ACTION!="add", GOTO="end"
|
||||
SUBSYSTEMS=="sdio", ATTRS{vendor}=="0x02d0", ATTRS{device}=="0xa962", GOTO="begin"
|
||||
SUBSYSTEMS=="sdio", ATTRS{vendor}=="0x02d0", ATTRS{device}=="0x4330", GOTO="begin"
|
||||
GOTO="end"
|
||||
LABEL="begin"
|
||||
### Broadcom bcm43362/bcm20710a1 bluetooth device
|
||||
ATTRS{vendor}=="0x02d0", ATTRS{device}=="0xa962", \
|
||||
ENV{brcm_device}="bcm20710a1"
|
||||
|
||||
ENV{brcm_device}=="bcm20*", ACTION=="add", \
|
||||
### Broadcom bcm4330/bcm40183b2 bluetooth device
|
||||
ATTRS{vendor}=="0x02d0", ATTRS{device}=="0x4330", \
|
||||
ENV{brcm_device}="bcm40183b2"
|
||||
|
||||
ENV{brcm_device}=="bcm*", ACTION=="add", \
|
||||
TAG+="systemd", ENV{SYSTEMD_WANTS}+="brcmfmac_sdio-firmware@$env{brcm_device}.service"
|
||||
LABEL="end"
|
||||
|
Loading…
x
Reference in New Issue
Block a user