* libgphoto2/gphoto2-camera.c: Autodetect also in case of
camera->port != NULL.
* frontends/command-line/main.c: Only call gp_camera_set_abilities
if a model has been specified. Same with gp_camera_set_port_path.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2682 67ed7778-7388-44ab-90cf-0a291f65f57c