canon powershot a3500 IS wifi camera

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

canon powershot a3500 IS wifi camera

Colin Kincaid Williams
I just bought a powershot a 3500is, with wifi. Canon provides a way to connect the camera to android phones and window / mac. I am looking around for a linux project that is adding support for the wifi cameras.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: canon powershot a3500 IS wifi camera

Marcus Meissner
On Wed, Feb 12, 2014 at 11:33:14PM -0800, Colin Kincaid Williams wrote:
> I just bought a powershot a 3500is, with wifi. Canon provides a way to
> connect the camera to android phones and window / mac. I am looking around
> for a linux project that is adding support for the wifi cameras.

This camera might talk over ptpip.

e.g. try:
gphoto2 --port ptpip:IPADDRESSCAMERA --camera "PTP/IP Camera" -L

with IPADDRESSCAMERA the ip address of your camera.

Ciao, Marcus

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: canon powershot a3500 IS wifi camera

Colin Kincaid Williams
Thanks Marcus, gave it a shot. I dumped some packets during this search process I can upload them if it's any help. I could probably run the windows client and dump some more. I attached the logfile. I notice that when I use --list-cameras with a similar model I don't see (PTP MODE) listed behind the name like some of the other cameras. For example I see Canon PowerShot A3100 IS and Canon PowerShot A4000IS models without (PTP MODE).

The model of my camera is PowerShot A3500 IS. Do I need to try a different port flag?



[discord@coffee camera]$ gphoto2 --port ptpip:192.168.1.12 --camera "PTP/IP Camera" -L                                                                               
*** Error ***              
An error occurred in the io-library ('Unspecified error'): No error description available
*** Error (-1: 'Unspecified error') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <[hidden email]>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --port ptpip:192.168.1.12 --camera "PTP/IP Camera" -L

Please make sure there is sufficient quoting around the arguments.

[discord@coffee camera]$ gphoto2 --version
gphoto2 2.5.3

Copyright (c) 2000-2014 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.3          gcc, popt(m), exif, no cdk, no aa, jpeg, readline
libgphoto2      2.5.3.1        all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.10.0         gcc, ltdl, no USB, serial without locking



On Thu, Feb 13, 2014 at 1:17 AM, Marcus Meissner <[hidden email]> wrote:
On Wed, Feb 12, 2014 at 11:33:14PM -0800, Colin Kincaid Williams wrote:
> I just bought a powershot a 3500is, with wifi. Canon provides a way to
> connect the camera to android phones and window / mac. I am looking around
> for a linux project that is adding support for the wifi cameras.

This camera might talk over ptpip.

e.g. try:
gphoto2 --port ptpip:IPADDRESSCAMERA --camera "PTP/IP Camera" -L

with IPADDRESSCAMERA the ip address of your camera.

Ciao, Marcus


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

my-logfile.txt (37K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: canon powershot a3500 IS wifi camera

Marcus Meissner-4
On Thu, Feb 13, 2014 at 01:16:06PM -0800, Colin Kincaid Williams wrote:

> Thanks Marcus, gave it a shot. I dumped some packets during this search
> process I can upload them if it's any help. I could probably run the
> windows client and dump some more. I attached the logfile. I notice that
> when I use --list-cameras with a similar model I don't see (PTP MODE)
> listed behind the name like some of the other cameras. For example I see
> Canon PowerShot A3100 IS and Canon PowerShot A4000IS models without (PTP
> MODE).
>
> The model of my camera is PowerShot A3500 IS. Do I need to try a different
> port flag?
>
>
>
> [discord@coffee camera]$ gphoto2 --port ptpip:192.168.1.12 --camera "PTP/IP
> Camera" -L

Actually the problem is somewhere else.

The connect was successful!
 
> *** Error ***
> 0.016335 gphoto2-port(2): Opening  port...
> 0.017905 ptpip/connect(2): connecting to ptpip:192.168.1.12.
> 0.050962 ptpip/init_cmd(3): Hexdump of 42 = 0x2a bytes follows:
> 0000  2a 00 00 00 01 00 00 00-a7 ec de 56 65 5d 67 16  *..........Ve]g.
> 0010  66 d1 28 5f be 29 d1 15-63 00 6f 00 66 00 66 00  f.(_.)..c.o.f.f.
> 0020  65 00 65 00 00 00 00 00-01 00                    e.e.......      

