Author Topic: Starting command-line driver from LMCE  (Read 3036 times)

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Starting command-line driver from LMCE
« 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
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Starting command-line driver from LMCE
« Reply #1 on: March 23, 2008, 10:16:23 pm »
/etc/rc.local will set you free.

-Thom