You are not logged in.
Pages: 1
Topic closed
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.
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
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
Are you using the ath9k kernel module?
Hello, I'm not using ath9k module.
Offline
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
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
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
$ 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
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).
Perhaps it's a kernel issue - have you tried linux-lts?
Not yet, may be an option...
Offline
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
Hi, I'm having the same problem on Elitebook 830 G5, I tried to switch kernel, load and unload modules, but no chance to get that led working!
Have you solved that in somehow?
(I'm using Manjaro)
Thank you so much in advance
Offline
Closing this old thread.
The kernel has changed quite a bit since 4.20
Also, Manjaro is not Arch Linux. Please ask on their forums.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed