Hello Surya,

the printer port interrupt also serves to catch spurious
interrupts, this means pulses on ANY interrupt line,
which are so short, that the channel they have actually
appeared on can not be detected by the interrupt controller.
You should place code to check whether there actually is
an interrupt from the printer port, and silently exit 
the service routine otherwise.

I have not studied your code, but hope this helps
anyway.

Best regards,

Thomas Wuensche

Surya P Kommareddy wrote:
> 
> Hi all,
>         Merry Christmas and a happy new year.
>         I have been trying to write an Interrupt handler, for the parallel
> port. Attached are the files for the module. Even though I don't give any
> interrupt signal(tenth pin of the port) on the parallel port, the
> interrupt handler gets activated. Am I doing something wrong?? I am using
> RTlinux2.0 on Redhat6.1 with 2.2.13 kernel.
> 
> Thanks in anticipation,
> Surya.
> 
>   ------------------------------------------------------------------------
>                   Name: common.h
>    common.h       Type: Plain Text (TEXT/PLAIN)
>               Encoding: BASE64
>            Description: common.h
> 
>                       Name: rt_process.c
>    rt_process.c       Type: Plain Text (TEXT/PLAIN)
>                   Encoding: BASE64
>                Description: rt_process.c

-- 
-------------------------------------------------------
EMS Dr. Thomas Wuensche
Phone: +49-8441-490260
Fax    +49-8441-81860

Visit also our web-site at http://www.ems-wuensche.com/
-------------------------------------------------------
--- [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