EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: IOC Controllers Under Linux (or IOC's for < $500)
From: Eric Norum <[email protected]>
To: Bill Lavender <[email protected]>
Cc: [email protected], [email protected]
Date: Tue, 26 Jun 2001 15:38:23 -0600
Bill Lavender wrote:
.
.
.
> Can you send me a copy of the changes that you had to make to talk to the
> Cyberresearch boards?  It would be useful to see some examples of what is
> required to talk to real devices under Linux via ioccore.

For simple I/O (no interrupts, no DMA) I've found it easiest to just use
inb, outb, etc. right from the user level.  No kernel modules and no
linux drivers required.  I start such applications from a setuid-root
wrapper which allocates the appropriate I/O ports then setuid's back to
the real uid and exec's the application.  In this way any user can
safely play with the device without needing root priviliges.

-- 
Eric Norum                                 [email protected]
Department of Electrical Engineering       Phone: (306) 966-5394
University of Saskatchewan                 FAX:   (306) 966-5407
Saskatoon, Canada.


Replies:
Re: IOC Controllers Under Linux (or IOC's for < $500) John Quintana
References:
IOC Controllers Under Linux (or IOC's for < $500) John Quintana
Re: IOC Controllers Under Linux (or IOC's for < $500) Bill Lavender

Navigate by Date:
Prev: Re: IOC Controllers Under Linux (or IOC's for < $500) Bill Lavender
Next: IOC Controllers Under Linux (or IOC's for < $500) John Quintana
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: IOC Controllers Under Linux (or IOC's for < $500) Bill Lavender
Next: Re: IOC Controllers Under Linux (or IOC's for < $500) John Quintana
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·