> Denis Brunet (Stage Geosis 09/1998) wrote:
> >
> > Hello everybody,
> >
> > I am a newbye in the hardware programming under Linux. I am porting an interrupt 
>controlled software from DOS to Linux.
> >
> > In this soft there are three IRQs which control three corresponding handlers.
> > I saw that it exists in the Rubini's books the modularization in the kernel space 
>and that another way is represented by RTLinux.
> > As I have not yet a great knowledge in this area I am not able to choose the right 
>method. I got the RT man and docs but for IRQ handling there are not great infos.
> > My only pb deals with interrupts handling. I should prefer handle them if possible 
>in the user space. Do you think that RTLinux is a easier way than the kernel space 
>programming ?

This is an RTL list but still I'll say that if you can do the job in a
standard Linux device driver do it that way.  Standard device drivers
do have a more complex interface to the Linux kernel but Rubini's book
is a great help With his book I was able to get a basic driver up and
going in a couple evenings.  I think you should use RTL only if you need
it's Real_Time capability.  I have written now, two camera contolers for
a pair of specialized astromonical cameras.  One uses RTL the other does
not. The diference was that one camera has a micro controller to do the
low level RT stuff the other did not.  Looking back, the RT task was harder
to debug but had a simpler interface to the OS.  My conventional Linux driver
(Based on Rubini) has a complex interface but does so little processing that
debugging was easy.   One other point:  If you intend to widely distribute
your software the conventional driver is better as it does not force your
users to patch and recompile thier kernels which is something most users
can't do.  On the other hand if you need RTL, you need RTL.The first driver
I wrote could not have been done without it, Well I could have stuck with DOS. 
-- 
--Chris Albertson

  [EMAIL PROTECTED]                Voice:  626-351-0089  X127
  Logicon RDA, Pasadena California          Fax:  626-351-0699
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to