Re: Shell Command port also used by application
- From: Michael Schnell <mschnell_at_bschnell_dot_de@xxxxxxx>
- Date: Sat, 23 Feb 2008 11:50:49 +0100
I
would like to use this port for my application without rebuilding the kernel.
hat are you trying to accomplish ? Use the serial port with an application (started from the command line) or with a daemon (that has no user interface ?
With an application, can't you simply use the standard in and out data streams for the serial data ?
With a daemon: if you don't start a shell (usually done by the init process, mostly by means of inittab) the serial port should be free for other use.
If you want both (switching the serial port between a shell and your application, I suppose you need to modify (inittab and/or) the startup shell scrips so that the shell starts your application after other initializations. If your application exits the shell is ready to communicate again.
-Michael
.
- Prev by Date: Re: Shell Command port also used by application
- Next by Date: Re: Shell Command port also used by application
- Previous by thread: Re: Shell Command port also used by application
- Next by thread: Re: Shell Command port also used by application
- Index(es):
Relevant Pages
|