I've added this in trunk
changeset 1840, release
changeset 1841I'm not really clear on the logic of skipping certain input values. This was probably an attempt to make the script LED numbers consistent across cameras, but this hasn't been done consistently across other ports. We really need to do something like the mode map, with named/known values.
Looking into this a little more, it may be preferable to use the LEDDrive function (playing nicely with the Canon OS rather than poking the MMIOs directly). This is found correctly by the sigfinder, but will need some testing to determine the correct values. See comments in d10 changeset 1839 for information about the parameters. If you have eventprocs enabled, you can test this in lua using
call_event_proc('Driver.Create')
call_event_proc('LEDDrive',<LED NUM>,<VALUE>)
Using ptp, you can test interactively