From owner-freebsd-arm@FreeBSD.ORG Sat Dec 13 15:23:33 2014 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 051A0523 for ; Sat, 13 Dec 2014 15:23:33 +0000 (UTC) Received: from mail.bein.link (bein.link [37.252.124.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE74A315 for ; Sat, 13 Dec 2014 15:23:32 +0000 (UTC) Received: from quad.localnet (unknown [188.134.8.193]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bein.link (Postfix) with ESMTPS id 567171AF152; Sat, 13 Dec 2014 15:15:40 +0000 (UTC) From: Maxim V FIlimonov To: freebsd-arm@freebsd.org, mexas@bris.ac.uk Subject: Re: using GPIO on 10.1-release Date: Sat, 13 Dec 2014 18:15:39 +0300 Message-ID: <1772909.5HItWhHBl0@quad> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE; KDE/4.14.2; amd64; ; ) In-Reply-To: <201412131505.sBDF55IM070058@mech-as221.men.bris.ac.uk> References: <201412131505.sBDF55IM070058@mech-as221.men.bris.ac.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 15:23:33 -0000 On Saturday 13 December 2014 07:05:06 Anton Shterenlikht wrote: > Hi > > My son is bugging me to teach him something 'cool' on RPi. > I've got 10.1-release working on RPi-B. > > I've seen some tutorials on using LEDs via > GPIO, but those are implemented in python > using RPi-GPIO module [1], which doesn't seem to > exist on ports. (Or am I looking in the wrong place?) > > Anyway, what is the easiest way to start on > GPIO programming on RPi-B 10.1-release, > preferably using what is available via ports > already? > Use gpioctl, it's already in the base system. -- wbr, Maxim Filimonov che@bein.link