Re: Writing Virtual Device Driver by Mahesh
Mahesh
Thu Dec 01 13:11:32 CST 2005
> Well, a virtual USB controller driver isn't going to show you that
> communication. In fact, to be a virtual controller driver, you have to
> PROVIDE that communication.
I am currently in the field of making application's for USB Devices. I just
wanted myself to be strong enough in the device detection part by the OS
I thought of making a Virtual USB controller driver, which will receive all
packets sent by OS. I will log them and view them using SoftIce
My driver will handle all calls by the OS, it will respond as if a Keyboard
is connected or any other device of my choice
Is my concept wrong.
Suggest me a idea
regards
Mahesh
"Tim Roberts" <timr@probo.com> wrote in message
news:5brno19cdvki29btolle31ghi78qnmib4h@4ax.com...
> "Mahesh" <maheshstms@gmail.com> wrote:
> >
> >I like to watch communication between Host and USB controller, so i have
a
> >idea of creating a virtual USB controller driver.
>
> Well, a virtual USB controller driver isn't going to show you that
> communication. In fact, to be a virtual controller driver, you have to
> PROVIDE that communication.
>
> >The driver will watch data to the virtul device and will print it to a
file
> >or will send it to my application.
>
> I'm still not clear on what you hope to learn. There are several products
> to monitor traffic on a USB bus, both inside and outside of the computer.
> Drivers communicate with the host controller driver via URBs, and there
are
> many examples of those in the DDK.
>
> If you want to learn how to program a host controller, that is a difficult
> task. You can download the OHCI spec, which tells you the general theory
> of operation of one type of host controller.
>
> If you want more details, I recommend you go download Linux. There, you
> get the source for everything, to look through at your leisure.
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.