Re: USB Development

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Paul G. Tobey [eMVP] (ptobey)
Date: 10/22/04


Date: Fri, 22 Oct 2004 13:45:50 -0700

Does the device have a virtual serial port corresponding to the USB port? I
don't know what port number it might be given, as it would likely be
different on every device, but you might find it by looking in the registry
at HKLM\Drivers\Active. Each entry represents one device and you'd be
looking for devices that have names like COM<n>:. You wouldn't know what to
send to use the low-level driver calls, unless you know exactly how the
dongle device works.

Paul T.

"Bob Clegg" <bob@nowhere.com> wrote in message
news:e0W6cdHuEHA.2184@TK2MSFTNGP12.phx.gbl...
> Hi,
> Could I please get in here with a question similar to Jeremy's?
> A radio device with an RS232 Output generates a small ASCII stream of
> data.
> We have successfully talked to the device using a laptop but wish to use a
> Casio IT500 which has a USB port.
> We have plugged the radio device into a commercially available dongle
> which
> gives a USB output.
> Physically we can plug the dongle into the CASIO IT500. Can we extract the
> data using calls to the Windows CE 'standard USB drivers' ie. making calls
> from a managed C# application or would we be up for a complete driver
> development?
> Thanks
> Bob
> "Jeremy" <Jeremy@discussions.microsoft.com> wrote in message
> news:649469A2-6640-4002-B37B-E82A5DAC6194@microsoft.com...
>> The current environment we're developing on is the HP IPAQ 6315 which is
>> running WM 2003 or PPC 2003. The host in our scenario is a small micro
> that
>> has a USB host controller on it. The micro board and the HP device need
>> to
> be
>> able to send bulk data back and forth. Is that enough info?
>>
>> Jeremy T.
>>
>> "Paul G. Tobey [eMVP]" wrote:
>>
>> > There's no defined interface for that sort of operation on USB at the
>> > managed code level. In fact, I doubt that the necessary header files
> and
>> > libraries are even available in the device SDK. You'd have to have
>> > more
>> > detailed information about the driver and the platform for us to have a
>> > chance to get an answer right...
>> >
>> > Paul T.
>> >
>> > "Jeremy" <Jeremy@discussions.microsoft.com> wrote in message
>> > news:6E4D3E82-FB12-4062-961C-071CAD3981E0@microsoft.com...
>> > > Has anyone done any USB development using C# and the compact
> framework?
>> > > I'm
>> > > primarily looking for information related to sending and receiving
> data
>> > > from
>> > > bulk endpoints after enumeration has occured and even the process of
>> > > identifying when a PDA has become connected to a host.
>> > >
>> > > --
>> > > Jeremy T.
>> > > Software Engineer
>> >
>> >
>> >
>
>



Relevant Pages

  • Re: USB Memory Module Driver Problem
    ... This driver enables "motto hairu" USB interface on DOS. ... RAM DISK driver for USB floppy, ... USB port and access both. ...
    (comp.os.msdos.misc)
  • Re: Alps 5000 USB
    ... I bought a kit with a cable and a driver installation CD that was ... supposed to allow the printer to use a USB port. ... The beauty of the setup is that you can use the ALPS driver under the ... XP OS and "divert" the output to the USB cable ...
    (comp.periphs.printers)
  • Re: Assinging new USB laser printer to LPT1 port?
    ... If you are connecting your printer with a USB cable, you use a USB port. ... You don't even need to install your printer driver - Windows will use its own driver - but you'll probably have more features if you install the printer manufacturer's driver. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Unable to install MTP device (MP3 player)
    ... a driver scan through Driver Agent and the results indicated that I have ... Network adapters - VIA Rhine II Fast Ethernet Adapter ... Universal Serial Bus Controllers - USB Mass Storage Device ... Have you tried plugging your device into a different USB port? ...
    (microsoft.public.windowsxp.music)
  • Re: LEXMARK Z605 WONT PRINT.
    ... are using a USB cable and the printer is set to a USB port. ... Usual method is to instal USB driver software before ... set up correctly during installation, ...
    (comp.periphs.printers)