Loading USB Drivers with Parameters

William Bloom wbloom at eldocomp.com
Fri May 13 21:12:04 PDT 2005


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
-- 
William Bloom <wbloom at eldocomp.com> (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 whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.


More information about the freebsd-questions mailing list