Here is a quick sketch diagram of what I am aiming for with all of the charge circuitry omitted for clarity.
I'll add in the trigger circuits (and all of the missing pin numbers and names) once I have refined the design a bit (in other words once the remaining parts of the puzzle have arrived, and I have done a lot of head scratching).
The PIR or external trigger would be powered from +3.6V and the un-switched 0V
The camera (and the opto-isolator) would rely on the +3.6V and switched 0V
Pulling either of the two control pins high would switch the battery through to the camera, and keeping either high would maintain the output.
Ignore the capacity of the battery in the diagram, that is probably just as random a number as the actual capacity of the battery.
EDIT: On the subject of capacity, I just fired up the Battery Intervalometer script from
here (with shooting disabled, it only does a half shoot. 'cos its running on an old 128Mb SD card I use for testing). I am going to see how long it takes to drain the battery. The test setup is my 850 IS with a buck regulator module connected to the solar charger, in a well lit room. It will be interesting to compare the life of this battery with the Canon NB-5L, this should give me a better figure for the capacity then the stated value on the charger (2600mAh).
I don't expect the solar panel to increase the life by much in this setup, as we are constantly switched on. Where the solar panel should help is in the situation where it can top up the battery between shots, when I have made the necessary modifications.
I am also not factoring in any losses due to using the buck regulator.
EDIT: Well it seems I forgot to actually charge this particular beast
and the charged one is in the office, so in about 8 hours I will fire up the script. One interesting thing is that when it dies, the device appears to be completely dead, even the charge light stops working (I thought I'd killed it). The charge light comes back on after a minute or so of charging. I expect the Chinese manual may explain this, but since I don't speak Chinese....