Page: 1, 2  Next

Since 4.19 WiFi cannot be enabled after booting on battery
phd
Status: Interested
Joined: 20 Dec 2018
Posts: 15
Reply Quote
Since 4.19 WiFi card cannot be enabled after booting on battery, without power cable plugged in.

Once I plug the power cable in, I can turn WiFi card on and set the interface up.
It also continues to work after waking up from suspend, even without power cable.

This worked flawlessly with Liquorix 4.18.
Also it still works fine with Ubuntu's 4.18 kernel (both generic and lowlatency).

So I'm not sure if it is a problem with Liquorix build or 4.19 kernel in general.
Anyone has similar issues with 4.19?
Drivers maybe?

:: Code ::
[  727.096280] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[  727.103536] ERROR @wl_cfg80211_scan :
[  727.103540] WLC_SCAN error (-22)


:: Code ::
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43227 802.11b/g/n
        Subsystem: Foxconn International, Inc. BCM43227 802.11b/g/n
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at d1900000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-78-ff-ff-06-cc-af
        Capabilities: [16c] Power Budgeting <?>
        Kernel driver in use: wl
        Kernel modules: bcma, wl

Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 763
Reply Quote
Try the latest kernel that was released last night, it has a fix for suspend issues with wifi / usb.
Back to top
phd
Status: Interested
Joined: 20 Dec 2018
Posts: 15
Reply Quote
:: Quote ::
Try the latest kernel that was released last night
Do you mean liquorix 4.19.0-12.2, or the upstream Linux 4.20?

As for liquorix 4.19.0-12.2 (and today's 4.19.0-12.3) this issue is still present.

:: Quote ::
it has a fix for suspend issues with wifi / usb.
This is more a boot / power management problem. Suspend doesn't affect this issue.
Back to top
phd
Status: Interested
Joined: 20 Dec 2018
Posts: 15
Reply Quote
@damentz

Since some later 4.19 and all 4.20 releases of Liquorix kernel there is an improvement.
Like you said, after wake up the WiFi card is now active, so this issue was solved.
Unfortunately it is still deactivated after cold boot.

So now I have to boot my laptop (to no WiFi), then suspend it and wake it up again (and now I have WiFi).
But at least I do not need to connect external power.

Any ideas how can I activate it manually without suspend?
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 763
Reply Quote
Can you provide the output of:

:: Code ::
lsmod | egrep 'bcma|wl'


Maybe we can come up w/ a script that reloads the entire wireless stack and that might fix your problems after a cold boot.
Back to top
phd
Status: Interested
Joined: 20 Dec 2018
Posts: 15
Reply Quote
:: Code ::
# lsmod | egrep 'bcma|wl'
wl                   6467584  0
cfg80211              753664  1 wl


Both after cold boot (no WiFi) and wake up (working WiFi).
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 763
Reply Quote
Hmm, what happens if you run the following after a cold boot?

:: Code ::
sudo modprobe -r wl && sudo modprobe wl


I'm surprised that bcma is not listed since it's part of your lspci output, but I suppose that's normal for Broadcom's wl driver.
Back to top
phd
Status: Interested
Joined: 20 Dec 2018
Posts: 15
Reply Quote
> Hmm, what happens if you run the following after a cold boot?
> sudo modprobe -r wl && sudo modprobe wl

I tried this already, sorry I haven't mentioned this in my previous post.
Unfortunately it doesn't change anything.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 763
Reply Quote
Darn, seems like it's a bad interaction with wl and 4.19 / 4.20.

What laptop do you have? Can you provide inxi -b output?
Back to top
phd
Status: Interested
Joined: 20 Dec 2018
Posts: 15
Reply Quote
It's quite old ACER Aspire 5750G laptop.

:: Code ::
# inxi -b
System:    Host: lap Kernel: 4.20.0-5.2-liquorix-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.14.5
           Distro: Ubuntu 18.10 (Cosmic Cuttlefish)
Machine:   Type: Laptop System: Acer product: Aspire 5750G v: V1.11 serial: LXRMU020251290D1311601
           Mobo: Acer model: JE50_HR serial: N/A BIOS: Acer v: 1.11 date: 05/24/2011
Battery:   ID-1: BAT0 charge: 25.1 Wh condition: 30.2/48.8 Wh (62%)
CPU:       Dual Core: Intel Core i3-2310M type: MT MCP speed: 803 MHz min/max: 800/2100 MHz
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 v: kernel
           Device-2: NVIDIA GF119M [GeForce GT 520M] driver: nouveau v: kernel
           Display: x11 server: X.Org 1.20.1 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 18.2.2
Network:   Device-1: Broadcom and subsidiaries NetLink BCM57785 Gigabit Ethernet PCIe driver: tg3
           Device-2: Broadcom and subsidiaries BCM43227 802.11b/g/n driver: wl
Drives:    Local Storage: total: 465.76 GiB used: 104.48 GiB (22.4%)
Info:      Processes: 255 Uptime: 57m Memory: 3.71 GiB used: 1.10 GiB (29.7%) Shell: bash inxi: 3.0.24

Back to top
Display posts from previous:   
Page: 1, 2  Next
All times are GMT - 8 Hours