On Fri, 25 Dec 2009, fritz wrote: > Date: Fri, 25 Dec 2009 20:56:29 -0500 > From: fritz <[email protected]> > Reply-To: "Enhanced Machine Controller (EMC)" > <[email protected]> > To: "Enhanced Machine Controller (EMC)" <[email protected]> > Subject: Re: [Emc-users] Setting Parallel port in EPP mode > > Lars Andersson wrote: >> If I " loadrt pluto_servo ioaddr=0xBC00 " there is no complaint. >> >> However "show param pluto-servo.communication-error" increments rapidly >> when trying to pass data to/from the PlutoP. >> >> >> >> I guess the port is not in EPP mode. lspci -v says port is at 0xBC00 and >> [bi-dir]. To set EPP mode one shall write 0x80 in 0xC002 which is the ECP >> control reg. >> >> But the board is not in ECP mode either. There is no area assigned at >> C000-C007. Sending 0x04 to 0xBC02 is no help either. >> >> > Could you show the full lspci output for the card? > > If the card has only one i/o area, it may not be compliant with ECP/EPP > standard registers. A plug-n-play compliant PCI parallel port card > (that is also compliant with ECP1.9) should have a base I/O address, and > another area 0x400 above that, for each port the card has. > > I get the impression their cards are EPP only, with none of the ECP > registers.
That was my experience with the Lavalink card as well, the card I had (1 port parallel only) comes up in EPP mode without any setup whatsoever. This card worked perfectly with our 7I43 interfaced via EPP mode (verifying the the hardware _can_ work, this is with our DOS loopback test program), but failed to work under Linux/EMC2 for some reason. This is possibly because some driver, probe, or setup operation busted EPP mode, or guessed the addresses wrong. > > Without datasheets, the only way to learn more about the card is to have > one. If you write 0x80 to 0xC002, can you read back that value? > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
