A1100 IS Porting thread - page 52 - DryOS Development - CHDK Forum  

A1100 IS Porting thread

  • 646 Replies
  • 186339 Views
Re: A1100 IS Porting thread
« Reply #510 on: 31 / August / 2011, 11:39:26 »
Advertisements
How would you do this ? CHDK code has to run to make this decision, which means it has to be loaded, which means most of the time has already been spent.
I'd modify boot.c so that when it checks to see if the power switch is still held down,  it either continues a normal CHDK boot or simply branches back into the Canon code as quickly as possible without activating any of the CHDK tasks (spytask, init_file_modules_task)  or the hooked camera tasks (jogdial, movie_record, capt_seq, exp_drv, physw ).  We are only talking about a few hundred milliseconds here.

Quote
(and the OS has been hosed, so would need to reboot anyway to run without CHDK)
I don't think so.  What I suggested above is basically what most people do as they first work on a new camera port.  Get the boot sequence working before activating any tasks.

Hey - I'm not really sure this is something we would want to do.  It's just that sometimes when I'm in a hurry to grab a quick shot,  the CHDK stuff kinda gets in the way (depending on what I was doing last - RAW or overrides for example).   I turn the logo off by default for this reason.


Ported :   A1200    SD940   G10    Powershot N    G16

Re: A1100 IS Porting thread
« Reply #511 on: 31 / August / 2011, 11:51:06 »
The A1100, with a bootable sd card loaded with CHDK will not start up when you hit the power button.
So the camera does not start at all when you press the power button ?

not at all.. *excluding that possible situation where powered by dc.. can't recall.. if i get the time to get back on that project I'll update.....

*

Online philmoz

  • *****
  • 3376
    • Photos
Re: A1100 IS Porting thread
« Reply #512 on: 31 / August / 2011, 15:59:38 »
Sorry for the slow reply, and thanks for all the responses.

For me, on the A1100 and a 512 SD card setup for autoboot holding the play button starts CHDK as expected.  The power button does nothing.  I can hold it down for 10 seconds and nothing happens.

If I change the SD card to be not locked, then I can use the power button to start the camera in "normal" record mode.

Looks like there's a mistake in the CHDK boot code.
Try the attached version, if this works I'll update the source.

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)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: A1100 IS Porting thread
« Reply #513 on: 02 / September / 2011, 08:30:03 »
For me, on the A1100 and a 512 SD card setup for autoboot holding the play button starts CHDK as expected.  The power button does nothing. 

Looks like there's a mistake in the CHDK boot code.
Try the attached version, if this works I'll update the source.

Phil.


Yah!  The power button now works.

Thanks,
Dave


*

Online philmoz

  • *****
  • 3376
    • Photos
Re: A1100 IS Porting thread
« Reply #514 on: 03 / September / 2011, 18:55:58 »

Yah!  The power button now works.

Thanks,
Dave

Updated SVN with the fix. The latest version on the autobuild server should now be ok.

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)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: A1100 IS Porting thread
« Reply #515 on: 04 / September / 2011, 10:46:18 »
Thanks to everyone for their work on this port.  I'm a newbie to CHDK - but fairly technical otherwise, and I do own an A1100IS - so maybe I can help.

I have the most recent CHDK port loaded - from two posts ago in this thread (thanks Phil - that fixed my on/off button problems), and my camera is native 1.00c.

I'm still having a couple issues.  The first one is not that bad - but the CHDK menus disappear at somewhat random intervals.  As soon as you press any button they reappear - and you are right were you were in the menu hierarchy.  I saw a mention of this in an earlier post - but I was under the impression that it got fixed...

Secondly, and much more problematic for me - I can't get any script to actually take a picture.  The scripts load, I can adjust the params, and when I click the shutter - the on-screen text reports "*** Started ***".  But after a few seconds the camera goes to sleep.  It seems to happen regardless of which script is loaded, even those that are programmed to take a picture right away.

Again, I'm a newbie to CHDK - so it may be something silly (I hope to be apologizing here soon).

Thanks in advance!

Chip




*

Offline blackhole

  • *****
  • 856
  • A590IS 101b
    • Planetary astrophotography
Re: A1100 IS Porting thread
« Reply #516 on: 11 / September / 2011, 17:24:19 »
Attached is a build with:

-added adjustable ALT button
-added shoot_full_only
-enabled screen erase detect

Re: A1100 IS Porting thread
« Reply #517 on: 11 / September / 2011, 19:33:02 »
I have an A1100 IS, firmware version 1.00c, with a bootable 4GB card formatted in FAT16. Tried the default and 64K cluster size--now in default. Files and folders on the card root: CHDK, DISKBOOT.BIN, vers.req

On camera start, card locked, I see the CHDK logo and build info for a moment, but there is no indication of CHDK presence other than that.

Whether I start with the power button, or the play button, there are no CHDK menus, logos, (other than the boot logo), nothing. I cannot find any CHDK menus no matter what button-pressing sequence I use. Pressing the play button twice--as was suggested in another post--brings back the main (viewfinder) display. All photos taken are jpg format.

I have used the most recent build, a1100-100c-0.9.9-1332-full_BETA, and the one posted today above, a1100-100c. No joy.

Am I missing something here? Doing something wrong?  ???


*

Offline reyalp

  • ******
  • 13619
Re: A1100 IS Porting thread
« Reply #518 on: 11 / September / 2011, 23:08:09 »
It sounds like CHDK is working, but you are not pressing the correct key to enter the CHDK menu.

Since this camera has a print button (has a printer icon and an LED in the middle), CHDK menu should be opened using that.

I suggest spending some time with http://chdk.wikia.com/wiki/CHDK_User_Manual to learn your way around the options.
Don't forget what the H stands for.

Re: A1100 IS Porting thread
« Reply #519 on: 12 / September / 2011, 12:08:09 »
<--- That's why it says newbie  ::)

That was the info I needed. It works great!

Thank you very much!

 

Related Topics