@reyalpNo idea
I have minimum experience operating cameras+chdkptp on linux. So bare with me
Linux distro is on VM.I connected camera and got automounted.That fcked up things for chdkptp.So i had to configure ubuntu not to automount stuff.
Did that , camera was detected , not mounted.
In every case , chdkptp was connecting to the camera.But nothing worked.I could shutdown/reboot camera but thats all.None of the buttons on gui worked.
Camera was in a do-nothing-state even if i was disconnecting the usb cable.I had to remove battery and restart it in order to operate it.
Nothing to do with chdkptp.I checked with the precompiled chdkptp (with your fix) and it was same case.
Then i thought to check if camera is working ok in windows chdkptp.Since windows were upgraded lately something was screwed up with libusb and canon related stuff.
Reinstalled them , chdkptp and camera were working just fun.Tried to "pass" camera to VM but never got through ever again."Driver error" on the vm log.
So it has to do something about the connection of the camera in linux or vm or both.No clue what exactly.As i said 99% of the time i work with windows chdkptp.
Bottom line i cant check what you asked.
But i zipped chdkptp and the link is
https://www.dropbox.com/s/03nxr38aiogxivl/chdkptp.tar.gz?dl=0It should worked in any linux installation , all the libs are included (some libs must be present in distro though i suppose like e.g. readline6).Someone could take it and try it on some physical installation and tell us his comments.
Its the compiled chdkptp with the fix.