From owner-freebsd-mips@FreeBSD.ORG Thu May 16 00:51:39 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5D435673 for ; Thu, 16 May 2013 00:51:39 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id EDCD760B for ; Thu, 16 May 2013 00:51:38 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id x53so2092279wes.33 for ; Wed, 15 May 2013 17:51:38 -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=Wc4XqtTIJYTcmr2keRjZo6uY6M2d6L7szMZFE5GNQWY=; b=jxT5n+b2wAsvSDcExfv3Rl5F3Pm1KSPV77YSNwfdjqkC9bKy6aDWlGnpT3l2osx6uY h1Qr4Y+M1Oo5j7iifQT5wmlHoZ+hOcNLltdu2VEk1uvoNuk6osQ4sXwamzwmUyHpeFdG Gi7nYgwZm8w/IOT7SjjnLjvtBsSIpIcN8JP5bQUN9sFY1gnoWfCNN+zGYa/Y12oN47yd lSnIZLxZvJWomj0LbizX5jK+jXtidgHQuYS1SvXnRsi/ahcuT20FyPTglk8FYawX6U2E vxHOGVYtq4y0lQ1Jfu/HiPZ25kqkYAWc6meEaEDqwexEM8EQAvpTaY/VFVbdyQaaQ089 zWJA== MIME-Version: 1.0 X-Received: by 10.180.198.175 with SMTP id jd15mr19376083wic.28.1368665498053; Wed, 15 May 2013 17:51:38 -0700 (PDT) Received: by 10.217.117.202 with HTTP; Wed, 15 May 2013 17:51:37 -0700 (PDT) In-Reply-To: <518c250a.87cf0e0a.0a6b.071e@mx.google.com> References: <518c250a.87cf0e0a.0a6b.071e@mx.google.com> Date: Wed, 15 May 2013 21:51:37 -0300 Message-ID: Subject: Re: UBNT Routerstation GPIO fix From: Luiz Otavio O Souza To: Petko Bordjukov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 00:51:39 -0000 On 9 May 2013 19:36, Petko Bordjukov wrote: > Hello, > > Cpying over part of the GPIO setup from RSPRO.hints to ROUTERSTATION.hints > fixes > the GPIO functionality on the RS. Here's the PR I submitted: > > http://www.freebsd.org/cgi/**query-pr.cgi?pr=kern/177832 > > On a related note, are GPIO buttons supported? > > Hi Petko, We don't have any kind of specific support for GPIO buttons (i mean something you can say, when the button X get pressed run that code and use this timings for debounce and repeat), but still you can read the pin value from gpioctl. That is something i would like to have. Luiz