All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Can I disable LED blinking on AR9271
@ 2015-01-09  0:48 Hong Xu
  2015-01-09  9:37 ` Oleksij Rempel
  0 siblings, 1 reply; 5+ messages in thread
From: Hong Xu @ 2015-01-09  0:48 UTC (permalink / raw)
  To: ath9k-devel


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?

Thanks,
Hong
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150108/ae498cb6/attachment.pgp 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] Can I disable LED blinking on AR9271
  2015-01-09  0:48 [ath9k-devel] Can I disable LED blinking on AR9271 Hong Xu
@ 2015-01-09  9:37 ` Oleksij Rempel
  2015-01-09  9:56   ` Melroy van den Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksij Rempel @ 2015-01-09  9:37 UTC (permalink / raw)
  To: ath9k-devel

Am 09.01.2015 um 01:48 schrieb Hong Xu:
> 
> 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

-------------- 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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] Can I disable LED blinking on AR9271
  2015-01-09  9:37 ` Oleksij Rempel
@ 2015-01-09  9:56   ` Melroy van den Berg
  2015-01-13  9:21     ` Hong Xu
  0 siblings, 1 reply; 5+ messages in thread
From: Melroy van den Berg @ 2015-01-09  9:56 UTC (permalink / raw)
  To: ath9k-devel

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 <linux@rempel-privat.de>:
> Am 09.01.2015 um 01:48 schrieb Hong Xu:
>>
>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] Can I disable LED blinking on AR9271
  2015-01-09  9:56   ` Melroy van den Berg
@ 2015-01-13  9:21     ` Hong Xu
  2015-01-13  9:27       ` Melroy van den Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Hong Xu @ 2015-01-13  9:21 UTC (permalink / raw)
  To: ath9k-devel


Melroy van den Berg <webmaster1989@gmail.com> writes:

> 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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] Can I disable LED blinking on AR9271
  2015-01-13  9:21     ` Hong Xu
@ 2015-01-13  9:27       ` Melroy van den Berg
  0 siblings, 0 replies; 5+ messages in thread
From: Melroy van den Berg @ 2015-01-13  9:27 UTC (permalink / raw)
  To: ath9k-devel

Ah! How wonderful :).

Thanks for your update.

2015-01-13 10:21 GMT+01:00 Hong Xu <hong@topbug.net>:

>
> Melroy van den Berg <webmaster1989@gmail.com> writes:
>
> > 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
>



-- 
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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-13  9:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-09  0:48 [ath9k-devel] Can I disable LED blinking on AR9271 Hong Xu
2015-01-09  9:37 ` Oleksij Rempel
2015-01-09  9:56   ` Melroy van den Berg
2015-01-13  9:21     ` Hong Xu
2015-01-13  9:27       ` Melroy van den Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.