How to define the value of rfkill Soft blocked

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to define the value of rfkill Soft blocked

1,854 次查看
f1engmin11
Contributor I

my SDK is imx-yocto-L5.10.72_2.2.0,and test on imx8mm evk,when power on finish run rfkill list as below:

root@imx8mm-lpddr4-evk:~# rfkill list
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: brcmfmac-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no

and how can I make Soft blocked to "no" by config yocto or other source code ?

instead of “echo 1 > /sys/class/rfkill/rfkill0/state”

can you help me?

标签 (1)
0 项奖励
回复
3 回复数

1,834 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @f1engmin11,

I hope you are doing well.

how can I make Soft blocked to "no" by config yocto or other source code ?
->Please run the below command.
rfkill [options] command

Where put the below string as a command.
unblock index|type
(Enable the device corresponding to the given index. If the device is hard-blocked, e.g. via a hardware switch, it will remain  unavailable  though  it  is  now  soft-unblocked.)

I hope this answers your query.

Thanks & Regards,
Sanket Parekh

0 项奖励
回复

1,820 次查看
f1engmin11
Contributor I

@Sanket_Parekh 

thanks,but I mean is not use command, but via yocto source code or rootfs config file, to set the defualt value of rfkill soft status.

0 项奖励
回复

1,813 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
0 项奖励
回复