Search Linux Wireless

Re: [PATCH] ath9k_htc: Add a module parameter to disable blink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hong,

On Mon, Jan 12, 2015 at 6:09 PM, Hong Xu <hong@xxxxxxxxxx> wrote:
>
> Bob Copeland <me@xxxxxxxxxxxxxxx> writes:
>
>> On Sun, Jan 11, 2015 at 01:20:29AM -0800, Hong Xu wrote:
>>> Add an option "blink" to enable or disable the LED blink. The default
>>> value is set to 1 so that existing users would not experience any
>>> unexpected changes.
>>
>> Been a while since I looked, but isn't there a way to achieve same
>> result by just echoing 'none' into the relevant LED's sysfs file
>> (something like /sys/class/leds/phy0-led/trigger)?
>
> It's a bit different. echo 'none' to the trigger would cause the LED
> light to be dark, but if turn off the blink option here, the LED is
> bright but without blinking.
>
> Hong

I.e. it doesn't blink, it's just on when linked (isn't there a trigger
for that?) or is on solid? (echo 255 >
/sys/class/leds/phy0-led/brightness)

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux