Modify ↓
Opened 4 years ago
Last modified 2 years ago
#14455 new defect
TD-W8970 ath9k WiFi LED not working
Reported by: | fld@… | Owned by: | developers |
---|---|---|---|
Priority: | normal | Milestone: | Chaos Calmer 15.05 |
Component: | packages | Version: | Trunk |
Keywords: | td-w8970, tdw8970, ath9k, gpio, led | Cc: |
Description
root@OpenWrt:~# ls /sys/class/leds/ adsl/ ath9k-phy0/ internet/ usb/ usb2/ wps/ root@OpenWrt:~# ls /sys/class/leds/ath9k-phy0/ brightness max_brightness trigger root@OpenWrt:~# cat /sys/class/leds/ath9k-phy0/trigger [none] nand-disk timer heartbeat default-on netdev usbdev phy0rx phy0tx phy0assoc phy0radio phy0tpt root@OpenWrt:~# echo 1 > /sys/class/leds/ath9k-phy0/brightness
And the LED does not light up.
Attachments (0)
Change History (5)
comment:1 Changed 4 years ago by anonymous
comment:2 Changed 4 years ago by lpm11
Enter these commands:
echo 1>/sys/kernel/debug/ieee80211/phy0/ath9k/gpio_mask
echo 1>/sys/kernel/debug/ieee80211/phy0/ath9k/gpio_val
Bring up wireless interface (ifconfig wlan0 up), and the led turns on!
I don't know how to use it, it doesn't flash. It only lights.
comment:3 Changed 4 years ago by anonymous
You should close this ticket - LED is inverted, but it works OK
comment:4 Changed 3 years ago by anonymous
LED is inverted, yes.
The LED does not work by default as in /etc/uci-defaults/01_leds there is no default for the board of the W8970.
Note: See
TracTickets for help on using
tickets.
Try to first enable the LED. It's trigger is 'none', meaning completely off.
or
Also, the brightness value goes from 0 to 255. A value of 1 might not be visible easily.
Finally, this question was probably better asked on the forums, as this is not a bug.