From owner-freebsd-questions@FreeBSD.ORG Tue May 6 19:39:21 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF8691065674 for ; Tue, 6 May 2008 19:39:21 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) Received: from ppsw-0.csi.cam.ac.uk (ppsw-0.csi.cam.ac.uk [131.111.8.130]) by mx1.freebsd.org (Postfix) with ESMTP id 7C0C78FC14 for ; Tue, 6 May 2008 19:39:21 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from gw.cjkey.org.uk ([88.97.163.222]:3516 helo=[192.168.2.186]) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:465) with esmtpsa (PLAIN:cjk32) (TLSv1:DHE-RSA-AES256-SHA:256) id 1JtScX-00062A-2h (Exim 4.67) for questions@freebsd.org (return-path ); Tue, 06 May 2008 20:14:37 +0100 Message-ID: <4820AE1D.2080703@cam.ac.uk> Date: Tue, 06 May 2008 20:14:37 +0100 From: Christopher Key User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Writing userspace device drivers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2008 19:39:21 -0000 Hello, I'm wanting to write a driver for lirc to allow me to transmit IR signals via a Global Caché GC-100. In essence, this requires me to communicate with the GC-100 via TCP in response to ioctls (received?) via /dev/lircX. Can anyone point me in right direction towards achieving this? Is it possible to do everything in userspace? Under Linux, there appears to be something called FUSD, which allows one to write userspace device drivers. Is there anything similar under FreeBSD? Ideally I'd like to keep the resulting solution as generic as possible, so that it can be integrated into lirc, should anyone wish to. Regards, Chris Key