Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 21:12:02 -0700
From:      William Bloom <wbloom@eldocomp.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Loading USB Drivers with Parameters
Message-ID:  <42857A92.3020000@eldocomp.com>

next in thread | raw e-mail | index | archive | help

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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42857A92.3020000>