Re: Miniport driver
From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 03/05/05
- Next message: Doron Holan [MS]: "Re: DDK bug? moufiltr installation"
- Previous message: Majid: "output of FilterGraphics routine (Printer Driver)"
- In reply to: Kim Povlsen: "Re: Miniport driver"
- Next in thread: Stephan Wolf [MVP]: "Re: Miniport driver"
- Reply: Stephan Wolf [MVP]: "Re: Miniport driver"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 5 Mar 2005 10:37:59 -0800
you have to write your own "remote" version of USBHUB / usbgccp (which is
root enumerated). instead of sending URB traffic to local usb controller,
you encapusalte the URB into your network protocol and send it over the
network. the other side (the remote one), takes the packet and then sends
it to the controller on the remote host. this also means that you cannot
allow the remote host to install the normal driver for the driver, you have
to install your "remoting" driver installed of the class driver.
d
-- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. "Kim Povlsen" <kim@kimpix.dk> wrote in message news:%233gLPfWIFHA.2740@TK2MSFTNGP12.phx.gbl... > yeah.. but how is it possible to trick the pnp-manager to beleive there is > plugged in a device? > I have no class-driver like HID has to work with here.. that makes it > kinda difficult ;-) > > /Kim > > "Calvin Guan" <cguan@pleasenospam.ati.com> skrev i en meddelelse > news:%23V4jHjPIFHA.3472@TK2MSFTNGP09.phx.gbl... >>I guess the OP wants to remote everything in addition to printer. He will >> have to roll his own usbport/hci/hub. A interesting project though. >> >> -- >> Calvin Guan Software Engineer/Radeon NT Drivers >> ATI Technologies Inc. Markham ON, Canada www.ati.com >> >> "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message >> news:eEgZmRPIFHA.2420@TK2MSFTNGP14.phx.gbl... >>> Why not use some well-known remote printer protocol like "lpd" >>> instead >> of >>> full USB emulation over the network? >>> >>> -- >>> Maxim Shatskih, Windows DDK MVP >>> StorageCraft Corporation >>> maxim@storagecraft.com >>> http://www.storagecraft.com >>> >>> "Kim Povlsen" <kim@kimpix.dk> wrote in message >>> news:ewtgs3KIFHA.1996@TK2MSFTNGP12.phx.gbl... >>> > Well.. it doesnt really have to act as a device for itself. What I'm >> making >>> > is a remote USB protocol. Where you can attach a USB-device (i.e. a >> printer) >>> > to a different computer in your LAN network. And through some >> application >>> > network software be able to see this printer as it was plugged >>> > directly >> into >>> > your own computer. So it's more like a redirector driver, which >> redirects >>> > all memory to the other computer through the network. >>> > So the first problem is how to make the PNP-manager in my system to >> believe >>> > that I plugged in the usb-printer to my own computer. >>> > >>> > /Kim >>> > >>> > "Stephan Wolf [MVP]" <stewo68@hotmail.com> skrev i en meddelelse >>> > news:a38g2118sqk1shvkc5ebvf9s7pppsa1sap@4ax.com... >>> > >I think it is possible to add virtual USB devices, but it is a rather >>> > > complicated task to write such a driver. IIRC, that would require >>> > > your >>> > > driver to be both a WDM bus and a WDM function driver. Not sure if I >>> > > fully understand the underlying mechanisms here, though. >>> > > >>> > > As already suggested, Walter Oney's book should give you some hints, >>> > > see e.g. >>> > > >>> > > http://www.oneysoft.com/ >>> > > >>> > > See also >>> > > >>> > > >>> > > >>> >> http://groups-beta.google.com/group/comp.os.ms-windows.programmer.nt.kernel-mode/msg/70c02023e6a1f6f8 >>> > > >>> > > Stephan >>> > > --- >>> > > On Thu, 3 Mar 2005 20:00:45 +0100, "Kim Povlsen" <kim@kimpix.dk> >>> > > wrote: >>> > > >>> > >>Hi >>> > >> >>> > >>Would it be possible to emulate a usb hardware device by using a >> miniport >>> > >>driver in the usb stack? (so the OS would believe that a hardware >> device >>> > >>was >>> > >>plugged into it's usb-hub). >>> > >>I have looked for docs og samplecode for this. But with no luck. >>> > >> >>> > >>/Kim >>> > >>> > >>> >>> >> >> > >
- Next message: Doron Holan [MS]: "Re: DDK bug? moufiltr installation"
- Previous message: Majid: "output of FilterGraphics routine (Printer Driver)"
- In reply to: Kim Povlsen: "Re: Miniport driver"
- Next in thread: Stephan Wolf [MVP]: "Re: Miniport driver"
- Reply: Stephan Wolf [MVP]: "Re: Miniport driver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|