[Date Prev][Date Next] [Chronological] [Thread] [Top]

FW: [rtl] Setting a bit pattern dynamically on the parallel port





> ----------
> From: 	Basham, Richard R
> Sent: 	Sunday, May 16, 1999 4:49 PM
> To: 	rtl@rtlinux.cs.nmt.edu; 'omill@mail.ewu.edu'
> Subject: 	RE: [rtl] Setting a bit pattern dynamically on the parallel port
> 
> 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: 	omill@mail.ewu.edu[SMTP:omill@mail.ewu.edu]
> Sent: 	Sunday, May 16, 1999 4:41 PM
> To: 	rtl@rtlinux.cs.nmt.edu
> 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 (omill@ewu.edu)
>   Eastern Washington University
>   
>   Voice Mail :	(509) 359-6907                                                               	
> __________________________________________________________________________
> 
> 
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
> 
> 
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/