Jump to content

Recommended Posts

Hi,

So while digging around the NANO I discovered two LED devices labelled "ath9k-phy0" and "ath9k_htc-phy1". The first one isn't too interesting, but the latter, "ath9k_htc-phy1" is the device entry for a green LED on the NANO. Go ahead and look through the cutout for the female USB port, you should see it lit up.

I think these LEDs were left in by accident by the manufacturer for the second radio. And while it is pretty useless because you can't see the LED easily, you can control it.

If you'd like to mess with it, I recommend reading this and experimenting with different triggers.

To enable a simple blinking of the LED, edit "/etc/config/system" and place the following underneath the existing led config block.

config led
	option name	'wlan1'
	option sysfs	'ath9k_htc-phy1'
	option trigger	'timer'
	option delayon	'5000'
	option delayoff '2000'

Your config should then look a little like this:

config system
	option hostname Pineapple
	option timezone UTC

config led
	option name	'wlan0'
	option sysfs	'pineapple:blue:system'
	option trigger	'netdev'
	option dev	'wlan0'
	option mode	'link tx rx'

config led
	option name	'wlan1'
	option sysfs	'ath9k_htc-phy1'
	option trigger	'timer'
	option delayon	'5000'
	option delayoff '2000'

config 'timeserver' 'ntp'
        list 'server'     '0.openwrt.pool.ntp.org'
        list 'server'     '1.openwrt.pool.ntp.org'
        list 'server'     '2.openwrt.pool.ntp.org'
        list 'server'     '3.openwrt.pool.ntp.org'
        option enable_server 0

-Foxtrot

  • Upvote 1
Link to comment
Share on other sites

thats pretty cute. In all seriousness though its pretty cool now just need to cut out a hole for the led

Edited by newbi3
Link to comment
Share on other sites

Back on 1.0.1, if you had an external wifi adapter plugged in before it boots, it would light up the green LED instead of solid blue. Not really sure why that happens, but it was pretty neat.

Actually I'm fairly certain the green you are seeing is the green from the newly discovered LED, leaking into the plastic lens.

The blue LED is a single color -- blue.

Link to comment
Share on other sites

Actually I'm fairly certain the green you are seeing is the green from the newly discovered LED, leaking into the plastic lens.

The blue LED is a single color -- blue.

Yeah, that's what I said. The green LED lit up if you had an external adapter plugged in before boot, instead of the solid blue.

Link to comment
Share on other sites

Aww man next thing you know you guys will be figuring out the hidden #### in the turtle!

But yeah we're aware of the debug LED. It'll most likely be gone in the next batch (most likely just unpopulated).

Surprised nobody caught the Easter Egg in the virgin out of the box firmware ;)

  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...