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;
}
Solved! Go to Solution.
did you use 1CQ qca6174A? suggest customer to get help from vendor, 1CQ qca6174A,The wifi firmware / device driver is from them.
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
Sir,
I met the same problem , Could you please tell how to get qca61741a firmware binary? How can I porting android 8.1 BSP.
Thanks for you help.
Eric
did you use 1CQ qca6174A? suggest customer to get help from vendor, 1CQ qca6174A,The wifi firmware / device driver is from them.
Thanks for your reply.
I got the wcnss_filter source code and compiled it ,ingored some write permission issue .
Now the bluetooth works well.