You are not logged in.

#1 2016-08-16 04:23:27

howdoeswork
Member
Registered: 2016-03-19
Posts: 7

WIFI LED status light always shows "Off" after return from suspend

Hello all.

I have installed arch, with i3, basics to get up and running. My WIFI was working out of the box, including the function key (fn + F12) to turn on and off the networking card. This button has a status light, red/orange for off, and blue/white for on. When freshly logged in, this button works fine, status shows fine, everything is fine. However, if I suspend (with WIFI on and indicator showing blue/white), then unsuspend the button still works, but the indicator stays red/orange.

I've tried looking through the wiki for this, but the only mentions for this are related to Intel chipsets, but this thing is using broadcom:

07:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
	Subsystem: Hewlett-Packard Company Device 1795
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at f0300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma

I did find this one post that was somewhat helpful at first, suggesting I look in /sys for "led files" to mess with which turned up this:

[user@laptop ~]$ find /sys -name 'led*'
/sys/devices/pci0000:00/0000:00:01.1/sound/card0/input14/capabilities/led
/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/input/input19/capabilities/led
/sys/devices/pci0000:00/0000:00:14.2/sound/card1/input15/capabilities/led
/sys/devices/pci0000:00/0000:00:14.2/sound/card1/input17/capabilities/led
/sys/devices/pci0000:00/0000:00:14.2/sound/card1/input18/capabilities/led
/sys/devices/pci0000:00/0000:00:15.1/0000:07:00.0/bcma0:1/leds
/sys/devices/virtual/input/input16/capabilities/led
/sys/devices/platform/i8042/serio0/input/input0/capabilities/led
/sys/devices/platform/i8042/serio4/input/input13/capabilities/led
/sys/devices/platform/pcspkr/input/input9/capabilities/led
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input5/capabilities/led
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input6/capabilities/led
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input7/capabilities/led
/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input8/capabilities/led
/sys/class/leds
find: ‘/sys/kernel/debug’: Permission denied
/sys/module/led_class

I found "/sys/class/leds/brcmsmac-phy0:radio/" which I thought might be helpful, but none of the files in there showed anything that seemed relevant.

I'm at an end here, and I was hoping someone could help me figure this out. Please and thanks.

Offline

#2 2016-08-18 22:33:15

franz.mokka
Member
Registered: 2015-02-11
Posts: 3
Website

Re: WIFI LED status light always shows "Off" after return from suspend

This is also happening to me; I installed Arch on this computer months ago, but only started noticing it this week.

My wireless card is from Qualcomm/Atheros rather than Broadcom, but I believe we both have HP laptops:

02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
	Subsystem: Hewlett-Packard Company AR9485/HB125 802.11bgn 1×1 Wi-Fi Adapter
	Physical Slot: 0
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at f0200000 (64-bit, non-prefetchable) [size=512K]
	Expansion ROM at f0280000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: ath9k
	Kernel modules: ath9k

The controls for the LEDs should be in /sys/class/leds/, in my case, inside /sys/class/leds/ath9k-phy0/. For what I understand, there should be a "trigger" file listing the events the LED responds to; In my computer, this file shows "phy0radio" as active, but the wiki only mentions this as removing the blinking when Wi-Fi is used.

Offline

#3 2016-08-22 06:08:50

howdoeswork
Member
Registered: 2016-03-19
Posts: 7

Re: WIFI LED status light always shows "Off" after return from suspend

You are correct, I am also on an HP. Pavillion G6 in fact.

I have one of those files as well, however the issue I run into is not knowing anything about what to do with these triggers. Or how to use them. Or what most of them correspond to.

Any ideas? My research isn't turning up anything on this.

Offline

#4 2016-08-23 10:08:40

ert65
Member
Registered: 2016-04-10
Posts: 3

Re: WIFI LED status light always shows "Off" after return from suspend

Same problem on ACER v3-571g with Atheros wifi. I think the poblem began with the update of the new kernel 4.7. If i use LTS kernel, there is no problem

03:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
    Subsystem: Foxconn International, Inc. Device e052
    Kernel driver in use: ath9k
    Kernel modules: ath9k

Offline

#5 2016-09-03 19:13:14

howdoeswork
Member
Registered: 2016-03-19
Posts: 7

Re: WIFI LED status light always shows "Off" after return from suspend

LTS or latest shows no difference for me.

However I have an update. I installed bluez, bluez-utils, and blueman, along with whatever dependencies they had. I'm using bluetooth tethering at the moment to get internet and the light now blinks between blue and red.

Haven't had time to look into this to figure out all changed.

Last edited by howdoeswork (2016-09-03 19:13:27)

Offline

#6 2016-09-04 11:38:36

howdoeswork
Member
Registered: 2016-03-19
Posts: 7

Re: WIFI LED status light always shows "Off" after return from suspend

I have more or less solved the issue, but not the core problem. I was using NetworkManager originally when configuring my wireless. I then removed it entirely, and went to configuring manually which showed the status lights correctly. This got me thinking it was a problem with NetworkManger itself. I installed wicd to see if this would be a common issue with graphical "automatic setup" options, and everything worked fine. I was having connectivity issues a lot as well when using NetworkManager, and with wicd there's not a blip. All issues are resolved now that I'm using wicd.

When I get more time I might go back to NetworkManager for a bit and try to dig into why that was happening with that utility.

Offline

#7 2016-09-06 09:14:50

howdoeswork
Member
Registered: 2016-03-19
Posts: 7

Re: WIFI LED status light always shows "Off" after return from suspend

Final solution, totally fixed by installing the wl driver for the broadcom card I'm using. Sorry franz.mokka but this won't address your issue. You may need to install a different set of firmware yourself.

Offline

#8 2016-09-09 00:35:16

franz.mokka
Member
Registered: 2015-02-11
Posts: 3
Website

Re: WIFI LED status light always shows "Off" after return from suspend

In my case (and i'd guess it works for other Atheros cards), the LED starts working again if I reload the "ath9k" module:

# rmmod ath9k && modprobe ath9k

I remember this sort of thing could be done at suspend using pm-utils, but I'm not sure if this is still the recommended method on systemd.

That said, doing this wasn't necessary before, and what's causing this problem is still a mystery to me.

Offline

Board footer

Powered by FluxBB