0
点赞
收藏
分享

微信扫一扫

android 7.1-RTL8723BS-RTL8723DS 注意事项

楠蛮鬼影 2022-04-13 阅读 32

RTL8723DS 编译注意事项:在8723ds.ko编译成功且lsmod显示加载成功依然打不开的情况,请重新命令加载,rmmod 8723ds 然后insmod /system/lib/modules/8723ds.ko

如果此时系统WIFI和蓝牙正常能打开并且搜索成功,重启设备就打不开了,需要修改hardware\libhardware_legacy\wifi\rk_wifi_ctrl.c 芯片的识别默认WIFI模块

int check_wifi_chip_type_string(char *type)
{
    if (identify_sucess == -1) {
        if (get_wifi_device_id(SDIO_DIR, PREFIX_SDIO) == 0)
            ALOGD("SDIO WIFI identify sucess");
        else if (get_wifi_device_id(USB_DIR, PREFIX_USB) == 0)
            ALOGD("USB WIFI identify sucess");
        else if (get_wifi_device_id(PCIE_DIR, PREFIX_PCIE) == 0)
            ALOGD("PCIE WIFI identify sucess");
        else {
            ALOGD("maybe there is no usb wifi or sdio or pcie wifi,set default wifi module Brocom APXXX");
            strcpy(recoginze_wifi_chip, "RTL8723DS");
            identify_sucess = 1 ;
        }
    }

    strcpy(type, recoginze_wifi_chip);
    ALOGD("%s: %s", __func__, type);
    return 0;
}


一般RTL8723DS 蓝牙连接不稳定是需要打开上层设置的心跳  <bool name="profile_supported_rtkbt">true</bool>
文件路径packages/apps/Bluetooth/res/values/config.xml

一般RTL8723BS 蓝牙连接不稳定是需要关闭上层设置的心跳  <bool name="profile_supported_rtkbt">false</bool>
文件路径packages/apps/Bluetooth/res/values/config.xml

举报

相关推荐

0 条评论