Klemen Dovrtel wrote:
>
> --------------------- HAL file ----------------
>
> loadrt threads name1=base-thread period1=2000000 name2=servo-thread 
> period2=20000000 # ns
>   
It will probably be MUCH easier to test this in user mode.  You need
root privileges and can open access to the parallel port with the
iopl(3) kernel service.  You may also need to use something like my
pcisetup program to put the port into EPP mode.  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.

Jon

------------------------------------------------------------------------------
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to