From owner-freebsd-arm@FreeBSD.ORG Fri Aug 16 12:18:32 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B1C30171 for ; Fri, 16 Aug 2013 12:18:32 +0000 (UTC) (envelope-from shigeru@os-hackers.jp) Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 847952345 for ; Fri, 16 Aug 2013 12:18:31 +0000 (UTC) Received: from localhost (w142149.ppp.asahi-net.or.jp [121.1.142.149]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 58ADF40FF8 for ; Fri, 16 Aug 2013 21:18:30 +0900 (JST) Date: Fri, 16 Aug 2013 21:17:19 +0900 (JST) Message-Id: <20130816.211718.104047825.shigeru@os-hackers.jp> To: freebsd-arm@freebsd.org Subject: Re: quick hack to use ACT LED for checking shutdown From: shigeru@os-hackers.jp In-Reply-To: <20130815.230407.71104231.shigeru@os-hackers.jp> References: <20130815.230407.71104231.shigeru@os-hackers.jp> X-Mailer: Mew version 3.3 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 12:18:32 -0000 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