skyking

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • in reply to: GUI Not Finding airnefcmd #8031
    skyking
    Participant

    Since I can’t edit or delete orig post, disregard. I symlinked xterm to gnome-terminal and now get the yellow transfer report window, but only shows the heading and never connects and downloads. Set logging to debug but nothing in the log files either.

    UPDATE: deleted symlink and installed xterm, now back to normal downloads. So, airnef requires the xterm app and won’t work with a symlink to other terminal apps.

    in reply to: Airnef Linux GUI – Default GUID Wrong #1225
    skyking
    Participant

    Just got the RX100M2. 5 minutes to set up WiFi (I have a hidden ESSID and typing it in using a crappy phone-like keyboard sucked) the Canon has full keyboard which was nice.
    I ran an app called sony-guid-setter which is part of sony-pm-alt at
    https://github.com/falk0069/sony-pm-alt

    It mimics PlayHome and sets up the camera connected via USB instantly. I ran this, set up the SSID, selected ‘Send to Computer’ and ran aiarnef in auto and it instantly found camera and downloaded test pic.

    If you run the sony-pm-alt as daemon, it looks for the Sony in connect mode then auto runs an app like gphoto2 or it can as easily run airnefcmd so you don’t have to launch a desktop app – it auto downloads for you (pretty cool).

    I’m a happy camper now with a quick wireless way to get pics. Thanks for your input and creating airnef.

    in reply to: Airnef Linux GUI – Default GUID Wrong #755
    skyking
    Participant

    Ah, OK – got it. Sony RX100M2 arrives Thursday so I get to finally have WiFi transfers. Canon G7X is on CL for some Windoze user to use CameraWindow (which works great, BTW if you are running Win-OS).

    in reply to: Canon G7X – GUID Issue #752
    skyking
    Participant

    After wasting over 4 days of my time, I have abandoned my efforts with this. The G7X seems to be customized to communicate only with Windows or OSX (sends mDNS requests after not getting SSDP response).

    A Win7 capture shows at least three separate HTTP GETS using various .dll?content= <different values> with HTTP xml returns, all before the first PTP/IP Init.

    I have tried using both linux ushare and ssdpd daemons that accept SSDP requests and return SSDP location for camera to do HTTP GET where location is IP/description.xml and the camera never seems to accept the HTTP response so never initiates an HTTP GET. I have the computer hostname as the <friendlyname> tag in xml and this is what shows up on the camera as a Device in the list to connect to.

    If I want airnef to work I’ll have to trade the G7X for a Sony RX100M2.

    in reply to: Canon G7X – GUID Issue #750
    skyking
    Participant

    If you need to see the entire Win7/CameraWindow WS capture (with all initial SSDP and HTML), PM me and send me an address where I can email the entire capture file as an attachment.

    in reply to: Canon G7X – GUID Issue #749
    skyking
    Participant

    I did notice that the Canon sets up a Device (as in ASUS-G75) using the SSDP and HTTP GET first, then you have to select the device for it to continue to ‘Searching’. No PTP/IP takes place until camera is Searching. You can also add a device and it will search for a new device but doesn’t use PTP/IP.

    in reply to: Canon G7X – GUID Issue #748
    skyking
    Participant

    Bytes in Win7 and airnef Init Cmd before GUID and hostname don’t match?

    in reply to: Canon G7X – GUID Issue #747
    skyking
    Participant

    6 0.008519062 192.168.1.12 192.168.1.14 PTP/IP 96 Init Command Request GUID: 0000000000000000ffff001a7dda7113 Name: airnef
    0000 d8 49 2f 56 a8 a3 50 46 5d de 43 63 08 00 45 00 .I/V..PF].Cc..E.
    0010 00 52 9c c7 40 00 40 06 1a 74 c0 a8 01 0c c0 a8 .R..@.@..t……
    0020 01 0e 81 26 3d 7c be e9 b4 9f 00 02 26 01 50 18 …&=|……&.P.
    0030 72 10 83 af 00 00 2a 00 00 00 01 00 00 00 00 00 r…..*………
    0040 00 00 00 00 00 00 ff ff 00 1a 7d da 71 13 61 00 ……….}.q.a.
    0050 69 00 72 00 6e 00 65 00 66 00 00 00 00 00 01 00 i.r.n.e.f…….

    in reply to: Canon G7X – GUID Issue #746
    skyking
    Participant

    GUID 4 posts back from capture is wrong – I tried it with the correct one

    0000000000000000ffff001a7dda7113

    in reply to: Canon G7X – GUID Issue #745
    skyking
    Participant

    Crappy WP – can’t edit my own posts…here’s a new one with capture:

    33 97.155587 192.168.1.12 192.168.1.14 PTP/IP 100 Init Command Request GUID: 0000000000000000ffff001a7dda7113 Name: ASUS-G75

    0000 d8 49 2f 56 a8 a3 50 46 5d de 43 63 08 00 45 00 .I/V..PF].Cc..E.
    0010 00 56 0b 58 40 00 80 06 00 00 c0 a8 01 0c c0 a8 .V.X@………..
    0020 01 0e c1 71 3d 7c a5 a2 47 47 00 3a 34 01 50 18 …q=|..GG.:4.P.
    0030 fa f0 83 b3 00 00 2e 00 00 00 01 00 00 00 00 00 …………….
    0040 00 00 00 00 00 00 ff ff 00 1a 7d da 71 13 41 00 ……….}.q.A.
    0050 53 00 55 00 53 00 2d 00 47 00 37 00 35 00 00 00 S.U.S.-.G.7.5…
    0060 00 00 01 00 ….

    35 97.158595 192.168.1.14 192.168.1.12 PTP/IP 128 Init Command Ack Connection #:11224 GUID: 7ac07bfaa194304a81cfba91303e6aaa Name: Canon PowerShot G7 X

    0000 50 46 5d de 43 63 d8 49 2f 56 a8 a3 08 00 45 00 PF].Cc.I/V….E.
    0010 00 72 7a 81 00 00 40 06 7c 9a c0 a8 01 0e c0 a8 .rz…@.|…….
    0020 01 0c 3d 7c c1 71 00 3a 34 01 a5 a2 47 75 50 18 ..=|.q.:4…GuP.
    0030 80 00 f6 bf 00 00 4a 00 00 00 02 00 00 00 d8 2b ……J……..+
    0040 00 00 7a c0 7b fa a1 94 30 4a 81 cf ba 91 30 3e ..z.{…0J….0>
    0050 6a aa 43 00 61 00 6e 00 6f 00 6e 00 20 00 50 00 j.C.a.n.o.n. .P.
    0060 6f 00 77 00 65 00 72 00 53 00 68 00 6f 00 74 00 o.w.e.r.S.h.o.t.
    0070 20 00 47 00 37 00 20 00 58 00 00 00 00 00 01 00 .G.7. .X….…

    in reply to: Canon G7X – GUID Issue #743
    skyking
    Participant

    Win7 WireShark capture of just PTP/IP:

    • This reply was modified 4 years, 4 months ago by skyking.
    in reply to: Canon G7X – GUID Issue #742
    skyking
    Participant

    …so from reading about the sony-pm-alt it looks like on a Sony you select ‘Send to PC’ which would make sense that it’s broadcasting SSDP/uPnP to a listener on the PC side.

    The Canon is ‘Searching’ for something on the PC side, so makes sense it is not broadcasting SSDP/uPnP.

    I also assume tha all of the HTTP GET from both Camera and PC are just pre-init setup stuff and not required for actual PTP/IP commands.?

    in reply to: Canon G7X – GUID Issue #741
    skyking
    Participant

    Hi Adam, thanks for responding.

    First, I looked at the WireShark capature running Canon CameraWindow on Win7. There’s a lot going on before the Init Command Request.
    No upnp broadcast from camera that I thought would be there with camera in Connect to Computer mode
    PC sends SSDP
    Camera does HTTP GET /upnphost/udhisapi.dll?content-uuid:xxxxx-xxxx-xxx-xx
    PC Sends HTTP XML
    PC sends SSDP
    PC does HTTP GET /upnp/CameraDevDesc.xml
    Camera Sends HTTP XML
    Now finally PC sends Init Command Req and Camera replies with Connection

    Here is the capture running linux and airnef using the GUID that the PC sent the camera in Win7 CameraWindow: (camera is in ‘Searching for Computer’ mode)

    6 0.005998507 192.168.1.12 192.168.1.14 PTP/IP 96 Init Command Request GUID: 0000000000000000ffff50465dde4363 Name: airnef
    0000 d8 49 2f 56 a8 a3 50 46 5d de 43 63 08 00 45 00 .I/V..PF].Cc..E.
    0010 00 52 62 a1 40 00 40 06 54 9a c0 a8 01 0c c0 a8 .Rb.@.@.T…….
    0020 01 0e d0 1c 3d 7c 9e 18 b9 0a 00 01 5e 01 50 18 ….=|……^.P.
    0030 72 10 83 af 00 00 2a 00 00 00 01 00 00 00 00 00 r…..*………
    0040 00 00 00 00 00 00 ff ff 50 46 5d de 43 63 61 00 ……..PF].Cca.
    0050 69 00 72 00 6e 00 65 00 66 00 00 00 00 00 01 00 i.r.n.e.f…….

    8 0.008276946 192.168.1.14 192.168.1.12 PTP/IP 66 Picture Transfer Protocol

    0000 50 46 5d de 43 63 d8 49 2f 56 a8 a3 08 00 45 00 PF].Cc.I/V….E.
    0010 00 34 77 d6 00 00 40 06 7f 83 c0 a8 01 0e c0 a8 .4w…@………
    0020 01 0c 3d 7c d0 1c 00 01 5e 01 9e 18 b9 34 50 18 ..=|….^….4P.
    0030 80 00 d7 6c 00 00 0c 00 00 00 05 00 00 00 01 00 …l…………
    0040 00 00 ..

    Camera always returns 05 Init Failed

    Not sure how much of the Win7 capture to send…

    I did run across some gphoto2 stuff in searching for solutions. Here’s one:

    https://github.com/falk0069/sony-pm-alt

    and this:

    https://www.circuitsathome.com/using-ptp-library-with-canon-powershot-cameras/

    in reply to: GUID problem with Canon and Linux #621
    skyking
    Participant

    Adam, if you check here for folks having issues, I have tried everything with the gui and camera (wifi resets) with no luck. I have now tried running command line and changing GUID there:

    ./airnefcmd –ipaddress 192.168.1.21 –action listfiles –initcmdreq_guid 5c:26:0a:65:9a:54

    Same result ‘camera rejecting guid’ error. I’d be happy to try out different things to find a solution if you could give me some ideas and guidance. Thanks.

    in reply to: GUID problem with Canon and Linux #620
    skyking
    Participant

    Update: Tried airnef v1.0 and error is now: badhostsomething expected x02 got x05 which I guess in v1.1 means bad GUID?

    Looks like Canon G7X is not going to accept the the GUID from airnef at all.

Viewing 15 posts - 1 through 15 (of 16 total)