У меня проблема с Wi-Fi не работает после возобновления.
Я уже пробовал много решений через Google.
Что у меня сейчас есть:
cat /etc/pm/sleep.d/wakenet.sh
#!/bin/bash
case "$1" in
thaw|resume)
nmcli nm sleep false
pkill -f wpa_supplicant
;;
*)
;;
esac
exit $?
cat / etc / pm /config.d/config
SUSPEND_MODULES="ath10k_pci"
Журнал ошибок после возобновления:
ath10k_pci 0000:04:00.0: Refused to change power state, currently in D3
[ 52.941724] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x00034400: -110
[ 52.952859] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x00034404: -110
[ 52.963313] ath10k_pci 0000:04:00.0: failed to wake target for read32 at 0x00034410: -110
[ 52.973762] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0xffff0000 at 0x00034410: -110
[ 52.984213] ath10k_pci 0000:04:00.0: failed to wake target for read32 at 0x0003444c: -110
[ 52.994663] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0xffff0000 at 0x0003444c: -110
[ 53.005114] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x00034408: -110
[ 53.015563] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x0003440c: -110
[ 53.026037] ath10k_pci 0000:04:00.0: failed to wake target for read32 at 0x00034450: -110
[ 53.036495] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0xffff0000 at 0x00034450: -110
[ 54.332051] ath10k_pci 0000:04:00.0: pci irq legacy interrupts 0 irq_mode 0 reset_mode 0
[ 57.467798] ath10k_pci 0000:04:00.0: failed to read device register, device is gone
[ 57.467809] ath10k_pci 0000:04:00.0: failed to reset chip: -5
[ 57.478781] ath10k_pci: probe of 0000:04:00.0 failed with error -5
uname -a
Linux sahal 4.4.0-18-generic # 34 ~ 14.04.1-Ubuntu SMP чт 7 апреля 18:31:54 UTC 2016 x86_64 x86_64 x86_64 GNU / Linux
I действительно нужна помощь сейчас Спасибо!
Я использовал Owais Одинокий ответ на подобный вопрос для включения автоматического резюме о Wi-Fi после приостановки для моего ноутбука (Dell Precision) на 16.04 LTS.
Как Owais, я создал/etc/pm/sleep.d/10_resume_wifi:
#!/bin/sh
case "${1}" in
resume|thaw)
nmcli radio wifi off && nmcli radio wifi on;;
esac
сопровождаемый sudo chmod +x /etc/pm/sleep.d/10_resume_wifi
.
В случае, если Вы задаетесь вопросом о двойных точках с запятой или уединенной близкой круглой скобке как, я был, см. http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_03.html - это, как синтаксис случая работает.
Я нашел решение наконец! Просто сделайте этот сценарий для удаления модуля, прежде чем приостановят и перезагрузят после.