-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/19/2012 1:53 PM, Sebastian Kuzminsky wrote:
> On 11/19/12 12:49 , andy pugh wrote:
>> Is there any way to have the messages from a HAL realtime
>> component print to the halrun prompt (ie stdio) rather than to
>> dmesg?
>> 
>> I have a command-line (only) HAL component that could do with
>> being a little more interactive.
>> 
> Realtime components in the RTAI world run in the kernel, so there
> is no stdout for them to print to.
> 
> It might work in one of the new userspace realtime worlds 
> (xenomai-user?), but I don't know anything about those.

Just hook an LED to a GPIO pin and blink-out morse code...interactive
*AND* a pretty light show!  :)

BTW, I HAVE actually *DONE* this...

...or as indicated above, you can build one of the user-mode flavors
(I'm most familiar with the rt-preempt, but xenomai-user might work
too), and not only can you print to stderr and stdout, but you can
also debug your module with gdb, run strace, etc.  Just remember to
follow children when forking.

- -- 
Charles Steinkuehler
char...@steinkuehler.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlCqspcACgkQLywbqEHdNFwxJwCfX5bODsmLEhRm2Is/CnbD6eRk
3coAoKPTyf8J2niqj1YNnhcdIBhiM+DJ
=bPvD
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to