Loading USB Drivers with Parameters

Xian ian at codepad.net
Sat May 14 05:06:11 PDT 2005


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


More information about the freebsd-questions mailing list