Skip to contentSkip to conversation

Can I disable LED blinking on AR9271

ath9k-devel Hong Xu 3 participants 5 messages Jan 9, 2015 – Jan 13, 2015

lore
Share & tools
lore
#1 lore raw

Am 09.01.2015 um 01:48 schrieb Hong Xu:

Quoted 5 lines

Hi all,

I checked ath9k_htc driver does not have an option to disable led blinking. Is it possible to add this option for ath9k_htc like ath9k?

Hi,

currently there is only compile option to disable it. Patches are welcome, it should be easy since all blinking is triggered from the host.

Signature · 10 lines
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150109/0eeddf6d/attachment.pgp 
#2 lore raw

Maybe eventually use 'Sysctl' for this feature?

See:
http://people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto-2.html#ss2.6

Eg. to disable the LED:

echo 0 > /proc/sys/../ath9k../led_blinking

Kind regards,
Melroy van den Berg

2015-01-09 10:37 GMT+01:00 Oleksij Rempel <[email protected]>:

Quoted 24 lines

Am 09.01.2015 um 01:48 schrieb Hong Xu:

Quoted 5 lines

Hi all,

I checked ath9k_htc driver does not have an option to disable led blinking. Is it possible to add this option for ath9k_htc like ath9k?

Hi,

currently there is only compile option to disable it. Patches are welcome, it should be easy since all blinking is triggered from the host.

--
Regards,
Oleksij

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

author
#3 lore raw
Quoted 9 lines · Melroy van den Berg

Maybe eventually use 'Sysctl' for this feature?

See:
http://people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto-2.html#ss2.6

Eg. to disable the LED:

echo 0 > /proc/sys/../ath9k../led_blinking

Hi Melroy,

I just realized that a similar feature is already there when discussing the patch I submitted to linux-wireless. You can control the LED in /sys/class/leds/ath9k_htc-phyX/trigger. Use none to disable any control From the device, phyXassoc to have the LED light on only when linked, phyXtpt to blink like what it does.

Hong
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150113/a1b7bdef/attachment.pgp

#4 lore raw

Ah! How wonderful :).

Thanks for your update.

2015-01-13 10:21 GMT+01:00 Hong Xu <[email protected]>:

Quoted 24 lines
Quoted 4 lines · Melroy van den Berg

Maybe eventually use 'Sysctl' for this feature?

See:

http://people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto-2.html#ss2.6

Quoted 5 lines

Eg. to disable the LED:

echo 0 > /proc/sys/../ath9k../led_blinking

Hi Melroy,

I just realized that a similar feature is already there when discussing the patch I submitted to linux-wireless. You can control the LED in /sys/class/leds/ath9k_htc-phyX/trigger. Use none to disable any control From the device, phyXassoc to have the LED light on only when linked, phyXtpt to blink like what it does.

Hong

Signature · 5 lines
Met vriendelijk groeten,
Melroy van den Berg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150113/bcc15214/attachment.htm