How to define the value of rfkill Soft blocked

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to define the value of rfkill Soft blocked

879 Views
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?

Labels (1)
0 Kudos
Reply
3 Replies

859 Views
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 Kudos
Reply

845 Views
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 Kudos
Reply