I really think that code snippet should be part oh the hal printer port 
driver...  as maybe an parameter to activate.  People have been having problems 
with the g540 as it needs to be in EPP mode so the pin that twiddles the watch 
dog has enough drive.  Even thorough EPP mode is set I the bios - it seems that 
Linux doesn't always keep it set.  (Plus PCI cards usually need a utility...)



On Thu, 31 Jan 2013 19:55:53 -0800 (PST)
 "Peter C. Wallace" <[email protected]> wrote:
> On Thu, 31 Jan 2013, Jon Elson wrote:
> 
> > Date: Thu, 31 Jan 2013 20:45:49 -0600
> > From: Jon Elson <[email protected]>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> >     <[email protected]>
> > To: "Enhanced Machine Controller (EMC)" <[email protected]>
> > Subject: Re: [Emc-users] BIOS settings,
> >     EPP parallel ports - was Re:  EPP data transfers
> > 
> > John Stewart wrote:
> >> Jon;
> >>
> >> On 2013-01-29, at 10:15 PM, Jon Elson wrote:
> >>
> >>
> >>> ...  Even though it is set
> >>> to this mode in the BIOS, it may not actually be in EPP mode on a lot
> >>> of motherboards.  This program is at
> >>> http://pico-systems.com/codes/pcisetup
> >>> You can also find the source code in the same directory.
> >>> Most of the LinuxCNC drivers for EPP devices do this (writing 0x80 to the
> >>> I/O register 0x402 higher than the parallel port base register) to
> >>> enable EPP mode.
> >>>
> >>>
> >>
> >> Your timing on this was impeccable; with my 5i25 upgrade, my parallel port 
> >> MPG went to the main Intel D525MW parallel port.
> >>
> >> And, of course, even with latest (Jan 13 2013) BIOS update, nothing 
> >> worked. 
> >> From looking at the HAL pins, it was obvious that the port was actually 
> >> stuck in that "normal" mode, despite reading and trying all that the 
> >> hal_parport document said.
> >>
> >>
> >> So I took your little program, changed the include file, allowed one to 
> >> hard code in the port address, put it so it runs on (re)boot; and put it 
> >> in 
> >> my little blog:
> >>
> >> http://cnc-for-model-engineers.blogspot.com
> >>
> >> Hopefully the mention of you in there is ok.
> >>
> >>
> > Sure.  What is the new include file that worked, and what version of
> > Ubuntu are you using?
> >
> > My hal_ppmc driver does this automatically, I thought the Mesa drivers
> > also had this in their code.
> >
> > Jon
> 
> I think the Mesa driver has always done this, but needed a work around for 
> the 
> D525 bios reporting that its port was not EPP capable (one of many BIOS/PP 
> issues in the D525)
> 
> The D525 BIOS (at least the one I have) simply does no setup of the local 
> parallel port regardless what BIOS settings you have. Its almost like they 
> changed the LPC I/O chip in the middle of the production and didn't bother to 
> update the BIOS to match
> 
> 
> 
> >
> > ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_jan
> > _______________________________________________
> > 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.
> 
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to