kernel-module-qualcomm: add a new udev rule to load the module on the cc8x
The module was being loaded by the default udev rules. With this new rule, the module will be loaded with our custom qualcomm.sh script. https://jira.digi.com/browse/DEL-6067 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
257655fc1d
commit
afae4f6bfd
|
|
@ -24,11 +24,11 @@ QUALCOMM_WIFI_INTERFACE ?= "sdio"
|
||||||
QUALCOMM_WIFI_INTERFACE_ccimx8x = "pci"
|
QUALCOMM_WIFI_INTERFACE_ccimx8x = "pci"
|
||||||
|
|
||||||
SRC_URI_append = " \
|
SRC_URI_append = " \
|
||||||
|
file://81-qcom-wifi.rules \
|
||||||
file://qualcomm.sh \
|
file://qualcomm.sh \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_SDIO = " \
|
FILES_SDIO = " \
|
||||||
file://81-sdio-qcom.rules \
|
|
||||||
file://modprobe-qualcomm.conf \
|
file://modprobe-qualcomm.conf \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
@ -62,8 +62,6 @@ do_install_append() {
|
||||||
if [ "${QUALCOMM_WIFI_INTERFACE}" = "sdio" ]; then
|
if [ "${QUALCOMM_WIFI_INTERFACE}" = "sdio" ]; then
|
||||||
install -d ${D}${sysconfdir}/modprobe.d
|
install -d ${D}${sysconfdir}/modprobe.d
|
||||||
install -m 0644 ${WORKDIR}/modprobe-qualcomm.conf ${D}${sysconfdir}/modprobe.d/qualcomm.conf
|
install -m 0644 ${WORKDIR}/modprobe-qualcomm.conf ${D}${sysconfdir}/modprobe.d/qualcomm.conf
|
||||||
install -d ${D}${sysconfdir}/udev/rules.d
|
|
||||||
install -m 0644 ${WORKDIR}/81-sdio-qcom.rules ${D}${sysconfdir}/udev/rules.d/
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install -d ${D}${base_libdir}/firmware/wlan/
|
install -d ${D}${base_libdir}/firmware/wlan/
|
||||||
|
|
@ -71,6 +69,8 @@ do_install_append() {
|
||||||
install -m 0644 ${WORKDIR}/git/firmware_bin/WCNSS_qcom_cfg.ini ${D}${base_libdir}/firmware/wlan/qcom_cfg.ini
|
install -m 0644 ${WORKDIR}/git/firmware_bin/WCNSS_qcom_cfg.ini ${D}${base_libdir}/firmware/wlan/qcom_cfg.ini
|
||||||
install -d ${D}${sysconfdir}/udev/scripts
|
install -d ${D}${sysconfdir}/udev/scripts
|
||||||
install -m 0755 ${WORKDIR}/qualcomm.sh ${D}${sysconfdir}/udev/scripts/
|
install -m 0755 ${WORKDIR}/qualcomm.sh ${D}${sysconfdir}/udev/scripts/
|
||||||
|
install -d ${D}${sysconfdir}/udev/rules.d
|
||||||
|
install -m 0644 ${WORKDIR}/81-qcom-wifi.rules ${D}${sysconfdir}/udev/rules.d/
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} += " \
|
FILES_${PN} += " \
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Load Qualcomm wireless module (sdio)
|
||||||
|
SUBSYSTEM=="sdio", ACTION=="add", ENV{MODALIAS}=="sdio:c00v0271d050A", RUN="/etc/udev/scripts/qualcomm.sh"
|
||||||
|
# Load Qualcomm wireless module (pci)
|
||||||
|
SUBSYSTEM=="pci", ACTION=="add", ENV{MODALIAS}=="pci:v0000168Cd0000003Esv*sd*bc*sc*i*", RUN="/etc/udev/scripts/qualcomm.sh"
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
# Load Qualcomm wireless module
|
|
||||||
SUBSYSTEM=="sdio", ACTION=="add", ENV{MODALIAS}=="sdio:c00v0271d050A", RUN="/etc/udev/scripts/qualcomm.sh"
|
|
||||||
Loading…
Reference in New Issue