chdkptp - alternative ptp client

  • 1038 Replies
  • 199396 Views
*

Online reyalp

  • ******
  • 11487
Re: chdkptp - alternative ptp client
« Reply #1000 on: 28 / December / 2017, 22:44:52 »
Advertisements
I noticed that when I plug the camera in the OS does not see it. All my other Ubuntu machines do. I don't think this has anything to do with chdkptp. I will reload the OS tomorrow and try again. I will let you know what happens. Thanks for trying. I really appreciate it.
John
Note for chdkptp to be able to switch to rec mode and shoot, you very much want the OS default software to not see it. If you previously had chdkptp working on this box, that may be why. See discussion under "Interactions with default software" in the linux of https://app.assembla.com/spaces/chdkptp/wiki/Install

On the output you posted, the libusb-0.1 stuff all seems good, but I notice errors related to libreadline.
You might want to install the readline6 package or similar.

Don't forget what the H stands for.

Re: chdkptp - alternative ptp client
« Reply #1001 on: 29 / December / 2017, 01:01:08 »
I reloaded and downgraded to 12.04 32bit and now when I plug the camera in, with chdkptp off, at least the OS sees the camera. I fire up CHDKptp and it sees the camera but when I go to connect chdkptp goes grey and hangs. BTW, these tests are with a SD1400, if that makes any difference. I don't think it does. I think this laptop has an issue with its USB ports.
The only machines I have gotten to work have been with 12.04 32bit. I have a stack of laptops I hope to deploy with SD1400s for time lapse projects that I have planned. Although 16.04 would be great, I don't care, if 12.04 works I will go with that. Oh, and this test is back to r735. Since that is what I have on the Windows machines I have deployed in the field already. I would prefer that all of my set ups have the same ver of chdkptp, Ubuntu and other software.
I thank you again for you thoughts and efforts.

*

Online reyalp

  • ******
  • 11487
Re: chdkptp - alternative ptp client
« Reply #1002 on: 29 / December / 2017, 02:50:33 »
I reloaded and downgraded to 12.04 32bit and now when I plug the camera in, with chdkptp off, at least the OS sees the camera.
As I mentioned before, if the OS software access the camera, this will cause problems with chdkptp.

This is unfortunately complicated, poorly documented, and distro/configuration specific. I've updated https://app.assembla.com/spaces/chdkptp/wiki/Install with the specific steps I needed to get it working on Ubuntu 16.04.
Quote
I fire up CHDKptp and it sees the camera but when I go to connect chdkptp goes grey and hangs.
I assume "goes grey and hang" means the GUI? If so, I'd suggest trying the cli, as there could be GUI problems independent of the PTP issues. It might also give more useful error output.

Sometimes system logs provide clues.

I personally prefer to pick a configuration and try to understand the problems rather than throwing every possible permutation of version at it. chdkptp works on Ubuntu 16.04 (and recent raspbian and debian), your challenge is to figure out how specifically it fails on your particular systems.
Don't forget what the H stands for.

Re: chdkptp - alternative ptp client
« Reply #1003 on: 29 / December / 2017, 09:32:33 »
I agree. I only use the GUI to see if things are working before unleashing the Lua on it through the CLI. chdkptp has been solid. I never thought it was the problem. I was just hoping that you would have insight into what Ubuntu needed. Yes, going grey was in the GUI. I might just have to abandon this laptop and move on.


*

Online reyalp

  • ******
  • 11487
Re: chdkptp - alternative ptp client
« Reply #1004 on: 06 / January / 2018, 18:11:14 »
User @ftm reports successfully building chdkptp with the GUI on OSX 10.13 (High Sierra) with macports.

Build and scripts to build at https://github.com/rprr/chdkptp

They report being able to use this without default software putting the camera in the "black screen, can't switch to rec" state. I'm not clear if this was a result of some specific configuration, or is the default behavior for 10.13. They previously used USB pass-through to a virtualbox VM, which may have affected configuration. There may also be relevant options in the "Image Capture" app.

I would like to make it easier for Mac users to build/use chdkptp, so I'd appreciate any feedback anyone else has on how usable this is, if any additional configuration is required and so on.
« Last Edit: 10 / January / 2018, 02:14:45 by reyalp »
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3070
    • Photos
Re: chdkptp - alternative ptp client
« Reply #1005 on: 06 / January / 2018, 22:31:11 »
While it build and runs, I have not been able to get any connection to a camera.


The MacOS PTPCamera app kicks in whenever a camera is connected and takes over the USB connection.
I can't see any options in Image Capture to stop this - you can prevent Image Capture from starting; but can't block PTPCamera.


There should be a way to do it as VMware and Virtual Box can both block the behaviour and allow the camera to connect to a VM. I just haven't found it yet.


The old tricks (in the README-OSX.TXT file) don't work anymore. You can't change the file mode on system files, and the database for PTPCamera has moved somewhere else so the gphoto script does not work.


FYI, to get this to build I had to install:
- gtk3, libusb, libusb-compat, ftgl and readline in MacPorts
- XQuartz


Phil.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)

*

Offline ftm

  • *
  • 43
Re: chdkptp - alternative ptp client
« Reply #1006 on: 06 / January / 2018, 22:54:48 »
I don't see any PTP Camera App on my Mac running 10.13.

When I start Image Capture, the camera shows up and then I can't run chdkptp. However if I quit the Image Capture, then chdkptp works.

In Image Capture, there is an option at the bottom "Connecting This Camera Opens". I have it set to "No Application".


Not sure if this helps. You may have already done this.




*

Offline philmoz

  • *****
  • 3070
    • Photos
Re: chdkptp - alternative ptp client
« Reply #1007 on: 06 / January / 2018, 23:17:20 »
I don't see any PTP Camera App on my Mac running 10.13.

When I start Image Capture, the camera shows up and then I can't run chdkptp. However if I quit the Image Capture, then chdkptp works.

In Image Capture, there is an option at the bottom "Connecting This Camera Opens". I have it set to "No Application".


Not sure if this helps. You may have already done this.


PTPCamera is a component of Image Capture - USB PTP driver. It manages the camera connection.
You can see the process running in Activity Monitor when you connect a camera.


The option in Image Capture only defines what app should open after MacOS detects a camera has connected.


If PTPCamera is not starting when you connect a camera then there is something else going on - I'm not aware of any supported way to stop this process auto-running since El Capitan.


Phil.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)


*

Offline ftm

  • *
  • 43
Re: chdkptp - alternative ptp client
« Reply #1008 on: 06 / January / 2018, 23:21:03 »
It's odd. When I look at Activity Monitor, PTP Camera does not seem to be running on my Mac. It only shows up when I start up an app like Photos/Image Capture etc.

*

Online reyalp

  • ******
  • 11487
Re: chdkptp - alternative ptp client
« Reply #1009 on: 06 / January / 2018, 23:26:43 »
Not sure if this is relevant, but IIRC ftm mentioned having the Canon software installed an uninstalling it. ftm also used virtualbox, but I would expect that to only matter if virtualbox was actually running.
Don't forget what the H stands for.

 

Related Topics