Re: USB newbie: many questions (driver, class, etc.)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Robin (holi_at_gmx.ch)
Date: 06/15/04


Date: Tue, 15 Jun 2004 17:53:56 +0200

Thanks Doron

I found out, that we could use Communication class (CDC) with Data
subclass. This way, windows creates a virtual COM port on its own (using
usbser.sys).

But by now, we have another problem there:
According to the specs of CDC there are 2 endpoints with another
optional interrupt endpoint. By now, we have this optional endpoint not
made available. MacOS can handle this situation, but Windows 2000 Pro
ends in a blue screen:

KMODE_EXCEPTION_NOT_HANDLED Stop 0x0000001E (OxC0000005, 0xEEF4842F,
0x00000000, 0x0000000C)
Address 0xEEF4842F base at 0xEEF48000 Date Stamp 0x3E2ECF5D USBD.sys

Maybe this can help you (as I see, you are a Microsoft employee) - or
you can give me a hint on this.

I'll come back to this later.

"Doron Holan [MS]" wrote:
>
> GPS does not, but almost every single GPS application does. You will either
> have to buy a driver or develop a virtual
> COM port. Developing it on your own is not an easy task, nor a short lived
> one. If you are not familiar with driver development, it wil take 6 months
> minimum, most likely longer.
>
> 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.
>
> "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> news:uBOCTlhUEHA.3012@tk2msftngp13.phx.gbl...
> > > Another thing is: we'd like to show it as a COM-device (maybe "tunnel" 2
> >
> > For what? It is huge amount of extra unnecessary complexity. GPS does not
> > assume the serial port to be used.
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim@storagecraft.com
> > http://www.storagecraft.com
> >
> >



Relevant Pages

  • Re: i want to add a timeout to my code
    ... >>> I want to add a timeout so that when I pull out my gps from my serial ... >>> port, it would wait for a bit then loop and then see if it's there. ... Yeah I'm using Windows 2000. ... The timeout parameter to Serial should suffice... ...
    (comp.lang.python)
  • Re: Garman GPS II
    ... Are you using a USB to COM port adapter? ... What's happening if that, when Windows detects a new COM port added, it runs ... your GPS unit is actual a serial mouse and your cursor starting going crazy! ...
    (sci.geo.satellite-nav)
  • Re: Question about USB CDC under Windows 98SE.
    ... My compagny built an USB device that use Virtual COM port (CDC) on a PC. ... using the included usbser.sys driver (and a custom ".inf" ... On Windows 98SE, its seems that the included drivers (usbser.sys and others ...
    (microsoft.public.development.device.drivers)
  • Re: best gps receiver for time synchronization
    ... I am trying to sync my Windows box to an external GPS source. ... I recently wanted to add a serial feed to a PC but, like your PC, there was no serial port. ... As to accuracy, I've been helping Dave Hart test a new NTP port for Windows, and on my PC I'm seeing reported offsets typically less than 300 microseconds from a serial and PPS GPS device, and there is strong evidence that the variations are temperature related, as the PC is in a domestic environment, and the reported offset correlates well with the ambient temperature. ...
    (comp.protocols.time.ntp)
  • Question about USB CDC under Windows 98SE.
    ... My compagny built an USB device that use Virtual COM port (CDC) on a PC. ... On Windows XP, using the included usbser.sys driver, ... a PC that run under Windows 98SE, without developing a custom USB CDC driver ??? ...
    (microsoft.public.development.device.drivers)