LEDs
Hi all,
quick question, is there any way to enable the LED on an ath9k supported card?
I tried loading ath9k with blink=1 but it doesn't light anything.
Besides, the driver emits those messages:
[ 15.118448] Registered led device: ath9k-phy1::radio [ 15.118471] Registered led device: ath9k-phy1::assoc [ 15.118498] Registered led device: ath9k-phy1::tx
I'm not entirely sure what those led devices are supposed to be, as both cards have one LED only (probably radio on?)
Best regards,
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4369 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110720/01d50c65/attachment.bin
Quoted 4 lines · Mihai Moldovan
Hi all,
quick question, is there any way to enable the LED on an ath9k supported card?
please tell us which card you are using. does the LED is not even getting ON
Quoted 2 lines
I tried loading ath9k with blink=1 but it doesn't light anything.
sudo modprobe ath9k blink=1 will enable LED blinking on tx traffic
Quoted 9 lines
Besides, the driver emits those messages:
[ ? 15.118448] Registered led device: ath9k-phy1::radio [ ? 15.118471] Registered led device: ath9k-phy1::assoc [ ? 15.118498] Registered led device: ath9k-phy1::tx
I'm not entirely sure what those led devices are supposed to be, as both cards have one LED only (probably radio on?)
are you using latest wireless-testing or compat wireless , current ath9k LED makes use led control support via mac80211
Quoted 13 lines
Best regards,
Mihai
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 1 line
shafi
Quoted 1 line · * On 20.07.2011 04:44 PM, Mohammed Shafi wrote:
please tell us which card you are using.
AR9380 (AR9300) mounted in an mPCIe to PCIe adapter (not sure those will actually handle all device's LEDs) and some AR5008 card.
Quoted 1 line
does the LED is not even getting ON
Nope, never did.
Quoted 1 line
sudo modprobe ath9k blink=1 will enable LED blinking on tx traffic
Yeah I know, but I thought I might give it a try. :)
Quoted 2 lines
are you using latest wireless-testing or compat wireless , current ath9k LED makes use led control support via mac80211
Nope, in-kernel drivers in 2.6.38.6. I used to use compat-wireless, but it broke once in a while. May give it a try though.
On the other hand, that's not really an issue and I hestitate to change a running system, I'm just wondering why the LEDs did never work. :)
Best regards,
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4369 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110720/61554e08/attachment.bin
Quoted 17 lines · Mihai Moldovan
Quoted 1 line · * On 20.07.2011 04:44 PM, Mohammed Shafi wrote:
please tell us which card you are using.
AR9380 (AR9300) mounted in an mPCIe to PCIe adapter (not sure those will actually handle all device's LEDs) and some AR5008 card.
Quoted 1 line
?does the LED is not even getting ON
Nope, never did.
Quoted 1 line
sudo modprobe ath9k blink=1 will enable LED blinking on tx traffic
Yeah I know, but I thought I might give it a try. :)
Quoted 7 lines
Quoted 2 lines
are you using latest wireless-testing or compat wireless , current ath9k LED makes use led control support via mac80211
Nope, in-kernel drivers in 2.6.38.6. I used to use compat-wireless, but it broke once in a while. May give it a try though.
On the other hand, that's not really an issue and I hestitate to change a running system, I'm just wondering why the LEDs did never work. :)
*i guess this commit may be missing in 2.6.38.6, please give it a try
commit 353e5019e048562dc8f434c6237d41ef5e758922
Author: Senthil Balasubramanian <[email protected]> Date: Fri Apr 22 11:32:08 2011 +0530
ath9k: Fix LED gpio for AR93xx chipsets.
The LED gpio is incorrectly programmed for AR9300 and so the led is not working propelry. AR93xx uses gpio 10 for LED and not the default.
(quoted diff) +0 -0
b/drivers/net/wireless/ath/ath9k/ath9k.h
index a6b5388..5ebfc57 100644
drivers/net/wireless/ath/ath9k/ath9k.h +1 -0
@@ -453,6 +453,7 @@ void ath9k_btcoex_timer_pause(struct ath_softc *sc);#define ATH_LED_PIN_DEF 1#define ATH_LED_PIN_9287 8 +#define ATH_LED_PIN_9300 10#define ATH_LED_PIN_9485 6#ifdef CONFIG_MAC80211_LEDS
(quoted diff) +0 -0
b/drivers/net/wireless/ath/ath9k/gpio.c
index cc5fad6..2c59452 100644
drivers/net/wireless/ath/ath9k/gpio.c +2 -0
@@ -46,6 +46,8 @@ void ath_init_leds(struct ath_softc *sc) sc->sc_ah->led_pin =ATH_LED_PIN_9287 ; else if (AR_SREV_9485(sc->sc_ah)) sc->sc_ah->led_pin = ATH_LED_PIN_9485; + else if (AR_SREV_9300(sc->sc_ah)) + sc->sc_ah->led_pin = ATH_LED_PIN_9300; else sc->sc_ah->led_pin = ATH_LED_PIN_DEF; }
*please take a try with the stable compat wireless
http://linuxwireless.org/en/users/Download/stable/#compat-wireless_3.0_stable_releases
Quoted 7 lines
Best regards,
Mihai
Signature · 1 line
shafi
Quoted 1 line · * On 21.07.2011 06:57 AM, Mohammed Shafi wrote:
*i guess this commit may be missing in 2.6.38.6, please give it a try
Aaah indeed, it's included in 3.0 too, and I want to give it a try. Let's see whether it works. :S
Otherwise, I'll try compat-wireless (and I'll even upgrade if 3.0 works.)
Thanks so far. :)
Best regards,
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4369 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110723/2e39e1f1/attachment-0001.bin