im using rtlinux-2.2. ive installed IRQ handler for
IRQ4(/dev/ttyS0) using rtl_request_irq(). the handler
is as follows.

{
        rtl_printf("<IRQ 4 handler> IIR = %x", 
                 inb(COMM1BASE+2));
        return 0;
}

ive also connected the 2 serial ports using a null
modem cable.

when i do "echo hello > /dev/ttyS1" i thought data
will b recved in /dev/ttyS0(due to the null modem
cable) and ill get an interrupt. but it doesnt happen.

but when i do "echo hello > /dev/ttyS0" i get 2
interrupts as follows.
<IRQ 4 handler> IIR = c2
(after some time)
<IRQ 4 handler> IIR = 1

the first i found was tx buffer empty and the 2nd was
no ints pending.

ive checked the null modem cable and its perfect.

wat should i do to get the interrupt on the recving side?

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.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/

Reply via email to