gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
991 stars 317 forks source link

Panasonic S5M2 support #903

Closed tangbl93 closed 1 year ago

tangbl93 commented 1 year ago

Fill in fields below. If you don't know how, leave it free.

*Name of the camera

S5M2

camera summary output

shell command run with error

** xml

S5M2.xml.zip

** wireshark pcapng

by lumix sync app

S5M2.pcapng.zip

** Info

  1. using /cam.cgi?mode=accctrl&type=req_acc authorization request will report error
  2. to use the lumix sync app's authorization method, two encryption parameters are required. If the parameters are wrong, the camera will always be stuck in the loading process of the connection
  3. the two encrypted parameters of the req_acc_e authorization method will be updated every time you connect
/cam.cgi?mode=accctrl&type=req_acc_g
/cam.cgi?mode=accctrl&type=req_acc_e&value=...&value2=...

examples:

/cam.cgi?mode=accctrl&type=req_acc_e&
value=7171bb087476c6087474cf117474d20c7c68cf0c6974cf0c7475cd0c7775cf0c7571b978
value2=2b2daf55bbba9a52

/cam.cgi?mode=accctrl&type=req_acc_e&
value=6b11d81a6e16a51a6e14ac036e14b11e6608ac1e7314ac1e6e15ae1e6d15ac1e6f11da6a
&value2=314dcc47a1daf940
tomilov commented 1 year ago

do you know how to calculate the parameters from the password? What does they mean?

msmeissn commented 1 year ago

dup of 904, lets proceed there.