You are not logged in.

#1 2019-01-02 17:05:34

leomp12
Member
Registered: 2019-01-02
Posts: 8

WiFi LEDs not switching on HP Elitebook 830 G5

Hello,
I'm having an annoying trouble with the WiFi/Bluetooth LEDs on my HP Elitebook 830 G5 laptop (The other LEDs are working well), if someone can help I'll be really grateful.
WiFi connection is good and the WiFi button also works as expected, phy0-led is present:

# cat /sys/class/leds/phy0-led/trigger

produces:

none kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock usb-gadget usb-host disk-activity disk-read disk-write ide-disk mtd nand-disk cpu cpu0 cpu1 cpu2 cpu3 panic AC-online BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill-any rfkill-none rfkill0 phy0rx phy0tx phy0assoc [phy0radio] bluetooth-power hci0-power rfkill1

phy0-led/brightness is switching (0 and 1) as expected, so:

# cat /sys/class/leds/phy0-led/brightness

returns 0 when WiFi is off and 1 when WiFi is on, even though, the LED is always at the same state (0).

hp_wmi and hp_wireless modules are loading by default, I've tried blacklisting hp_wmi with no results.
I've also tried with led_mode="1" param (iwlwifi module) but nothing...

It's working on Windows and on my old HP laptop also worked (and still working) out of the box with Arch. neutral

Edit (additional info):

$ ls /sys/class/leds
input4::capslock  input4::numlock  input4::scrolllock  phy0-led
$ uname -r
4.19.12-arch1-1-ARCH

On Windows the LED works even with bluetooth off (and WiFi on), but I've also tried with bluetooth powered on (disabled by default) on Linux (bluetooth and WiFi on) and the LED still off (orange on my laptop, should be white).

Last edited by leomp12 (2019-01-02 20:04:08)

Offline

#2 2019-01-26 17:20:24

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 386

Re: WiFi LEDs not switching on HP Elitebook 830 G5

Are you using the ath9k kernel module? If so, you can add the blink=1 module option via a file in /etc/modprobe.d
See...

modinfo ath9k | grep blink

Offline

#3 2019-01-28 12:58:06

leomp12
Member
Registered: 2019-01-02
Posts: 8

Re: WiFi LEDs not switching on HP Elitebook 830 G5

paulkerry wrote:

Are you using the ath9k kernel module?

Hello, I'm not using ath9k module.

Offline

#4 2019-01-31 15:31:22

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 386

Re: WiFi LEDs not switching on HP Elitebook 830 G5

leomp12 wrote:
paulkerry wrote:

Are you using the ath9k kernel module?

Hello, I'm not using ath9k module.

so what are you using?

lspci -v

might be useful.

Offline

#5 2019-02-04 15:27:24

leomp12
Member
Registered: 2019-01-02
Posts: 8

Re: WiFi LEDs not switching on HP Elitebook 830 G5

paulkerry wrote:

so what are you using?

As i've mentioned on the first post, I'm using iwlwifi (the module for my WiFi card), and I've also tried led_mode="1", which seams to be the same as blink="1" for ath9k module.

