View Single Post
Old 10-01-2008, 10:56 AM   #11
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Quote:
Originally Posted by Antartica View Post
I'll try to implement that tonight too .
Great!

You might as well add code to kill the busy led... This is what I do in xepdmgr.c :

Code:
#ifndef DUMMY_BUILD
#include <liberdm/erdm.h>
#include <liberipc/eripcbusyd.h>
#endif
Code:
        if(argc>2) {
                /* Start child process */
                install_signal(SIGCHLD,sigchld);
                if((child_pid=fork())==0) {
                        erClientChannel_t erbusyChannel;
                        erIpcStartClient(ER_BUSYD_CHANNEL, &erbusyChannel);
                        busySetBusy(erbusyChannel, ccBusyState_Off);
                        int fd;
                        /* Close unneeded fds */
hansel is offline   Reply With Quote