Wi-Fi hardware won't restart after closing laptop lid
Tofloor
poster avatar
bradleypariah
deepin
2017-11-23 17:39
Author
Hello!  I love Deepin, and I'm only experiencing one problem with it.  

I've got an HP Compaq 8510p, and although the touch-sensitive soft key above the keyboard works to turn the Wi-Fi hardware on and off, if I close my laptop lid, after logging back into the system, the soft key stops working, and the hardware is unable to be turned back on.  The little switch that pops up when I click the Wi-Fi icon in the dock shows the Wi-Fi is off, but if I try to turn the switch on, nothing happens, and the soft key still doesn't work.

I end up having to reboot my laptop about 7/10 times after I close my lid.

Reply Favorite View the author
All Replies
melodyzou
deepin
2017-11-23 19:52
#1
Please execute command
  1. sudo deepin-feedback-cli   
Copy the Code
and then attach the log here when the issue happen.
Reply View the author
bradleypariah
deepin
2017-11-28 20:34
#2
deepin-feedback-cli-Deepin-15.5 Beta-all-20171127-203048.tar.gz

Here is the log.  Thank you for taking a look.


Reply View the author
melodyzou
deepin
2017-11-28 22:55
#3
https://bbs.deepin.org/user/33250 Please look at this issue.
Reply View the author
yanbowen
deepin
2017-11-29 01:02
#4
https://bbs.deepin.org/post/148814
Here is the log.  Thank you for taking a look.

Upload log again after your problem occurred, thanks!
Reply View the author
bradleypariah
deepin
2017-11-29 19:48
#5
That log I just posted above was collected immediately upon experiencing the issue.  I had to reboot the computer afterward just to get WiFi to work so I could log in here and uploaded the file.  I will try to get it to fail again though.  
Reply View the author
bradleypariah
deepin
2017-11-29 19:55
#6
deepin-feedback-cli-Deepin-15.5 Beta-all-20171128-195103.tar.gz

Here you go.  I closed the lid, waited for sleep, and logged back in.  Wi-Fi icon was off, so I switched it on, but the hardware softkey wouldn't turn back on.

Reply View the author
yanbowen
deepin
2017-11-29 21:21
#7
https://bbs.deepin.org/post/148814
Here you go.  I closed the lid, waited for sleep, and logged back in.  Wi-Fi icon was off, so I sw ...

https://bbs.deepin.org/user/32991 Please look at this issue.
Reply View the author
yangbo
deepin
2017-12-14 00:30
#8
When resume, the normal sequence is
iwl4965 0000:10:00.0: RF_KILL bit toggled to disable radio.
Nov 27 20:26:39 compaq8510p kernel: iwl4965 0000:10:00.0: RF_KILL bit toggled to enable radio.
Nov 27 20:26:39 compaq8510p kernel: iwl4965 0000:10:00.0: On demand firmware reload
Nov 27 20:26:39 compaq8510p kernel: ieee80211 phy0: Hardware restart was requested

But when it is not functional
iwl4965 0000:10:00.0: RF_KILL bit toggled to disable radio.
Nov 27 20:26:39 compaq8510p kernel: iwl4965 0000:10:00.0: RF_KILL bit toggled to enable radio.
Nov 27 20:26:39 compaq8510p kernel: iwl4965 0000:10:00.0: On demand firmware reload
Nov 27 20:26:39 compaq8510p kernel: iwl4965 0000:10:00.0: RF_KILL bit toggled to disable radio.
Nov 27 20:26:39 compaq8510p kernel: ieee80211 phy0: Hardware restart was requested

it is disabled unexpectly.

browse the code, find out the status is read from register in irq handler. however, when press the button, there is no interrupt...
It doesn't look like software issue...

Could please try another os or another version of kernel? to see if there is any difference?
Reply View the author