@khurtwilliams OK, I've got it running, but I have some errors.
My Nikon D40 takes 5 shots, but it shows me this:*** Error *** The property 'Exposure Compensation' / 0x5010 was not set, PTP errorcode 0x200f.
*** Error *** Failed to set new configuration value -2000 for configuration entry /main/capturesettings/exposurecompensation.