Marius Liebenberg wrote:
> I tried your little program on the PCI addon LPT and it made no impact. 
> I can see the inputs from pin 2 up to pin 4 but pin 6,7 and8 remains in 
> output mode for some reason
>   
This sounds like the port has become defective.
> Will the program work on the PCI card?
>   
The problem is that on some PCI cards, the normal offset of 0x402 
between the
data port and the ECR register are different, and the right register address
needs to be figured out, often by trial and error.  You may be able to
figure it out from the lspci -v command, and then fool the program by
entering an address that is, perhaps, 0x400 lower than the suspected
config register group, so that it uses the 3rd register of that group.
(That is 0x02 above the beginning of the group.)
(Note, poking random PCI registers can cause a system crash.)

Jon

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to