Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2013 21:17:19 +0900 (JST)
From:      shigeru@os-hackers.jp <shigeru@os-hackers.jp>
To:        freebsd-arm@freebsd.org
Subject:   Re: quick hack to use ACT LED for checking shutdown
Message-ID:  <20130816.211718.104047825.shigeru@os-hackers.jp>
In-Reply-To: <20130815.230407.71104231.shigeru@os-hackers.jp>
References:  <20130815.230407.71104231.shigeru@os-hackers.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi all,

I rewrite a patch to use ACT LED.
http://freebsd-current.os-hackers.jp/pub/FreeBSD/snapshots/20130816/raspberry-pi/patch-act_led-r254404.diff

A change of new patch is controling ACT LEd function by kernel
 environment ('hw.led.act').
For RaspberryPi, a value is "gpio:0:16:1:0" which means,
- on gpio0
- pin 16
- set 1 when LED off
- set 0 when LED on

Please check my patch if you are interested in it.

Thanks,
---
YAMAMOTO Shigeru <shigeru@os-hackers.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130816.211718.104047825.shigeru>