summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2020-05-20 13:16:51 +0200
committerMarcus Meissner <marcus@jet.franken.de>2020-05-20 13:16:51 +0200
commite24b7e25dc5828af23f9e1ced42144669bf20e76 (patch)
treec5ae1b687d2ca4b405206f95915dae22988460e7
parent1f029549f042b4234cc01ca526e8e0134c1ddcc6 (diff)
downloadlibgphoto2-e24b7e25dc5828af23f9e1ced42144669bf20e76.tar.gz
send request access and device_name commands to enable Lumix remote, https://github.com/gphoto/libgphoto2/issues/409
-rw-r--r--camlibs/lumix/lumix.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/camlibs/lumix/lumix.c b/camlibs/lumix/lumix.c
index 5cb8ee450..d465f333d 100644
--- a/camlibs/lumix/lumix.c
+++ b/camlibs/lumix/lumix.c
@@ -1893,12 +1893,8 @@ camera_init (Camera *camera, GPContext *context)
}
gp_filesystem_set_funcs (camera->fs, &fsfuncs, camera);
-/*
- startup code might need:
-
- loadCmd(camera,"cam.cgi?mode=accctrl&type=req_acc&value=4D454930-0100-1000-8001-020D0090325B&value2=GT-I9300");
- loadCmd(camera,"cam.cgi?mode=setsetting&type=device_name&value=GT-I9300");
-*/
+ loadCmd(camera,"cam.cgi?mode=accctrl&type=req_acc&value=0&value2=libgphoto2/lumix");
+ loadCmd(camera,"cam.cgi?mode=setsetting&type=device_name&value=libgphoto2/lumix");
if (switchToRecMode (camera) != NULL) {
int numpix;