Hi all,
I have the following problem :
I created 4  rtf's, 1 interrupt handler and 3 rtf_handlers.
Out of the interrupt handler I send data to  rtf0. Works fine with "cat
< /dev/rtf0" on Linux side.
2 of the rtf_handlers read from rtf1(2)  when a Linux process writes to
them. Works also fine with "echo ... > /dev/rtf1(2)".
Now I want the third handler to be called when my Linux process wants to
read from rtf3 . But it dosn't work with "cat < /dev/rtf3"  :-((

Here the relevant parts of my code.
...
static char c = " ";
...
int fifo_handler_3 (unsigned int fifo) {
        rtf_put(fifo,&c,sizeof(c));
        return 0;
}

...
int init_module(void) {
    ...
    rtf_create_handler(3, &fifo_handler_3);
    ...
}

Any ideas ?
Thanx, Michael


--- [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