Automatic Playback button press - SD4000 - page 2 - Script Writing - CHDK Forum
supplierdeeply

Automatic Playback button press - SD4000

  • 27 Replies
  • 7553 Views
*

Offline reyalp

  • ******
  • 13438
Re: Automatic Playback button press - SD4000
« Reply #10 on: 17 / June / 2017, 14:21:07 »
Advertisements
I tried the latest beta build. It doesn't prevent the camera from hanging at slow shutter speeds. No build can fix that, it's memory management issue.
What specifically happens when you use slow shutters speeds?
Does it also happen if you use the stock Canon firmware without CHDK?

There are two common things the Canon firmware does which cause a "hang" after long exposures:
1) Dark frame subtraction. This usually happens for exposures over 1 second (exact threshold may vary by camera and possibly settings), and results in the camera showing "busy" and being unresponsive for the same amount of time as the exposure. On many CHDK ports, this can be disabled using the CHDK dark frame option.
2) jpeg noise reduction. This typically happens at higher ISOs (400, 800 or higher depending on the camera model), and adds a moderate amount of "busy" time after the shot. This is not currently controlled by CHDK.

These cameras have very limited memory management, so whatever you are experiencing is almost certainly not a "memory management issue"

Quote
The build prevents the lens from retracting while in Alt, but, for example, changes the aperture in the background when using the jog wheel in Alt.
This is a separate, unrelated bug which can be fixed if reported. Until this moment, I didn't even know the camera had a jog wheel.
Quote
God knows what else is messed up.
The way bugs get fixed is by people reporting them and testing.

Quote
Key maps FLUCTUATE between modes and various operations performed on camera. It's like "up" button becomes "down" button, etc. Keys are constantly shifted, depending on the actions performed on camera.
Are you able to navigate the CHDK menus normally when the camera is in playback mode?
Don't forget what the H stands for.

Re: Automatic Playback button press - SD4000
« Reply #11 on: 17 / June / 2017, 16:22:51 »
Finally, we nailed it. Changing DFS from Auto to Off stopped the hangs. I'm not seeing any difference in RAW files with DFS off. Camera is faster.

Forget the stupid script.

Can the camera be made to recognize partitioned cards? I checked carefully, the builds I tested until now cannot recognize multiple partitions. It would be to great to use a 32GB auto-boot card for travel.

Yes, I can navigate CHDK menus. Pay attention to the jog wheel. Up, down, left, right are actually positions on the jog wheel! This might confuse CHDK. There's something weird about the keys on this cam, but I anticipated that. If you combine jog wheel with buttons you get some issues.

Now I have autostart script, and it would be nice to fix button behavior so that I can use playback mode without extending the lens, and of course, not to get stuck in Alt mode after 1 minute.

We're almost there.
« Last Edit: 17 / June / 2017, 16:25:17 by Robert1975 »

Re: Automatic Playback button press - SD4000
« Reply #12 on: 17 / June / 2017, 16:28:31 »
Can the camera be made to recognize partitioned cards? I checked carefully, the builds I tested until now cannot recognize multiple partitions. It would be to great to use a 32GB auto-boot card for travel.
Every build you tested has the code include to use a dual partition card and autoboot on that basis.  Tell us how you checked and how you formated your SD card? The first partition needs to be FAT 16 (not FAT32) and no larger than 4G.

It's possible the dual partition code is broken of course.

Here's the gory details : Prepare your SD card : For Cameras Released Before 2011

The STICK utility, it will set things up correctly for you.

« Last Edit: 17 / June / 2017, 16:35:55 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Automatic Playback button press - SD4000
« Reply #13 on: 17 / June / 2017, 16:32:18 »
I did use STICK, with several cards.
Partitions are created, I checked with partition utility.
But in CHDK, when I go to swap partitions, only one partition is visible.
It says 1/0 and I cannot swap partitions.


Re: Automatic Playback button press - SD4000
« Reply #14 on: 17 / June / 2017, 16:39:51 »
I did use STICK, with several cards.
Partitions are created, I checked with partition utility.
But in CHDK, when I go to swap partitions, only one partition is visible.
It says 1/0 and I cannot swap partitions.
When CHDK boots on a dual partition card, it starts on the first (usually small) partition and then automatically switches to the larger partition.  You only see one partition at time - the smaller one is ignored once the boot is complete.

If you go to the CHDK File Browser utility in the Miscellaneous menu, how much free space is shown at the botttom of the window?  Or how much free space does the CHDK SD card OSD icon display?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Automatic Playback button press - SD4000
« Reply #15 on: 17 / June / 2017, 16:45:19 »
It doesn't happen. It only shows the small 16MB partition.

I've just tried to do it manually, when I go to Miscellaneous stuff -> SD Card -> Create card with two partitions nothing happens. It doesn't partition the card.

I can't understand why. It could be limitation imposed by original firmware, I think it's possible.

Re: Automatic Playback button press - SD4000
« Reply #16 on: 17 / June / 2017, 16:46:51 »
Yes, I can navigate CHDK menus. Pay attention to the jog wheel. Up, down, left, right are actually positions on the jog wheel!
That's exactly how it works on many CHDK cameras.  Nothing unusual there.

Quote
This might confuse CHDK ..  If you combine jog wheel with buttons you get some issues.
It doesn't confuse CHDK on any of the cameras I have that work that way.  Playing with my G16 right now - can confirm.

Your camera isn't special.  But as reyalp has repeated said, there are bugs in the port that we can fix.  I know you somehow just don't want to believe that.

I can't understand why. It could be limitation imposed by original firmware, I think it's possible.
There are bugs in the port.  It's not that hard to understand. You keep wanting to declare these thing impossible to fix.  Shaking my head here ....
« Last Edit: 17 / June / 2017, 16:48:28 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 13438
Re: Automatic Playback button press - SD4000
« Reply #17 on: 17 / June / 2017, 16:50:59 »
Yes, I can navigate CHDK menus. Pay attention to the jog wheel. Up, down, left, right are actually positions on the jog wheel! This might confuse CHDK. There's something weird about the keys on this cam, but I anticipated that. If you combine jog wheel with buttons you get some issues.
Yes, looking at the code and manual, this camera appears to have both a jog dial and "touch wheel". The code seems to be set up to support the jog dial, but the touch wheel may not be handled correctly.

If you have the CHDK menu open and touch one of the direction keys without clicking or turning the wheel, what happens?

Don't forget what the H stands for.


Re: Automatic Playback button press - SD4000
« Reply #18 on: 17 / June / 2017, 16:51:45 »
I thought it's the only IXUS without separate buttons? It's very minimalist.

Re: Automatic Playback button press - SD4000
« Reply #19 on: 17 / June / 2017, 16:54:36 »
Yes, I can navigate CHDK menus. Pay attention to the jog wheel. Up, down, left, right are actually positions on the jog wheel! This might confuse CHDK. There's something weird about the keys on this cam, but I anticipated that. If you combine jog wheel with buttons you get some issues.
Yes, looking at the code and manual, this camera appears to have both a jog dial and "touch wheel". The code seems to be set up to support the jog dial, but the touch wheel may not be handled correctly.

If you have the CHDK menu open and touch one of the direction keys without clicking or turning the wheel, what happens?

If I touch without clicking or turning the wheel, nothing happens in CHDK menu.

 

Related Topics