SX30is won't zoom

  • 9 Replies
  • 742 Views
SX30is won't zoom
« on: 05 / June / 2017, 10:52:19 »
Advertisements
A few years ago I successfully installed CHDKPTP, but recently had to reinstall Windows 7 on my laptop and lost the installation. Now I have re-installed libusb and CHDKPTP. I can connect to the camera and most functions seem to work, but the zoom only works fractionally for each "press" of CHDKPTP's button in Rec mode, though is o.k. in Play mode. In Rec mode, trying to zoom sometimes makes the CHDK menu appear for a moment.

"Left" (manual focus), "Right" (ISO) and "Up" don't work, but "Down" (self-timer) does.

(I first installed chdkptp-r735 but deleted because of the problem above, and then installed chdkptp-r650-win32 as it was the same version I had originally.)

Could it be the wrong camera is installed?


Any suggestions?
« Last Edit: 05 / June / 2017, 11:36:17 by Stuart_H »

*

Offline reyalp

  • ******
  • 11196
Re: SX30is won't zoom
« Reply #1 on: 05 / June / 2017, 17:17:54 »
A few years ago I successfully installed CHDKPTP, but recently had to reinstall Windows 7 on my laptop and lost the installation. Now I have re-installed libusb and CHDKPTP. I can connect to the camera and most functions seem to work, but the zoom only works fractionally for each "press" of CHDKPTP's button in Rec mode, though is o.k. in Play mode.
This sounds like a bug in CHDK port. What CHDK version are you using?

chdkptp just sends script "click" commands, so there's really nothing chdkptp  specifics.
Quote
In Rec mode, trying to zoom sometimes makes the CHDK menu appear for a moment.
The CHDK menu, or just the <alt> indicator?

Seeing alt blink when you send key presses is normal.

The most common cause of keys acting like you describe is CHDK not holding the simulated key down for long enough, but sx30 is a pretty old port so it would be a bit surprising if it went unnoticed for this long.

You can try sending longer clicks using the console, like
Code: [Select]
=press'zoom_in' sleep(100) release'zoom_in'
Don't forget what the H stands for.

Re: SX30is won't zoom
« Reply #2 on: 05 / June / 2017, 18:49:27 »
Maybe the CHDK on my SD card is corrupted. I'll format a new SD card and install CHDK and see if things improve.

*

Offline reyalp

  • ******
  • 11196
Re: SX30is won't zoom
« Reply #3 on: 05 / June / 2017, 21:05:43 »
Maybe the CHDK on my SD card is corrupted. I'll format a new SD card and install CHDK and see if things improve.
IMO, the chance of a corrupted SD card causing the behavior you described is extremely low.

If you are using a very old version of CHDK installed when you used the camera years ago, the bug might have been fixed since. You can check the current version in the CHDK menu using Miscellaneous Stuff -> Show Build Info
or
=return get_buildinfo()
in chdkptp
Don't forget what the H stands for.


Re: SX30is won't zoom
« Reply #4 on: 06 / June / 2017, 13:37:59 »
I'm using CHDK version 1.2.0, rev 3598 (August 2014), Sx30, F/W version 100l. Auto booting. Chdkptp worked last time I tried (2014)!

*

Offline reyalp

  • ******
  • 11196
Re: SX30is won't zoom
« Reply #5 on: 06 / June / 2017, 16:29:51 »
I'm using CHDK version 1.2.0, rev 3598 (August 2014), Sx30, F/W version 100l. Auto booting.
OK, that's pretty old, it's probably worth trying the current stable autobuild. You might want to back up your existing card or set up 1.4 on a different card so you can go back to 1.2 if you want.

Quote
Chdkptp worked last time I tried (2014)!
The way chdkptp sends key presses hasn't changed since the very early versions, but maybe there's some other factor involved.
Don't forget what the H stands for.

Re: SX30is won't zoom
« Reply #6 on: 07 / June / 2017, 14:08:53 »
I used STICK to install CHDK on a new card: behaviour more-or-less as before - main problem is that the zoom is not continuous - each time I click on the zoom+or zoom- button, the lens moves a very small amount. I don't remember this being normal behaviour.

*

Offline reyalp

  • ******
  • 11196
Re: SX30is won't zoom
« Reply #7 on: 07 / June / 2017, 14:16:04 »
I used STICK to install CHDK on a new card: behaviour more-or-less as before - main problem is that the zoom is not continuous - each time I click on the zoom+or zoom- button, the lens moves a very small amount. I don't remember this being normal behaviour.
chdkptp sends a single click when you press the zoom button, it has always been this way. If the zoom doesn't change at all, that's a bug. If it moves about the same amount as quickly clicking the actual zoom button on the camera, it's normal.

You can use set_zoom() in the console to zoom to specific point, or send longer presses using the console.
Don't forget what the H stands for.


Re: SX30is won't zoom
« Reply #8 on: 07 / June / 2017, 18:40:39 »
Camera response is erratic, but I  will live with it!


Thanks for all your help, Reyalp.

*

Offline reyalp

  • ******
  • 11196
Re: SX30is won't zoom
« Reply #9 on: 11 / June / 2017, 16:39:21 »
Camera response is erratic, but I  will live with it!
If a click('zoom_in') doesn't consistently zoom in (sometimes moves the zoom and sometimes doesn't), we'd like to know, and fix it if possible.
Don't forget what the H stands for.

 

Related Topics