Re: Miniport driver

From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 03/05/05


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
>>> >
>>> >
>>>
>>>
>>
>>
>
> 


Relevant Pages

  • Re: Cant synch Verizon/UTSTarcom/Audiovox 6700 after 1rst attempt
    ... Let's stick with the driver first...Device Mgr 1.0 ... activesync, I see the mobile pc plug&play pop-up. ... In Network Connections, I see Windows Mobile-based Device, no firewall, no ... Under USB controllers, ...
    (microsoft.public.pocketpc.activesync)
  • Re: Need guidance developing NIC driver
    ... can't just relay network packets from one usb network adapter to another? ... > USB uses standard Microsoft driver, to act as a network port. ...
    (microsoft.public.development.device.drivers)
  • Re: Need guidance developing NIC driver
    ... If by 'prototype' you mean DDK sample, then I think the mux one is best fit. ... USB uses standard Microsoft driver, to act as a network port. ...
    (microsoft.public.development.device.drivers)
  • Re: Cant synch Verizon/UTSTarcom/Audiovox 6700 after 1rst attempt
    ... ActiveSync - 4.1 ... Let's stick with the driver first...Device Mgr 1.0 ... Intel82801DB/DBM USB Universal Host Controller - 24C2 ... I see it under Network Adapter. ...
    (microsoft.public.pocketpc.activesync)
  • Re: Miniport driver
    ... I guess the OP wants to remote everything in addition to printer. ... > full USB emulation over the network? ... >> to a different computer in your LAN network. ... >>> complicated task to write such a driver. ...
    (microsoft.public.development.device.drivers)

Quantcast