Hi ALL:
The bluetooth turn on need to use wcnss_filter . When i got the wcnss_filter source file and push the file to /vendor/bin after compiled succuess. I found it can`t create file on /data directory . Only read permission access.
How to do it if I wan`t create file on any directory
init.freescale.rc
service start_hci_filter /vendor/bin/wcnss_filter
 class late_start
 user bluetooth
 group bluetooth diag
 disabled
wcnss_filter/main.c
 ALOGV("%s: open: %s", __func__, PROC_PANIC_PATH);
 fd_sysrq = open(PROC_PANIC_PATH, O_RDWR);     ##PROC_PANIC_PATH set to /data/sysrq-trigger
 if(fd_sysrq < 0) {
 ALOGE("%s: open (%s) fail - %s (%d)", __func__,
 PROC_PANIC_PATH, strerror(errno), errno);
 return -1;
 }
已解决! 转到解答。
Sir,
My Android BSP version is 8.1.0_1.3.0, I find the QCA6174A's firmware(original ) located on external/qca-linux/1CQ/xxxx.bin and external/linux-firmware/ath10k/QCA6174A/hw3.0/xxxx.bin. my question is , since the firmware have been included , why the buletooth function can't work too ?
PS: board name: i.MX8MQ_EVK
Eric