LinuxMCE Forums

General => Developers => Topic started by: gazlang on March 23, 2008, 10:54:02 am

Title: Starting command-line driver from LMCE
Post by: gazlang on March 23, 2008, 10:54:02 am
This is a question for the devs,

I there a way to start a driver for within LMCE automatically without having to enter KDE and run it from the command line?

I need to start a driver for a device listed in LMCE, but the driver depends on the device starting in LMCE before it is run so that entering the driver command in an init script doesn't work (because the init script is loaded before the devices in LMCE).

More specifically, I have set up a vfd display device in LMCE. I then have an external lcdproc client (see http://forum.linuxmce.org/index.php?topic=3297.0) that pipes information from the vfd device in LMCE to lcdproc. If the device in LMCE hasn't started then the client exits with error.

I had a similar problem getting the wiimote to run automatically on boot without manually running the driver from a command-line.

Any suggestions on getting LMCE to run commands for drivers near the end of the boot cycle would be appreciated

Cheers

Gareth
Title: Re: Starting command-line driver from LMCE
Post by: tschak909 on March 23, 2008, 10:16:23 pm
/etc/rc.local will set you free.

-Thom