i3 / i3status

Generates status bar to use with i3bar, dzen2 or xmobar
BSD 3-Clause "New" or "Revised" License
607 stars 254 forks source link

Wireless bitrate and quality are not updated #106

Open Markus00000 opened 8 years ago

Markus00000 commented 8 years ago

When starting i3 the wireless %bitrate and %quality are fetched once but will not be updated afterwards.

iw shows the constant changes in bitrate and signal quality that i3status is missing.

Running i3status 2.10, Linux 4.3.3 and iwlwifi.

eplanet commented 8 years ago

I am using same version and same driver on my laptop, and it definitely gets updated when there are changes.

Maybe the problem lies somewhere else on your i3status configuration, do you have other settings updated while the wifi isn't ?

Markus00000 commented 8 years ago

I tested it with Linux 4.6.2.

The quality is still not updating. The bitrate is updating but shows vastly different values than iw.

Try opening two terminals and compare the outputs of:

watch -n1 iwconfig
watch -n1 iw <your WiFi device> link

iwconfig, which is deprecated, shows the same bitrate as i3status. iw shows a different, constantly changing bitrate.

For now, I will keep using py3status with this WiFi module: https://github.com/ultrabug/py3status/pull/180

shdown commented 5 years ago

The same on my machine. Linux 4.18.0. The /proc/net/wireless file updates in the real time.

Relevant part of lspci output:

02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 30)
    Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter
    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 130
    Region 0: Memory at a1000000 (64-bit, non-prefetchable) [size=2M]
    Capabilities: <access denied>
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci
japalvia commented 4 years ago

I noticed also that wifi quality is updated only when resuming from suspend. However, if I run LinSSID and start scanning then i3status gets new values but only when the scan is active.

I'm running Arch with 5.3.13, Intel Corporation Wireless 8265 / 8275. i3status version: 2.13.