Hi,

On Sat, Oct 26, 2019 at 05:57:06PM +0200, Joachim Weishaupt wrote:
> Dear community,
> 
> I've switch to Linux and wanted to get my pictures from my EOS 80D via
> W-Lan. I liked the eos utility (windows) that can download pictures
> without usb plug over the wifi connection.
> 
> My situation: My PC and my EOS 80D are both connected within the same
> wifi segment, but not direct connected as it is described here:
> 
> https://www.multimedia4linux.de/index.php/canon-dslr-wiki/wlan-wi-fi-mit-gphoto2-nutzen
> 
> 
> I tried the commands:
> 
> ping 192.168.179.59 -> successful
> 
> gphoto2 --port ptpip:192.168.179.59 --summary -> fails,  dump is on the
> attachment.
> 
> 
> Thanks for helping.

So the relevant part of the debuglog:

> 0.014148 ptp_ptpip_init_command_request(3): ptpip/init_cmd data: (hexdump of 
> 44 bytes)
> 0000  2c 00 00 00 01 00 00 00-4c e9 4b 90 d6 be d5 61  ,.......L.K....a
> 0010  68 8e fd be 56 51 b9 c7-67 00 61 00 6e 00 64 00  h...VQ..g.a.n.d.
> 0020  61 00 6c 00 66 00 00 00-00 00 01 00              a.l.f.......    
> 
> 0.014159 ptp_ptpip_init_command_request [ptpip.c:472](0): return 44 / len 44
> 0.018965 ptp_ptpip_generic_read      (3): ptpip/generic_read header: (hexdump 
> of 8 bytes)
> 0000  0c 00 00 00 05 00 00 00-                         ........        
> 
> 0.018969 ptp_ptpip_generic_read      (3): ptpip/generic_read data: (hexdump 
> of 4 bytes)
> 0000  01 00 00 00            -                         ....            

We send the init command, and we receive back "init failure" with return code 1.

The reason is probably that the 16 byte GUID is not the one the camera expects.

I dug a bit and it seems we might be able to get the GUID from the MDNS query,
see e.g. slide 56 of:
https://conference.hitb.org/hitbsecconf2013ams/materials/D1T2%20-%20Daniel%20Mende%20-%20Paparazzi%20Over%20IP.pdf

there is a tool that does that and hooks the data into libgphoto2 for further 
usage:

https://github.com/perlfu/6dpy

(So far did not have luck with EOS M10 or PowerShot SX720HS to reproduce this 
... but it might work for the EOS 80D )

Ciao, Marcus


_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to