First, you should set up a complete 8.10 system, if you haven't already. Please do not do any dev work on 0710.
You should set up a builder and run one complete pass:
http://wiki.linuxmce.org/index.php/Building_LinuxMCE_0810This will set up all the build dependencies you need.
You should then install
http://www.localeconcept.com/pub/devtools.tar.gz into /usr/local/bin
Afterwards, install pluto-sql2cpp and pluto-dcegen
you can then check out a copy of the SVN into i suggest /home/src/
sudo mkdir -p /home/src
cd /home/src
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810
cd LinuxMCE-0810/src
You should then make your device template. Specifying the type of device, what it requires for configuration data, what commands it can accept, what events it can emit, and plug and play device data.
If there is a way to detect the device automatically, add a plug and play record that has a mac address range of 0 and 0 and create a script in /usr/pluto/pnp which can detect the device, and send a messagesend back appropriately. Look at other scripts in this directory for guidance.
Once the device template has been made, you can then run:
cd DCEGen
/usr/pluto/bin/DCEGen -d xxxx
cd ../sql2cpp
/usr/pluto/bin/sql2cpp
you now have a complete project ready to go in the ../src directory. Go into it, look at the code. There are method stubs for each command to implement.
then run my prep.sh script to prep the makefile, so you can compile it.
prep.sh
make bin
you should now have a driver you can copy into /usr/pluto/bin/
You can then go into the web admin, advanced > configuration > devices > and add the device appropriately. How you set the controlled via category in the template determines how this device should be added to the tree. If the device is a network device, the driver probably should run on the CORE, and thus the device should be controlled by the core... if it is a parallel port device, it should be controlled by the media director category.
Once you've added a device, copied the driver to /usr/pluto/bin and gotten its device #, reload the router, and the device should start.
Once you're ready to check it in, run my unprep.sh script in the project directory to convert the makefile back into a form that can be checked into our SVN.
I know this is an eyeful, but it should be able to provide an overview of what you need to do.
-Thom