How can I build a USB driver from the source code provided in the platform
builder kit.?

I am able to compile the files, but the DLL is not build.
What all changes do i have to make to the Sources file?

Thanks in Advance.

Re: Urgent Building USB driver by Steve

Steve
Mon Oct 25 16:36:59 CDT 2004

You aren't giving us enough information. What kind of errors are you seeing?

--
Steve Schrock
Windows CE Device Drivers

This posting is provided "AS IS" with no warranties, and confers no rights.

"DriDev" <ss@yahoo.com> wrote in message
news:%23MHpQ7ouEHA.3276@TK2MSFTNGP15.phx.gbl...
> How can I build a USB driver from the source code provided in the platform
> builder kit.?
>
> I am able to compile the files, but the DLL is not build.
> What all changes do i have to make to the Sources file?
>
> Thanks in Advance.
>
>



Re: Urgent Building USB driver by DriDev

DriDev
Tue Oct 26 00:05:53 CDT 2004

I built the source code using BUILD command from platform builder and set
the sources file for building a DLL.
I did not get any compiler error and the object file is also created. but i
did not get the DLL or lib file.
"Steve Schrock [MS]" <sschrock@online.microsoft.com> wrote in message
news:e9j5ErtuEHA.2096@tk2msftngp13.phx.gbl...
> You aren't giving us enough information. What kind of errors are you
seeing?
>
> --
> Steve Schrock
> Windows CE Device Drivers
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "DriDev" <ss@yahoo.com> wrote in message
> news:%23MHpQ7ouEHA.3276@TK2MSFTNGP15.phx.gbl...
> > How can I build a USB driver from the source code provided in the
platform
> > builder kit.?
> >
> > I am able to compile the files, but the DLL is not build.
> > What all changes do i have to make to the Sources file?
> >
> > Thanks in Advance.
> >
> >
>
>



Re: Urgent Building USB driver by Bruce

Bruce
Tue Oct 26 07:05:03 CDT 2004

Okay, let's dig deeper. You aren't giving us enough information, what did
you do? Did you copy directories from common, if so to where and what else
did you do?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: Urgent Building USB driver by Vicky

Vicky
Fri Dec 17 00:33:03 CST 2004

Hi

I am new to Win CE and a fresher to device drivers. I have to migrate a NDIS
miniport driver (for WLAN adapter card) from Windows XP to Windows CE. The
adapter card has USB interface.

I was also told in reply to my previous posts that the USB stack is
completely different in WinCE. If that is the case, what is it? I could not
find any documentation about this. Can someone provide me the same?

I have setup a CEPC where I can connect the card and it asks driver for the
USB device. I wrote a simple driver that communicates with the device using
USB_FUNCS table passed in DllEntry(). So far so good.

Since NDIS architecture is not different in WinCE, I thought migration part
should not be tricky. But when I studied the Win XP driver source code, I
found that there are a lot of things different or not present in WinCE. I
have listed few of them below:

1. There are some IRP related calls.
2. IRQL related calls (KeGetCurrentIRQL, KeRaiseIRQL, KeLowerIRQL)
3. I/O routines using USB request block (URB).
4. and many more

I could not find these calls in the PlatformBuilder help of any WinCE
header/library files. But, I could see that using the functions defined in
USB_FUNCS, I can accomplish the task of communicating with the device. But
how do I get a handle to USB_FUNCS in the miniportXXX handlers?

Do I have to write 2 separate driver? One that enumerates the device and a
miniport driver where the enumerator passes me the pointer to USB_FUNCS?

Can someone send me a sample of registry keys that I need?

Any help will be highly appreciated.

Regards

Vicky