From owner-freebsd-current@FreeBSD.ORG Wed Oct 15 20:13:06 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09AD31065691 for ; Wed, 15 Oct 2008 20:13:06 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp816.mail.ird.yahoo.com (smtp816.mail.ird.yahoo.com [77.238.189.16]) by mx1.freebsd.org (Postfix) with SMTP id 838DC8FC1F for ; Wed, 15 Oct 2008 20:13:05 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 96898 invoked from network); 15 Oct 2008 20:13:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=Np1P/+h7FvVgBkAOp/Ky/nsfGNEmlAoMOlzSRnBdUjlBBBw/9zun2isSmcOxp3EbDEnY45Ge4x1ALBgDAmGWzgA+iPctWkDS5U9XQmXgrgC3LHJiqlHKUDQfWnnJZ9AKmWdvEWyxnSyl8mnxNaYiumzU3eX3b9I0JDtEQHtBE/0= ; Received: from unknown (HELO W2FZZ0VC03) (thomas.sparrevohn@btinternet.com@86.133.215.177 with login) by smtp816.mail.ird.yahoo.com with SMTP; 15 Oct 2008 20:13:04 -0000 X-YMail-OSG: E8ivAeIVM1lVBMVIzmYP7Kak0hH6zsA06CHvK_NkLjmrc8fn5nUTfpyevZLqK3GaDgRJX5ogfFiiZDeibI8VgmipyCQ_Rk3Fey4KATAm.dHZKa1lUeil2Bt.Ad5S8B5ht0cIr6UuZS6dXWi6DDQ.4C.lrF0UENmsGfLMt1tY80onOva09g-- X-Yahoo-Newman-Property: ymail-3 From: "Thomas Sparrevohn" To: "'Hans Petter Selasky'" , "'Alfred Perlstein'" References: <20081015173319.GB46393@elvis.mu.org> <200810152124.12637.hselasky@c2i.net> In-Reply-To: <200810152124.12637.hselasky@c2i.net> Date: Wed, 15 Oct 2008 21:13:02 +0100 Message-ID: <002a01c92f02$6ddf4a80$499ddf80$@Sparrevohn@btinternet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acku+17dVB3oRyLwQt23bdjkEkwFuwABu7uA Content-Language: en-gb Cc: "'Sam Leffler \(FreeBSD Project\)'" , current@freebsd.org Subject: RE: (forw) Re: USB4BSD - release candidate 2 - coming to FreeBSD this week. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:13:06 -0000 Short comment - An example kernel configuration would be nice in a readme -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Hans Petter Selasky Sent: 15 October 2008 20:24 To: Alfred Perlstein Cc: Sam Leffler (FreeBSD Project); current@freebsd.org Subject: Re: (forw) Re: USB4BSD - release candidate 2 - coming to FreeBSD this week. Hi, > > 1. libusb_20 appears to be undocumented (the manual page looks to be a > placeholder) and the only example of use (usbconfig) has zero comments. There is some work left to do there. Any help going through the USB library would be appreciated. > > 2. is there any way to list the set of quirks in the usb2_quirk module? > I don't think going back to the source is sufficient as you may only > have a binary to work with. Not at the moment, but I could possibly extend "usbconfig" to list available quirks. I've made a note for this. > > 3. similarly for the driver container modules can one see the set of > drivers bundled? No. You will have to inspect the module "DATA_SET()" information in the kld. > > 4. I'm interested to understand why these container modules exist > instead of individual drivers. They exist to make loading USB drivers easier. It is simpler to load "usb2_serial" than to emperically search for a specific serial port driver. In the future the "usb2_serial" module will load the correct driver for you. > I don't see anything in the manual pages > that references the drivers, can one still configure a kernel w/ only > the specific drivers present on a system? (e.g. for embedded use) If so > please fix the manual pages. Yes, of course you can still ungroup the driver modules into smaller parts, simply by moving the source files to another module, or removing the source files for the drivers you don't want. But there are no kernel options that will do that currently. You have to do it by hand until further. > > 5. The man page description of the usb2_template module is unclear to > me. I suspect an example would help. I have made a note for this. > > 6. Many files lack a copyright/license (e.g. modules/*). It is BSD licensed like the rest of the code. --HPS BTW: I will travel to EuroBSDcon2008 tomorrow and will probably not have access to e-mail all the time. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"