From owner-freebsd-arch@FreeBSD.ORG Sun Dec 29 14:14:15 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2773939C; Sun, 29 Dec 2013 14:14:15 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id CEC531713; Sun, 29 Dec 2013 14:14:14 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 392B017FC60; Sun, 29 Dec 2013 15:14:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id A29CE8FAF7E; Sun, 29 Dec 2013 15:14:45 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nva5j9jeI3jp; Sun, 29 Dec 2013 15:14:44 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 8A6798F77C5; Sun, 29 Dec 2013 15:14:44 +0100 (CET) Message-ID: <52C02E6C.2080704@bitfrost.no> Date: Sun, 29 Dec 2013 15:15:08 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-arch@freebsd.org Subject: [RFC] Should CUSE4BSD move to the FreeBSD source tree? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ed Maste X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 14:14:15 -0000 Hi, The CUSE4BSD, character device in userspace, library and kernel module, has become an extremely popular driver choice for supporting a whole lot of USB devices under FreeBSD. There are now many clients using CUSE4BSD, cx88, uhidd, webcamd, and someone even mailed me a python wrapper for CUSE4BSD, so actually you can now implement a character device driver in a high level scripting language! When upgrading the kernel and stuff like that, it would be more easy for people if CUSE4BSD was part of the kernel. Of course this puts more restrictions on the API, and CUSE4BSD sometime has API additions. Also that might mean that CUSE4BSD will go through some API changes, as input from other FreeBSD developers. One change might be to change lengths from "int" to "ssize_t" although, it is very unlikely to read more than a few megabytes at a time from a character device. Also I wonder if putting CUSE4BSD in src, means that it is then also accepted as new *BSD standard? Some other questions are: Where should CUSE4BSD reside in svn? Should it have it's own vendor branch or simply just @ head + MFC to xxx-stable? Input and comments are appreciated! --HPS Reference: http://www.selasky.org/hans_petter/cuse4bsd /usr/ports/multimedia/cuse4bsd-kmod +++ Happy new year to all of you +++