From owner-freebsd-current@FreeBSD.ORG Wed Aug 4 14:35:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27C6A16A4CE for ; Wed, 4 Aug 2004 14:35:27 +0000 (GMT) Received: from mail.tellme3times.com (dsl-yul-102.e-scape.net [209.47.218.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A25E43D66 for ; Wed, 4 Aug 2004 14:35:26 +0000 (GMT) (envelope-from chris@tellme3times.com) Received: from tellme3times.com (halla.tellme3times.com [192.168.7.29]) by mail.tellme3times.com (Postfix) with ESMTP id CEA6940D8 for ; Wed, 4 Aug 2004 10:30:07 -0400 (EDT) Message-ID: <4110F5AE.6030403@tellme3times.com> Date: Wed, 04 Aug 2004 10:41:50 -0400 From: Chris User-Agent: Mozilla Thunderbird 0.5 (X11/20040413) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: USB drivers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 04 Aug 2004 14:35:27 -0000 The last time I programed was over 15 years ago and I was thinking of looking into the USB drivers for FreeBSD concerning multifunction devices. If I ask stupid questions forgive me because I am seeing this as a user. First I would like to know if there is a technical reason why two different divers cannot attach to the same device. If each driver works well independently, what is the reason to prevent the second one from attaching? I would assume that if you attempted to use both drivers at the same time you would get a device busy error. Am I misunderstanding something here? I see ulpt: and unlpt: attaching to the same device and the choice of which one to use is up to the user and the hardware they have. If we have two drivers attach in one case why, and where, do we prevent other drivers from attaching if they meet the minimum requirements? Any help on how to write drivers for FreeBSD would be appreciated. Chris