From owner-freebsd-arm@freebsd.org Fri Nov 25 03:26:32 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0136DC4DAAF for ; Fri, 25 Nov 2016 03:26:32 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (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 A9518869 for ; Fri, 25 Nov 2016 03:26:31 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 8AAC9D7884 for ; Fri, 25 Nov 2016 10:26:22 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= selector1; t=1480044381; x=1481858782; bh=eqyxClDDhLRdsfDaG+61gJ 8G2eQOS7iT2EmVQgmr7Z0=; b=WqwLWpFPGUIg4Zu7ZNKpEvINIeQbKsWi2GVXui 8X0Qw5liXrIT5x6vFXHzmiKPpMjhCDyTv08n2Oj06eCCfTsIJUTvg8T9eYAjfUP3 ubmCw4R1bptG7tNNaMlcrxhkvIXaP5Uu+21r/1RmlU9Ad4r2RdbmXmbqTa1ilFJG LquNc= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PvkQxetTSb0F for ; Fri, 25 Nov 2016 10:26:21 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 6E48BD7882 for ; Fri, 25 Nov 2016 10:26:21 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id uAP3QKZE029714; Fri, 25 Nov 2016 10:26:20 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: freebsd-arm@freebsd.org Subject: Raspberry Pi advice Date: Fri, 25 Nov 2016 10:26:20 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2016 03:26:32 -0000 Hi, I am not sure I am on the right list, if not, please help and point me to the correct one. Many years ago, I wrote an application that tale two mouse buttons as input and uses a relay card, interfaced to the printer port, as output. It become more and more difficult to find motherboard with printer port, plus some changes on the way the OS is treating the mouse, makes me consider moving to Raspberry Pi. My questions are the following: - which version buying? 2B or 3B? - how GPIO does GPIO work? I need one input to generate interupts and the other one to generate interupts but that I can also be able to pull the value when there has been no interrupt. Is that possible? - would it be possible to use the GPIO to generate a signal to sound like a siren? Best regards and thanks for the help, Olivier --