> Hi!
>     I am writing a bulk transfer driver for data xfer
> through host-to-host xfer cable. I don't want to use
> the usbnet driver for the same. This driver is based
> on usb-skeleton.c and presently tested with PL-2301
> chips.
>
> My problem is that I want the driver binding to happen
> for all such kind of cable from different vendors and
> from new vendors also in future.

I think you can use Device class & subclass instead of Vendor id/device id.

>
> How can I create a little more generic usb_device_id
> entry rather than very specifically mentioning the
> VendorID and device ID of all such cables from
> different manufacturers. Do all these cables fall
> under a particulas combination of device class and
> subclass?

Yes, they fall under USB communication class.
As an example see usb/acm.c. For more info on this, see the comments in
usb.c before function "usb_match_id".

Lets see what usb experts say.

>
> Alternatively is there any way where I can set come
> configuration
> mentioning vendor ID and device ID and and
> corresponding module name, so that
> the module gets binded with devices from this
> particular combination of vendor and device ID.

Again, see usb/acm.c


             Subhash


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to