From owner-freebsd-questions@FreeBSD.ORG Wed Jan 18 06:54:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A2A4106566B for ; Wed, 18 Jan 2012 06:54:29 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2FEFD8FC0A for ; Wed, 18 Jan 2012 06:54:28 +0000 (UTC) Received: from localhost (sheila.vvpn.vvelox.net [10.69.0.7]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id 4E66F3F58A for ; Wed, 18 Jan 2012 00:55:32 -0600 (CST) Date: Wed, 18 Jan 2012 00:54:22 -0600 From: "Zane C. B-H." To: freebsd-questions@freebsd.org Message-ID: <20120118005422.5398a6bf@vvelox.net> In-Reply-To: <201201150149.12756.lyubomir@grigorovl.eu> References: <201201150149.12756.lyubomir@grigorovl.eu> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Smartcam (or can you use linux dev driver + program) 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: Wed, 18 Jan 2012 06:54:29 -0000 On Sun, 15 Jan 2012 01:49:06 -0800 Lyubomir Grigorov wrote: > > QUESTION > > Is it even possible to use the Linux dev driver under FreeBSD? Since > Smartcam is a 2-part suite: driver and application. The Linux compatibility layer for FreeBSD does not include the ability to use Linux kernel modules. It concerns it's self with providing support for the non-kernel stuff. > If it's not possible to use linuxator, will it be possible to use the > source to create a FreeBSD version of the dev driver? I assume the > program will be easier to port than the actual driver. With out any changes, no. The Linux kernel and FreeBSD kernel are two very different items. If you are looking to port it, below are some links that would be a good place to start off with reading. http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html http://www.freebsd.org/docs/books.html