PKGBUILDs/alarm/firmware-brcm43xx/80-brcm43xx-firmware.rules
Alejandro Ojeda Gutiérrez fda0ff63c0 alarm/firmware-brcm43xx to 1.2
2024-07-01 14:56:07 -04:00

19 lines
No EOL
812 B
Text

################################################################################
# udev rules file for loading brcmfmac_sdio-firmware
################################################################################
ACTION!="add", GOTO="end"
SUBSYSTEMS=="sdio", ATTRS{vendor}=="0x02d0", ATTRS{device}=="0x4329", GOTO="begin"
SUBSYSTEMS=="sdio", ATTRS{vendor}=="0x02d0", ATTRS{device}=="0x4330", GOTO="begin"
GOTO="end"
LABEL="begin"
### Broadcom bcm4330 bluetooth device
ATTRS{vendor}=="0x02d0", ATTRS{device}=="0x4330", \
ENV{brcm_device}="bcm4330"
### Broadcom bcm4329 bluetooth device
ATTRS{vendor}=="0x02d0", ATTRS{device}=="0x4329", \
ENV{brcm_device}="bcm4329"
ENV{brcm_device}=="bcm43*", ACTION=="add", \
TAG+="systemd", ENV{SYSTEMD_WANTS}+="brcm43xx-firmware@$env{brcm_device}.service"
LABEL="end"