Click here to Skip to main content
15,888,521 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: Great NMS tool Pin
Nagy Vilmos30-Apr-09 21:41
professionalNagy Vilmos30-Apr-09 21:41 
GeneralRe: Great NMS tool Pin
Dan Neely1-May-09 2:19
Dan Neely1-May-09 2:19 
Questionrequire the h/w devices Pin
raviraazk29-Apr-09 6:22
raviraazk29-Apr-09 6:22 
AnswerRe: require the h/w devices Pin
Jonathan Davies2-May-09 3:29
Jonathan Davies2-May-09 3:29 
AnswerRe: require the h/w devices Pin
Dave Kreskowiak2-May-09 5:33
mveDave Kreskowiak2-May-09 5:33 
QuestionWDF driver for ISA Pin
William R. Price28-Apr-09 2:16
William R. Price28-Apr-09 2:16 
AnswerRe: WDF driver for ISA Pin
Yama Fuji2-May-09 19:22
Yama Fuji2-May-09 19:22 
AnswerRe: WDF driver for ISA Pin
Randor 3-May-09 21:00
professional Randor 3-May-09 21:00 
William R. Price wrote:
I still do not know if I am going in the right direction. There is very little mention of the actual interface with the hardware. I recently found some references to "I/O commands" like "READ_PORT_XXX" and "WRITE_PORT_XXX" where XXX can be UCHAR, ULONG, USHORT, ULONG64. However, most references indicate these are to be used in Windows CE


No these functions can also be used for your embedded XP project. You can think of these wrappers as the equivilent of the old DOS _outp, _outpw, _outpd[^] functions. You stated your device driver was implemented in Borland-C so your old code would have probably used outport[^] and outportb[^].

William R. Price wrote:
Do I need something to tell WDF that the interface is an ISA bus and the interface is through I/O addresses?


If your PC104 card supports PnP ISA then when embedded XP boots the PnP manager will query the card and allocate the appropriate resources then send your driver a IRP_MN_QUERY_RESOURCE_REQUIREMENTS[^] request and ask your driver for its resource requirements which can be described in the IO_RESOURCE_REQUIREMENTS_LIST[^] struct which allows your driver to modify the resource requirements.

You will essentially need to write a PnP ISA device driver using WDF and create am INF file which contains the resource requirements. You could also write a co-installer and install the driver progmatically rather than use the INF file. More information here:
Device Installation FAQ[^]


William R. Price wrote:
Does WDF initiate a callback to the "EvtDeviceAdd" immediately after the WdfDriverCreate? van Dooren stated, "The EvtDeviceAdd function will be called each time the system determines that a new device has been connected". If not, how do I "tell" the system that our passive board is present


If the Plug and Play manager has successfully detected your device the EvtDriverDeviceAdd[^] callback is fired. The PnP manager already knows about the existence of your device at this point. The callback is there for you to initialize any additional resources or interfaces.

Best Wishes,
-David Delaune
QuestionApplication gets stuck after writing on to COM Port Pin
Sifar - 023-Apr-09 19:26
Sifar - 023-Apr-09 19:26 
AnswerRe: Application gets stuck after writing on to COM Port Pin
Luc Pattyn24-Apr-09 2:27
sitebuilderLuc Pattyn24-Apr-09 2:27 
AnswerRe: Application gets stuck after writing on to COM Port Pin
dybs24-Apr-09 15:41
dybs24-Apr-09 15:41 
GeneralRe: Application gets stuck after writing on to COM Port Pin
Sifar - 028-Apr-09 4:53
Sifar - 028-Apr-09 4:53 
QuestionWindows Mobile Waiting Cursor Pin
miguelji21-Apr-09 7:03
miguelji21-Apr-09 7:03 
AnswerRe: Windows Mobile Waiting Cursor Pin
Luc Pattyn21-Apr-09 7:37
sitebuilderLuc Pattyn21-Apr-09 7:37 
GeneralRe: Windows Mobile Waiting Cursor Pin
miguelji21-Apr-09 8:13
miguelji21-Apr-09 8:13 
AnswerRe: Windows Mobile Waiting Cursor Pin
Tim Layton5-May-09 2:34
Tim Layton5-May-09 2:34 
GeneralRe: Windows Mobile Waiting Cursor Pin
miguelji6-May-09 17:52
miguelji6-May-09 17:52 
GeneralRe: Windows Mobile Waiting Cursor Pin
doananhtai15-Jun-09 17:11
doananhtai15-Jun-09 17:11 
GeneralRe: Windows Mobile Waiting Cursor Pin
miguelji15-Jun-09 21:07
miguelji15-Jun-09 21:07 
Question% Processor Time of CPU Pin
M. J. Jaya Chitra15-Apr-09 1:08
M. J. Jaya Chitra15-Apr-09 1:08 
AnswerRe: % Processor Time of CPU Pin
Dan Neely15-Apr-09 2:49
Dan Neely15-Apr-09 2:49 
AnswerRe: % Processor Time of CPU Pin
Randor 15-Apr-09 18:56
professional Randor 15-Apr-09 18:56 
GeneralRe: % Processor Time of CPU Pin
M. J. Jaya Chitra15-Apr-09 19:23
M. J. Jaya Chitra15-Apr-09 19:23 
QuestionMETHOD_BUFFERED when using DeviceIoControl Pin
Shay Harel14-Apr-09 6:02
Shay Harel14-Apr-09 6:02 
AnswerRe: METHOD_BUFFERED when using DeviceIoControl Pin
Randor 15-Apr-09 19:12
professional Randor 15-Apr-09 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.