iwm0: could not initiate scan

Tomasz CEDRO tomek at cedro.info
Sat Jun 13 03:57:41 UTC 2020

Hello world :-)

I have wpa_supplicant() enabled by default on my laptop. But also I
have radio disable switch. I want to use WiFi only when the radio
switch is set to on, otherwise I want radio to remain silent. That
works fine, except when radio is turned off the iwm driver trashes my
dmesg with following:

+iwm0: could not initiate scan

After some time I only get those messages in my dmesg log, what I
consider unwanted and unnecessary massage flood.

How can I get rid of those messages when iwm driver radio is off?

Shouldn't iwm or wpa_supplicant check in the first place whether radio
is enabled?

Should I diable wpa_supplicant by default and then start it by hand
when needed? Is there any other simple and elegant way like the radio
switch button?

I also imagine that this situation may have negative impact on power
usage on the laptop?

Any hints appreciated :-)

ps/2: How can I enable timestamp before each dmesg line so I know when
the message was generated? This may be beneficial and I think this
could be enabled by default..? :-)

CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

More information about the freebsd-questions mailing list