Gphoto2 supports PTP on other Nikon Coolpix cameras, just not the 5200 model. In freebsd, I use usbdevs(8) to show me the usb vendor and product id.
% sudo usbdevs -v | grep NIKON port 1 addr 2: full speed, power 2 mA, config 1, NIKON DSC E5200(0x0205), NIKON(0x04b0), rev 1.00The vendor id is 0x04b0 and the product is 0x0205. Looking around online finds the Nikon Coolpix 5400 with a product id of 0x0119. gphoto2 allows you to force a given usb vendor:product key to be treated as another. Super useful.
The following will download all media files from the camera, masquerading the 5200 model as 5400.
gphoto2 --usbid 0x04b0:0x0206=0x04b0:0x0119 -P