Redpine: Wifi/BT not functioning after s3 resume

Bug #1742090 reported by Amitkumar Karwar on 2018-01-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
linux (Ubuntu)

Bug Description

System cannot be waked by wowlan, but sometimes works.
When the wowlan not works and system waked by other wakeup sources, after resume the wifi and BT would not functioning until reload driver.

The driver/FW info:
[ 395.217187] ven_rsi_91x: ================ RSI Version Info ==============
[ 395.217188] ven_rsi_91x: ================================================
[ 395.217192] ven_rsi_91x: FW Version : 1.5.4
[ 395.217198] ven_rsi_91x: Driver Version : RS9113.NB0.NL.GNU.LNX.1.2
[ 395.217200] ven_rsi_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
[ 395.217201] ven_rsi_91x: Firmware file : RS9113_WLAN_BT_DUAL_MODE.rps
[ 395.217202] ven_rsi_91x: ================================================

Kernel version: 4.4.0-98-generic
Kernel snap: caracalla-kernel version:4.4.0-98.121-1 revision:58
BIOS version: 01.00.05 (Also tested with 01.00.03)
Tested SKU: T, Media, GPA

The reproduce steps:
1. Enable Wowlan and Wol in BIOS
2. Boot up Ubuntu core
3. Connect to Wifi AP
    $ nmcli d wifi connect <my ssid> password <my password>
4. Enable wowlan
    $ sudo iw phy phy0 wowlan enable magic-packet
5. Enter suspend or hibernate
    $ sudo systemctl suspend
    $ sudo systemctl hibernate
6. Send wake signal from another machine
    # wakeonlan <Wifi MAC>
    # sudo etherwake <Wifi MAC>
7. If system not waked, try to wol or other wake source
    # wakeonlan <Ethernet MAC>
8. After resume, check the wifi/BT function, but not functioning.
    $ nmcli dev
        eth0 ethernet connected Wired connection 1
        wlan0 wifi disconnected --
        eth1 ethernet unavailable --
        cdc-wdm0 gsm unavailable --
        lo loopback unmanaged --
    $ nmcli dev wifi rescan
    $ nmcli dev wfii list
    No wifi APs found

    $ sudo bluetoothctl
        [NEW] Controller 00:23:A7:EA:65:64 0225399 [default]
        [bluetooth]# power on
        Failed to set power on: org.bluez.Error.Failed

The not functioning issue can be fixed by reload driver.
Also hibernate wakeup fails, and wake by other wake source. The Wifi/BT still functioning which could be the FW is reloaded by driver.

This bug is only for tracking purporse, please do not triage.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1742090

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Critical
summary: - Wifi/BT not functioning after s3 resume
+ Redpine: Wifi/BT not functioning after s3 resume
tags: added: originate-from-1738169 plano
Changed in linux (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → Critical
Changed in linux (Ubuntu Xenial):
status: Confirmed → Fix Committed
Stefan Bader (smb) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-xenial' to 'verification-done-xenial'. If the problem still exists, change the tag 'verification-needed-xenial' to 'verification-failed-xenial'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-xenial
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers