rahul dev tripathi wrote:
Thanks a lot for your reply.
Now i am explaining you what i need to create.actually i want to
create a composite bus driver which will create two pdo’s,
on first pdo i want to attach n/w driver and on another pdo want to
connect MuX (N:1) driver.then on this 2nd pdo again create
two pdo’s on that pdo’s i want to connect a serial driver and modem
driver.may i wrong just guide me please.
I’m struggling to understand what you are asking here. Is there
actually any USB hardware device at all? Exactly what kind of device is it?
You can certainly have a USB device that is a network adapter. You can
also have a USB device that acts like a fake serial port. You can also
have a USB device that acts like a modem. Those things all have USB
class specifications. As long as your hardware follows the
specifications, then you shouldn’t need to write any drivers. The
system knows how to handle them.
A single USB device can even have one network interface and one serial
port interface. Windows will treat them as two devices and load two
separate drivers. You can’t have one interface that does both.
What I don’t understand is your talk of a bus driver. For a USB
composite device, YOU do not create the PDOs. They are created for you
by the USB hub driver (which is a bus driver).
Untill now i am able to create composite driver by taking sample help
(toaster) but having a lot of confusion.as http: per
> my need i
> also want usb functionality for all.
IF you really have USB hardware, then you don’t want to start from the
toaster sample.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.</http:>