Our initial data blob sent to the camera.

> 0.050993 ptpip/init_cmd(0): return 42 / len 42
> 0.055348 ptpip/generic_read(3): Hexdump of 8 = 0x8 bytes follows:
> 0000  0c 00 00 00 05 00 00 00-                         ........        
>
> 0.055357 ptpip/generic_read(3): Hexdump of 4 = 0x4 bytes follows:
> 0000  01 00 00 00            -                         ....            

The camera responds with "init failed".

This is probably due to the 16 Byte GUID identifier, where we need to transmit
the correct one.


Can you sniff the network on port 5353 to see if the camera announces
its UUID over Multicast DNS/Zeroconf?

Can you do a --debug trace of the camera being attached to USB?

        gphoto2 --summary --list-config --debug > logfile 2>&1

We might be able to have config commands over USB for this :/

Ciao, Marcus


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: canon powershot a3500 IS wifi camera

crosser
Hello Marcus and all,

I have another WiFi Canon camera, SX280 HS, and I am rather interested in making it work with Linux over wifi.
USB identity is idVendor=04a9, idProduct=325f.

When I ask the camera to connect to the computer, I see this in `avahi-browse -a`:

+   eth1 IPv4 MobileConnectedCamera                         _imink_http._tcp     local
-   eth1 IPv4 MobileConnectedCamera                         _imink_http._tcp    local

23:52:06.164081 IP 192.168.1.242.5353 > 224.0.0.251.5353: 0 PTR (QM)? _ptp-init._tcp.local. (38)
        0x0000:  4500 0042 188a 0000 0111 fd8b c0a8 01f2  E..B............
        0x0010:  e000 00fb 14e9 14e9 002e 509f 0000 0000  ..........P.....
        0x0020:  0001 0000 0000 0000 095f 7074 702d 696e  ........._ptp-in
        0x0030:  6974 045f 7463 7005 6c6f 6361 6c00 000c  it._tcp.local...
        0x0040:  0001                                     ..

and here is the output of `gphoto2 --summary --list-config --debug`: http://pastebin.com/xRSQvV2H

By the way, the camera does not get served by either mtp filesystem driver or shotwell when I connect it to USB.

Please tell me what else I can do to help make it work.

Thanks,

Eugene Crosser
Reply | Threaded
Open this post in threaded view
|

Re: canon powershot a3500 IS wifi camera

crosser
In reply to this post by Colin Kincaid Williams
[sorry if this arrives twice in the list]

Hello Marcus and all,

I have another WiFi Canon camera, SX280 HS, and I am rather interested in making
it work with Linux over wifi.
USB identity is idVendor=04a9, idProduct=325f.

When I ask the camera to connect to the computer, I see this in `avahi-browse -a`:

+   eth1 IPv4 MobileConnectedCamera                         _imink_http._tcp
 local
-   eth1 IPv4 MobileConnectedCamera                         _imink_http._tcp
local

23:52:06.164081 IP 192.168.1.242.5353 > 224.0.0.251.5353: 0 PTR (QM)?
_ptp-init._tcp.local. (38)
        0x0000:  4500 0042 188a 0000 0111 fd8b c0a8 01f2  E..B............
        0x0010:  e000 00fb 14e9 14e9 002e 509f 0000 0000  ..........P.....
        0x0020:  0001 0000 0000 0000 095f 7074 702d 696e  ........._ptp-in
        0x0030:  6974 045f 7463 7005 6c6f 6361 6c00 000c  it._tcp.local...
        0x0040:  0001                                     ..

and here is the output of `gphoto2 --summary --list-config --debug`:
http://pastebin.com/xRSQvV2H

By the way, the camera does not get served by either mtp filesystem driver or
shotwell when I connect it to USB.

Please tell me what else I can do to help make it work.

Thanks,

Eugene


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

signature.asc (542 bytes) Download Attachment