ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Auto-run files onTS-7200

To:
Subject: Re: [ts-7000] Re: Auto-run files onTS-7200
From: Kyaw Kyaw <>
Date: Thu, 15 Mar 2007 22:23:30 -0700 (PDT)
Hi Alvaro,
              Could you please explain more specifically or point the web relating what you mean because I didn't realize cause of my poor knowledge in Linux.Thanks!
 
Best Regards,
Kyaw Kyaw( Naing).

----- Original Message ----
From: Alvaro Aguirre <>
To:
Sent: Wednesday, 14 March 2007 2:01:21PM
Subject: Re: [ts-7000] Re: Auto-run files onTS-7200

Any program set on the init scripts must be non-blocking, if not it freeze until the program exit. To get it non-blocking you can fork it and get a new id for the child and exit the parent, launch your program as a daemon or simply run a script (from the init script) that launch your program and use <&> (i didn't really know why it works, but it works).

Good Luck,
Alvaro

On 13 Mar 2007 22:48:41 -0700, Kyaw Kyaw <> wrote:

I want to use LCD display and 4x4 keypad (come with board) to make some functions (such as A/D conversion, Digital I/O) without using another computer's help. To do so, I need to make sure that the board login and run program automatically when I feed 5V to the board.
                I think now you know what I wanna to do clearly. let me go to my board case. I tried to make some change in the "/etc/init.d" and "/etc/rc.d/rc3. d" by using the following command. (My TS-7200' kernel is TS-Kernel and default run-level is 3).

1. Firstly I compiled the lcdmesg (LCD Display) in my host computer (cannot compile in the board bez of no gcc compiler is installed by default) and ftp to the board and put inside "/etc/init.d" folder. After that change to the executable mode to lcdmesg.
2. Then " chmod a+rx lcdmesg" .
3. Go to /etc/rc.d/rc3. d and type " ln -s /etc/init.d/ lcdmesg S21lcdmesg".
( In that case I don't know how to make the S level for my display, so I set to 21). The following is the links included in rc3.d file for remarks.
{S10Network  S11portmap  S20inetd    S30telnetd  S40apache   S90ts7kvfb}

               Then, I reboot my board. But I see only the word "start" and cannot use the LCD display ( if i go to the /etc/init.d and separately run lcdmesg, it work. But i doesn't work automatically) .  Do I need to set dedicated level in rc3.d file? Do you have any idea to develop my idea?

Cheers!
Naing.



Real people. Real questions. Real answers. Share what you know .





Yahoo! Movies - Search movie info and celeb profiles and photos. __._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU