Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
27
rated 0 times [  27] [ 0]  / answers: 1 / hits: 175235  / 1 Year ago, wed, march 22, 2023, 7:50:50

I am affected by this bug: 869502.



A workaround which seems to stop the kernel panics for me is to disable wlan0 power management:



sudo iwconfig wlan0 power off


However it seems to automatically turn power management back on when I unplug the power cable and I think at many other times, too.



Is there something that might be causing this? Does anyone know how I can prevent it?


More From » wireless

 Answers
1

Wireless powermanagement is run by a hook in pm-utils. You can turn it off in any of the following way:



Create a file in /etc/pm/config.d.
I have named it blacklist:



gksu gedit /etc/pm/config.d/blacklist


and inside the file keep:



HOOK_BLACKLIST="wireless"


If you want to disable any other hooks, default hooks are located at /usr/lib/pm-utils/power.d/.



OR



You can just create an empty hook in either /etc/pm/sleep.d or /etc/pm/power.d. See which one works for you.
i.e.



Just do



sudo touch /etc/pm/sleep.d/wireless


OR



sudo touch /etc/pm/power.d/wireless

[#41643] Wednesday, March 22, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gavgenerati

Total Points: 120
Total Questions: 126
Total Answers: 119

Location: Marshall Islands
Member since Wed, Feb 9, 2022
2 Years ago
;