$ lspci -v
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
        Subsystem: Hewlett-Packard Company Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])
        DeviceName: Onboard IGD
        Subsystem: Hewlett-Packard Company HD Graphics 620
        Flags: bus master, fast devsel, latency 0, IRQ 132
        Memory at 1ff2000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 1fc0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
        Subsystem: Hewlett-Packard Company Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
        Flags: fast devsel, IRQ 16
        Memory at 1ff3010000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company Sunrise Point-LP USB 3.0 xHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 123
        Memory at b6320000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
        Subsystem: Hewlett-Packard Company Sunrise Point-LP Thermal subsystem
        Flags: fast devsel, IRQ 18
        Memory at 1ff3020000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
        Subsystem: Hewlett-Packard Company Sunrise Point-LP Serial IO I2C Controller
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at 1ff301f000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
        Subsystem: Hewlett-Packard Company Sunrise Point-LP Serial IO I2C Controller
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at 1ff301e000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
        Subsystem: Hewlett-Packard Company Sunrise Point-LP CSME HECI
        Flags: bus master, fast devsel, latency 0, IRQ 122
        Memory at 1ff301d000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:1c.0 PCI bridge: Intel Corporation Device 9d13 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: None
        Memory behind bridge: b6200000-b62fffff [size=1M]
        Prefetchable memory behind bridge: None
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=02, subordinate=3a, sec-latency=0
        I/O behind bridge: 00004000-00004fff [size=4K]
        Memory behind bridge: a0000000-b60fffff [size=353M]
        Prefetchable memory behind bridge: 0000001fd0000000-0000001ff1ffffff [size=544M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=3b, subordinate=3b, sec-latency=0
        I/O behind bridge: None
        Memory behind bridge: b6100000-b61fffff [size=1M]
        Prefetchable memory behind bridge: None
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
        Subsystem: Hewlett-Packard Company Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E
        Flags: bus master, fast devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
        Subsystem: Hewlett-Packard Company Sunrise Point-LP PMC
        Flags: fast devsel
        Memory at b6330000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) (prog-if 80)
        Subsystem: Hewlett-Packard Company Sunrise Point-LP HD Audio
        Flags: bus master, fast devsel, latency 64, IRQ 125
        Memory at 1ff3018000 (64-bit, non-prefetchable) [size=16K]
        Memory at 1ff3000000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
        Subsystem: Hewlett-Packard Company Sunrise Point-LP SMBus
        Flags: medium devsel, IRQ 16
        Memory at 1ff301c000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
        Subsystem: Hewlett-Packard Company Ethernet Connection (4) I219-LM
        Flags: fast devsel, IRQ 133
        Memory at b6300000 (32-bit, non-prefetchable) [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: e1000e
        Kernel modules: e1000e

01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Flags: bus master, fast devsel, latency 0, IRQ 131
        Memory at b6200000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981 (prog-if 02 [NVM Express])
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
        Memory at b6100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: nvme

Last edited by leomp12 (2019-02-04 15:29:24)

Offline

#6 2019-02-05 15:43:16

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 386

Re: WiFi LEDs not switching on HP Elitebook 830 G5

The iwlwifi "led_mode" options should have done something - have you tried each of the numeric options as described in

modinfo iwlwifi | grep led_mode

Perhaps it's a kernel issue - have you tried linux-lts?

Offline

#7 2019-02-05 15:50:30

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 386

Re: WiFi LEDs not switching on HP Elitebook 830 G5

leomp12 wrote:

$ uname -r
4.19.12-arch1-1-ARCH

Hang on - why are using this kernel?

I'm using the lts kernel and that's currently at version 4.19.19-1-lts and I notice from the online list of packages, linux is at 4.20.6.arch1-1

Offline

#8 2019-02-05 16:08:59

leomp12
Member
Registered: 2019-01-02
Posts: 8

Re: WiFi LEDs not switching on HP Elitebook 830 G5

paulkerry wrote:

The iwlwifi "led_mode" options should have done something

Yes, it does, the brightness of the led on /sys/class is changed reflecting the module option, it also switches with default option (led_mode="0") following the hardware state, as expected.
The problem is that the LED color isn't changing according to brightness on /sys/class:

cat /sys/class/leds/phy0-led/brightness

switches to 0 and 1 correctly, but the LED is always orange (off).

paulkerry wrote:

Perhaps it's a kernel issue - have you tried linux-lts?

Not yet, may be an option...

Offline

#9 2019-02-05 16:12:07

leomp12
Member
Registered: 2019-01-02
Posts: 8

Re: WiFi LEDs not switching on HP Elitebook 830 G5

paulkerry wrote:

Hang on - why are using this kernel?

I'm using the lts kernel and that's currently at version 4.19.19-1-lts and I notice from the online list of packages, linux is at 4.20.6.arch1-1

I was using this kernel when I opened this post (it was the current version), now I'm using 4.20.6:

$ uname -r                                         
4.20.6-arch1-1-ARCH

Offline

Board footer

Powered by FluxBB