HP Laptop Wifi Indicator Behaviour

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
N3wb

HP Laptop Wifi Indicator Behaviour

Post by N3wb »

Is there any additional driver available to install to enable Wi-Fi LED indicator to turn blue when on and orange when off? (Or at the very least no light when off and any colour when on)

Code: Select all

$ inxi -Fx
System:    Host: HP-Pav15-PC Kernel: 4.15.0-36-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Hewlett-Packard product: HP Pavilion 15 Notebook PC v: 098C110000404100000610180 serial: N/A
           Mobo: Hewlett-Packard model: 2166 v: 29.42 serial: N/A
           UEFI: Insyde v: F.67 date: 11/26/2014
Battery    BAT0: charge: 22.7 Wh 100.0% condition: 22.7/22.7 Wh (100%)
           model: Hewlett-Packard Primary status: Full
CPU:       Dual core Intel Core i5-4200U (-MT-MCP-) 
           arch: Haswell rev.1 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9179
           clock speeds: max: 2600 MHz 1: 1469 MHz 2: 1673 MHz 3: 1804 MHz
           4: 1575 MHz
Graphics:  Card-1: Intel Haswell-ULT Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: NVIDIA GK208M [GeForce GT 740M] bus-ID: 0a:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1366x768@59.99hz
           OpenGL: renderer: GeForce GT 740M/PCIe/SSE2
           version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Haswell-ULT HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card-1: Ralink RT3290 Wireless 802.11n 1T/1R PCIe
           driver: rt2800pci v: 2.3.0 bus-ID: 08:00.0
           IF: wlo1 state: up mac: 48:5a:b6:c4:c5:9d
           Card-2: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 09:00.0
           IF: eno1 state: down mac: a0:1d:48:df:4b:1a
Drives:    HDD Total Size: 2000.4GB (45.2% used)
           ID-1: /dev/sda model: HGST_HTS541010A9 size: 1000.2GB
           ID-2: USB /dev/sdb model: My_Passport_259F size: 1000.2GB
Partition: ID-1: / size: 19G used: 9.5G (54%) fs: ext4 dev: /dev/sda7
           ID-2: /home size: 278G used: 40G (15%) fs: ext4 dev: /dev/sda9
           ID-3: swap-1 size: 8.19GB used: 0.00GB (0%)
           fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 56.0C mobo: N/A gpu: 0.0:48C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 241 Uptime: 1:45 Memory: 2651.8/7906.9MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
I feel like this file needs to be modified:

Code: Select all

/sys/class/leds/rt2800pci-phy0::radio$ cat trigger 
[none] rfkill-any kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock ACAD-online usb-gadget usb-host disk-activity ide-disk mtd nand-disk cpu cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 panic BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid mmc0 rfkill0 phy0rx phy0tx phy0assoc phy0radio
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: HP Laptop Wifi Indicator Behaviour

Post by smurphos »

I think this is likely to be an issue specific to your hardware and kernel support. Might be worth checking your BIOS for any options relating to the LED lights,

On my slightly older HP laptop the Wifi LED indicator works fine out of the box - blue for wifi enabled, red for wifi disabled. I've got a different ralink wifi card, but it uses the same driver as yours. Same kernel, same Mint version.

Edit to add - you are not alone with this issue for your wifi card.

e.g. - https://bbs.archlinux.org/viewtopic.php?id=161611 & https://unix.stackexchange.com/question ... linux-mint & https://askubuntu.com/questions/747800/ ... class-leds
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
N3wb

Re: HP Laptop Wifi Indicator Behaviour

Post by N3wb »

smurphos wrote: Sun Oct 07, 2018 3:45 am I think this is likely to be an issue specific to your hardware and kernel support. Might be worth checking your BIOS for any options relating to the LED lights,

On my slightly older HP laptop the Wifi LED indicator works fine out of the box - blue for wifi enabled, red for wifi disabled. I've got a different ralink wifi card, but it uses the same driver as yours. Same kernel, same Mint version.

Edit to add - you are not alone with this issue for your wifi card.

e.g. - https://bbs.archlinux.org/viewtopic.php?id=161611 & https://unix.stackexchange.com/question ... linux-mint & https://askubuntu.com/questions/747800/ ... class-leds
It works with Windows out of the box though, plus I haven't seen any LED related options in BIOS. I think I figured out how it works(based on trigger files for caps-lock and numlock), the trigger for any LED should be one in square brackets. However it's not advisable to modify files in /sys right?
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: HP Laptop Wifi Indicator Behaviour

Post by smurphos »

N3wb wrote: Sun Oct 07, 2018 1:29 pm It works with Windows out of the box though, plus I haven't seen any LED related options in BIOS. I think I figured out how it works(based on trigger files for caps-lock and numlock), the trigger for any LED should be one in square brackets. However it's not advisable to modify files in /sys right?
Under windows it will probably be using a bespoke driver provided by ralink in conjunction with your OEM so it works with your hardware. Under linux it's using an opensource driver provided by the kernel that is generic to a number of cards and in this particular case it appears that support for the LED operation just isn't there.

You can try messing around in /sys/ but no changes there are persistent. If you want to file a bug report I guess it would be to the ubuntu in the first instance as the maintainers of our kernels - https://bugs.launchpad.net/ubuntu/+source/linux

BTW way here are results of a search on the bugtracker for rt2800pci RT3290

https://bugs.launchpad.net/ubuntu/+sour ... o_package=
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
N3wb

Re: HP Laptop Wifi Indicator Behaviour

Post by N3wb »

smurphos wrote: Mon Oct 08, 2018 2:36 am
N3wb wrote: Sun Oct 07, 2018 1:29 pm It works with Windows out of the box though, plus I haven't seen any LED related options in BIOS. I think I figured out how it works(based on trigger files for caps-lock and numlock), the trigger for any LED should be one in square brackets. However it's not advisable to modify files in /sys right?
Under windows it will probably be using a bespoke driver provided by ralink in conjunction with your OEM so it works with your hardware. Under linux it's using an opensource driver provided by the kernel that is generic to a number of cards and in this particular case it appears that support for the LED operation just isn't there.

You can try messing around in /sys/ but no changes there are persistent. If you want to file a bug report I guess it would be to the ubuntu in the first instance as the maintainers of our kernels - https://bugs.launchpad.net/ubuntu/+source/linux

BTW way here are results of a search on the bugtracker for rt2800pci RT3290

https://bugs.launchpad.net/ubuntu/+sour ... o_package=
Oh, good to learn something new every time I use Linux. I just noticed even Bluetooth doesn't work (no device found) and I think the wireless card for WiFi and Bluetooth is same.
Locked

Return to “Hardware Support”