From owner-freebsd-hardware@FreeBSD.ORG Thu May 16 01:13:18 2013 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C928B84 for ; Thu, 16 May 2013 01:13:18 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 08A736C5 for ; Thu, 16 May 2013 01:13:17 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u55so2204711wes.16 for ; Wed, 15 May 2013 18:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=EvM4Noy3pLDsR6bp72+X0jaxmoQzBV/jceykb+K+43w=; b=1B6/rYC8EIw+22EzXz9vdB5b2efMl3/ixWdBXy0SBEJ7mLGNg9vaJbBaiYa3gytyhE JyM1kUoHl19VfkcxSOaf4eAbxXGF+oWtKw5k8aYvWmqjP0OSQIYCU97VKfSqZax/QLc4 DjKsy3ZGKMlptHD7bT0xEmz8iLXzANaawrgqDWyUZGtLR9HcfYh1Q2c5TlA7/ZbVMJb+ 166/HzYh/to+nyL1Bg81EZhkVjmM8eNwOJIKTYjjT1SuVgMKtARBaZQ5x1c4agogkvWl J8tK2vSUpivKeoOv/odH8nSVs5f6nmipje/VzUXZ68PKQOhW+qqa0hwTWhbsawAcIYp/ twMA== MIME-Version: 1.0 X-Received: by 10.180.39.233 with SMTP id s9mr19375368wik.25.1368666795954; Wed, 15 May 2013 18:13:15 -0700 (PDT) Received: by 10.217.117.202 with HTTP; Wed, 15 May 2013 18:13:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 May 2013 22:13:15 -0300 Message-ID: Subject: Re: GPIO on FreeBSD 9.1 From: Luiz Otavio O Souza To: Alberto Mijares Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hardware@freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 01:13:18 -0000 On 7 February 2013 07:03, Alberto Mijares wrote: > Hi list, > > I have a net4801 Soekris board. It has 12-pin GPIO interface. > > GENERIC kernel doesn't show any /dev/gpio* device. I tried including > > device gpio > > and I see the module with > > # kldstat -v | grep gpio > > but still no /dev/gpio* device. > > Could anyone point me to the steps to follow in order to enable such > interface? And taking the opportunity for a second shot, any > recommendation for a Perl module to work with? > > Hi Alberto, I think you need the phk driver: http://phk.freebsd.dk/soekris/env4801/ There is no support for it on the gpio framework (which would create the gpio controller device entry - /dev/gpiocX). Regards, Luiz