Problem with I/O port access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Did anybody can tell me to direct access I/O port in XPe?
I use a driver type and can direct access I/O port in Windows XP,
but the same program can not use in XPe.

Please Help me!!
 
Davi,

Could you give us more details on what issue you are trying to resolve?
What driver?
Did you componentize it?
Any errors in Device Manager, FBALog.txt or SetupApi.log?
etc.

KM
 
Dear KM,

I use the GIVEIO.SYS to access the I/O, this is get from internet.
I do not componentize it, only copy the sys file to the system root and
build one AP to access the I/O.
It is no any error in device manager, because it is not a device.
The AP can run in WinXP but can not run in XPe.

Davi
 
Davi,

I guess you forgot to copy giveio.inf. Since this is probably non-PnP driver you would need to either populate its registry entries
directly or use
Add Hardware Wizard from Control Panel (if included properly in your image) to install the driver.

To get the driver registry entires you either grab them from XP Pro machine where you already install this driver or use XPe
Component Designer to import the INF file.

Do not forget to check the driver dependencies (use Dependency Walker tool) and make sure they are all in your image.

Read this tip: http://msdn.microsoft.com/embedded/community/community/tips/xp/thrdprty/default.aspx.


In Device Manager (which does not only show hardware related components) your driver would probably appear under section Ports. To
make sure you see it, set View-->Show hidden devices menu option in the Device Manager.

Also, you haven't checked \windows\SetupAPI.log for the driver related errors.

KM

PS. I wonder what you meant by "AP" - application?
 
Hi Davi,

Just do what Konstantin said and it will work in no time.
To easy you search trough regmon.exe log concentrate on registry entries under:
HKLM\System\CurrentControlSet\Services\....
HKLM\System\CurrentControlSet\Enum\....
And optionaly on:
HKLM\System\CurrentControlSet\Control\Class\....

Regards,
Slobodan
 
Back
Top