[Linux-parport] ECR Register in PCI based ECP port

Ravi Shah shahravi20 at yahoo.com
Sun Mar 7 15:21:06 GMT 2004


Thanks Michael! I got it resolved. I can see the ECR registers at baseaddress_1+0x2

Ravi

--- Michael Kastner <michael.kastner at gmx.at> wrote:
> > Just to make sure, to detect the existence of ECR, the 
> > default value at that location should be 0x01, and on writing 
> > 0x34 to it, it shall return 0x35 (since the last two bits are 
> > read only).
> > Please confirm if I am right,
> 
> This will work for cards with the Netmos chip. I am not sure
> if it is the common way to check for the ECR register. You
> could take a look at the parport_pc source code and find out
> how it is done there.
> 
> > Do I need to do anything before I can start seeing the
> > parallel port registers (ECP), ie do I need to set any bits?
> 
> No, you should see all registers right away. It might be
> necessary to run kudzu for plug and play configuration after
> installing the card in the PC but I have never tried otherwise.
> 
> Regards,
>   Michael
> 


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com



More information about the Linux-parport mailing list