From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 7 14:38:29 2014 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 261E1686; Fri, 7 Nov 2014 14:38:29 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 194E2CCE; Fri, 7 Nov 2014 14:38:27 +0000 (UTC) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.8/8.14.8) with ESMTP id sA7Eb9bs042651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 7 Nov 2014 22:37:10 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.8/8.14.8/Submit) id sA7Eb9TR042650; Fri, 7 Nov 2014 22:37:09 +0800 (CST) (envelope-from kevlo) Date: Fri, 7 Nov 2014 22:37:09 +0800 From: Kevin Lo To: Stanislav Sedov Subject: Re: libgpio Message-ID: <20141107143709.GA42643@ns.kevlo.org> References: <2F8338D7-083E-4C3A-84A4-C197D071CA24@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2F8338D7-083E-4C3A-84A4-C197D071CA24@freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: arm@freebsd.org, embedded@freebsd.org, Rui Paulo X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 14:38:29 -0000 On Fri, Nov 07, 2014 at 03:24:16AM -0800, Stanislav Sedov wrote: > > > > On Nov 6, 2014, at 10:41 PM, Rui Paulo wrote: > > > > Hi, > > > > Some time ago, I wrote a gpio library as a way to interact with the kernel gpio driver in a more sensible way (hiding the details of opening a /dev file, handling all the ioctls, etc.). > > > > Here's the project code: > > > > https://bitbucket.org/rpaulo/libgpio/src > > > > Here's the header file: > > > > https://bitbucket.org/rpaulo/libgpio/src/1dfe793d0b0cd6caff2e196cf667a5c06bbade8d/libgpio.h?at=default > > > > It looks like some people started using the library and I was wondering if it would be a good candidate for the base system. I would rewrite gpioctl to use it and I'm open to changing the library API. > > > > Any comments? > > In my opinion it is an excellent idea to import the library into > the base system. It is really useful and will facilitate 3rd > party applications development. Indeed. I've used libgpio for one of my projects. > I’d say go for it. +1 :-) > -- > ST4096-RIPE Kevin