ROC-RK3308B-CC V1.0串口打印问题
怎么样才能关掉以下的串口打印信息:[ 53.382472] ==> rtl8188e_iol_efuse_patch
[ 53.720862] RTW: wlan0- hw port(0) mac_addr =ac:5d:5c:fb:29:fa
[ 53.721598] RTW: p2p0- hw port(1) mac_addr =ae:5d:5c:fb:29:fa
[ 53.727927] RTW: nolinked power save leave 本帖最后由 firefly_zhongw 于 2020-1-17 10:06 编辑
rtl8188eu打印信息:
方式一: 连上wifi成功后,就不会出现以上wifi相关的打印信息
方式二:echo 0 > /sys/module/8188eu/parameters/rtw_drv_log_level
方式三:修改驱动源码把rtw_drv_log_level的默认值改0diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile
index d3a60ea..1a2519b 100644
--- a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile
@@ -77,7 +77,7 @@ CONFIG_RTW_GRO = y
CONFIG_RTW_DEBUG = y
# default log level is _DRV_INFO_ = 4,
# please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
-CONFIG_RTW_LOG_LEVEL = 2
+CONFIG_RTW_LOG_LEVEL = 0
######################## Wake On Lan ##########################
CONFIG_WOWLAN = y
CONFIG_GPIO_WAKEUP = y
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c
index 9188ad9..e63d6be 100644
--- a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c
@@ -422,7 +422,7 @@ static s32 iol_read_efuse(
s32 rtl8188e_iol_efuse_patch(PADAPTER padapter)
{
s32 result = _SUCCESS;
- printk("==> %s\n", __FUNCTION__);
+ RTW_PRINT("==> %s\n", __FUNCTION__);
if (rtw_IOL_applied(padapter)) {
iol_mode_enable(padapter, 1);
firefly_zhongw 发表于 2020-1-16 16:39
rlt8188eu打印信息:
方式一: 连上wifi成功后,就不会出现以上wifi相关的打印信息
方式二:echo 0 > /sy ...
了解,3Q
页:
[1]