From e24b7e25dc5828af23f9e1ced42144669bf20e76 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 20 May 2020 13:16:51 +0200 Subject: send request access and device_name commands to enable Lumix remote, https://github.com/gphoto/libgphoto2/issues/409 --- camlibs/lumix/lumix.c | 8 ++------ 1 file 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; -- cgit v1.2.1