On Wed, Oct 10, 2012 at 10:59 AM, Arun Khan <[email protected]> wrote:
> On Wed, Oct 10, 2012 at 10:11 AM, Arun Venkataswamy <[email protected]> > wrote: > > > > > I have a headless Ubuntu 12.04 server and I have a C application which > has > > to run on system startup *AND* the C application has to have access to an > > USB keyboard. I am using a small USB numeric keyboard. > > Is it interactive that it requires a keyboard? Can it be modified to > remove this hardware requirement? > > Yes it is interactive. I am using the keyboard instead of hardware switches (it is an embedded project). Few keys are used to change modes and one key is used to start the work. The modes are displayed in a 16x2 alpha numeric LCD module. > > The program need not > > run in the background as it is the only program which will be running. > > If it is not interactive and is supposed to be *always* running, then > it is better to run it as a daemon and redirect it's output to a log > file like all other daemons do. The log file location and file perms > is up to you if want to give access to non root users to read it's > content. > It is interactive, as explained above. It is like a POS device without a monitor. > Let us know your final solution. > > Sure. I am still working on it. Will keep the list posted about the final solution. Regards, Arun http://wondroussky.blogspot.in/ "கற்றது கைமண் அளவு, கல்லாதது உலகளவு" - ஔவையார் Known is a drop, Unknown is an ocean _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
