With Linux, this is often an issue with some other software connecting to the camera automatically between when you plug in the USB cable and before you start chdkptp. On my Linux system it's part of the gphoto package and I have to disable that driver in my Linux config files (or just rename it so it can't be found).