Olga,
You can not simply use global variables to pass information between user space
processes and kernel space processes. You can use shared memory or you
can use the rt_fifos. If you want to use shared memory (it acts like global memory)
you need to read the howto for using shared memory. There are several steps to
follow in both the rt_module and the user space process. Otherwise you need to look
at the frank example and use the fifos.
I hope this helps.
Rich
> ----------
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, May 16, 1999 4:41 PM
> To: [EMAIL PROTECTED]
> Subject: [rtl] Setting a bit pattern dynamically on the parallel port
>
>
> Hello :
> I am running a periodic RT task that sets a bit pattern
> on the parallel port.
> How can I change this bit pattern dynamically ? I mean
> when a user presses a key, the bit pattern on the parallel port gets
> changed ? I can detect a key press in my application.
> Currently I get a stable bit pattern after every time I do insmod
> <module>, but the pattern
> stays even after I pass a different bit pattern to the module via a
> global variable in my include file
>
> Any help will be appreciated
>
> Sincerely,
> Olga
>
>
> ______________________________________________________________________
>
> Olga Mill ([EMAIL PROTECTED])
> Eastern Washington University
>
> Voice Mail : (509) 359-6907
>
> __________________________________________________________________________
>
>
> --- [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/
>
--- [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/