From owner-freebsd-questions@FreeBSD.ORG Sat May 14 04:12:04 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2114416A4CE for ; Sat, 14 May 2005 04:12:04 +0000 (GMT) Received: from ecintweb.eldocomp.com (ecintweb.eldocomp.com [205.159.99.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F57443D80 for ; Sat, 14 May 2005 04:12:03 +0000 (GMT) (envelope-from wbloom@eldocomp.com) Received: by ecintweb.eldocomp.com with XWall v3.31 ; Fri, 13 May 2005 21:12:03 -0700 From: William Bloom To: "freebsd-questions@freebsd.org" Date: Fri, 13 May 2005 21:12:02 -0700 X-Assembled-By: XWall v3.31 Message-ID: <42857A92.3020000@eldocomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Loading USB Drivers with Parameters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2005 04:12:04 -0000 I've had occasion to want to be able to load the ucom driver while customizi= ng=20 how it attaches devices. Especially, I have the Qualcomm 5220 EVDO modem ca= rd=20 in mind, which can function as a USB serial device but does not make itself=20 known as a generic serial device. It happens that Linux can use its stock=20 serial USB driver for the 5220 by loading it with some parameters... =20 modprobe usbserial vendor=3D0xf3d product=3D0x0112 ...that direct the driver to attach a specified vendor/product. It's not apparent to me that FreeBSD has a comparable feature for its USB=20 drivers (or ucom in particular). In fact, there isn't any way (well, not=20 mentioned on the kldload man page) to pass parameters of any kind to ucom. How would one solve this problem in FreeBSD? Would one have to create a new= ,=20 specialized USB driver that works in concert with the ucom device driver aft= er=20 the fashion of the uplcom or umct drivers? Bill --=20 William Bloom (602) 604-3100 Eldorado Computing, Inc. 5353 North 16th Street, Suite 400 Phoenix, Az 85016 http://www.eldocomp.com -- CONFIDENTIALITY NOTICE -- This message is intended for the sole use of the individual and entity to wh= om it is addressed, and may contain information that is privileged, confiden= tial and exempt from disclosure under applicable law. If you are not the int= ended addressee, nor authorized to receive for the intended addressee, you a= re hereby notified that you may not use, copy, disclose or distribute to any= one the message or any information contained in the message. If you have rec= eived this message in error, please immediately advise the sender by reply e= mail, and delete the message. Thank you.