Johan Hovold <jhov...@gmail.com> writes:

[...]

> For a simple device without any control commands you could use the
> generic driver. However, if this is a device which is others may be
> interested in using, adding a simple wrapper with the device is the way
> to go. Have a look at drivers/usb/serial/zio.c driver for an example.

Thanks for the reference, will look at it.

However, if there is demand for such a thing, isn't it a good idea to
implment true generic driver, including capability to dynamically load
id:vendor pairs, and just add all the already known id:vendor to this
single driver? Writing and supporting (even trivially) yet another
wrapper for every id:vendor pair does not sound right to me.

-- 
Sergei.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to