Date: Sat, 14 May 2005 13:05:59 +0100 From: Xian <ian@codepad.net> To: freebsd-questions@freebsd.org Subject: Re: Loading USB Drivers with Parameters Message-ID: <200505141305.59707.ian@codepad.net> In-Reply-To: <42857A92.3020000@eldocomp.com> References: <42857A92.3020000@eldocomp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 14 May 2005 05:12, William Bloom wrote: > I've had occasion to want to be able to load the ucom driver while > customizing how it attaches devices. Especially, I have the Qualcomm 5220 > EVDO modem card in mind, which can function as a USB serial device but does > not make itself known as a generic serial device. It happens that Linux > can use its stock serial USB driver for the 5220 by loading it with some > parameters... > > modprobe usbserial vendor=0xf3d product=0x0112 > > ...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 > drivers (or ucom in particular). In fact, there isn't any way (well, not > 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, specialized USB driver that works in concert with the ucom device > driver after the fashion of the uplcom or umct drivers? > > > Bill device.hints can be used to tell drivers where to attach I think. -- /Xian "The eternal mystery of the world is its comprehensibility." Albert Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505141305.59707.ian>