the sx20 porting thread - page 48 - General Discussion and Assistance - CHDK Forum

the sx20 porting thread

  • 1286 Replies
  • 415127 Views
Re: the sx20 porting thread
« Reply #470 on: 19 / April / 2010, 22:53:29 »
Advertisements
acid2000, first, I want to thank you for all your work on the 1.02B port.   :D

I have installed it on my camera, but seem to have a few issues.  I did previously use CHDK on my A630, so I've got some understanding from the user's point of view, but certainly not from the programmers!

I'm using a SanDisk Ultra 8Gb SDHC 4 card.  Partitioned with SDM into a 2 MB FAT 12 primary and the remainder a FAT 32 (i think).  CHDK installed using CardTricks.  No problem there - CHDK shows 7.6 GB space remaining.

Please let me know if the following are normal with CHDK on this camera.

First, I now have to use the playback/shoot button to turn my camera on - not the on/off button.

Then I get the splash screen: CHDK 0.9.9-885.  Build Apr 18 2010 19:01:27  Camera sx20 - 102b.
Not that it's a big deal, but the splash screen doesn't show the CHDK graphic - just the text.

To get to shooting mode, I now have to half-press the shutter.

The shortcut button invokes <ALT> mode fine, with "Default Script" in the bottom left corner of the screen.

Menu button brings up the Main Menu, but the only way I seem to be able to get rid of the main menu is to toggle to playback mode, then back to shooting mode.  Then I have to press the shortcut key again to reactivate the OSD.  With the 630, another press of the menu key turned off the main menu.

I hve enabled symbols, but they don't show up.  Also, when I go to a sub-menu, the previous menu stays on in the background.  

I have enabled superfine mode in the CHDK menu, but don't seem to be able to activate it from the Canon Function menu.

In reading the various posts regarding installation, I got the impression that I was to somehow merge the .bin file with the existing build for the SX10.  I don't believe that I have accomplished that (and don't really know how I should), but I seem to have most of the features working.  However, what I don't have is things like the predefined grids.  Is this what I was supposed to get from the SX10 build?

OK - I think I figured that part out.  Unzip the SX 10File, then unzip your new .bin file into the same folder, then zip the whole thing again and install.  Worked fine, but CHDK wants to look in the larger FAT32 partition for the grid files.

Thanks again for all your hard work.

stotes57


« Last Edit: 19 / April / 2010, 23:10:42 by stotes57 »

Re: the sx20 porting thread
« Reply #471 on: 20 / April / 2010, 01:57:50 »
Really, on mine the EXIF is set properly if I take a portrait photo with the hand grip at the top, however if the hand grip is at the bottom then the EXIF data is upside down. Can you reproduce?

Cannot reproduce, now that I changed the value to the 221 .. Both photos taken vertically (portrait), either with the hand grip on top, or hand grip on bottom, they look correct when viewed with IrfanView (<- this is how I check).
For hand grip top - Orientation sensor value is 'left bottom'.
For hand grip down - Orientation sensor value is 'right top'.

With the older value (219), it didn't work properly when the hand grip was down. The photo was vertical (resolution was set correctly), but the orientation flag was not set to 'right top' but to 'left bottom'. I had to rotate the photo with 180 degrees on PC to see it correctly.

PS - thanks for the code!

Later edit: I found that the value is bad because I read somewhere on page 12 that the raw_savefile is called even for normal photos, but just to remove the bad pixels. And since the camera had DNG_SUPPORT enabled, CHDK was actually computing the EXIF values (according to the code) [I was afraid that the camera computed the values and CHDK would mess some stack around, making the camera to compute bad values]. But it turned out that the CHDK computes everything, hence, when checking how, I realised that the only was if the orientation sensor define was not pointing to the right value.

I made the script below:

Code: [Select]
@title Orientation Find
@param a Index
@default a 0

print "Loading..."

get_prop a v
print "Index: ", a, ":", v
sleep 1000

end

and took it to around 200 and then I started taking photos horizontally and vertically for each value. For value 219, the result read was 0 in both directions. But for 221, the result was either 0 (horizontally), or 90 (vertically, hand grip down).
« Last Edit: 20 / April / 2010, 02:07:06 by viulian »

Re: the sx20 porting thread
« Reply #472 on: 20 / April / 2010, 07:54:31 »
Guys i'm not psychic. Things I need to know from people having issues getting it to work.

*Make and model of your SD card.
*Partition format FAT32 / FAT16.
*How you made the card i.e. card tricks.
*Is it bootable, have you been able to confirm it.
*The size of the SD card and how many partitions have been created on it.
*Have you used CHDK before.

  Sorry.

  Card is a SanDisk 4GB SDHC, the only other info I have is the long number on the back.  It has only one partition.

  I formatted it clean using CardTricks, Fat16; and made it bootable.

  I have used CHDK a number of times before on other cameras, successfully so I'm family with the process of installing it.

  I downloaded the CHDK for the SX10, and then inserted the .BIN file posted in this thread into the zip (taking out the old one first), and then used CardTrick to send it to the card in the card reader .

  As mentioned above the camera sticks on the opening logo screen for CHDK and won't do anything else when the card is write-protected, but shows the correct firmware version.  When the card is not write-protected the Firmware Update menu option on the camera shows a 'Firmware Update Error'.

 

Re: the sx20 porting thread
« Reply #473 on: 20 / April / 2010, 08:37:21 »
Quote
When the card is not write-protected the Firmware Update menu option on the camera shows a 'Firmware Update Error'.

I might be being really stupid but i'm sure I don't have that option on my camera. From the menu screen were can the firmware update menu be found?

You 100% sure your not actually running a 100C firmware.

If there is a file on your memory card called \CHDK\CCHDK.cfg then remove it.


Re: the sx20 porting thread
« Reply #474 on: 20 / April / 2010, 09:00:59 »
Quote
When the card is not write-protected the Firmware Update menu option on the camera shows a 'Firmware Update Error'.

I might be being really stupid but i'm sure I don't have that option on my camera. From the menu screen were can the firmware update menu be found?

You 100% sure your not actually running a 100C firmware.

If there is a file on your memory card called \CHDK\CCHDK.cfg then remove it.

You had me doubting myself, but using the SET and DISP. buttons shows the firmware version as GM 1.02B.

The only way I know to get to the Firmware Update option is to make sure the camera is turned off, then press the Playback Button.  Now when you press the Menu button there should be an option for Firmware Update as the last option on the first tab.

There doesn't seem to be any file called "CCHDK.cfg" (or "CHDK.cfg") on the card.

Re: the sx20 porting thread
« Reply #475 on: 20 / April / 2010, 09:29:49 »
Lectrichead,

Try deleting all the files on the card apart from DISKBOOT.

If it still doesn't work can you tell me if any folders do actually get created?
Have you tried a different memory card, I have one card that CHDK just doesn't seem to boot of - in any camera.

Re: the sx20 porting thread
« Reply #476 on: 20 / April / 2010, 10:35:15 »
Any word on when a 102C FW will be worked on?
Canon PowerShot SX20 IS ~FW-1.02C~

Re: the sx20 porting thread
« Reply #477 on: 20 / April / 2010, 10:46:11 »
@savalangh...thanks for the badpixel.bin info.

I'm now able to shoot and save in DNG format. The first few images came out a shade of green. However, I imported them into Camera Raw and fixed the white balance and they came out fine. I'll continue to test this out. Thanks for everybody's hard work.


Re: the sx20 porting thread
« Reply #478 on: 20 / April / 2010, 11:54:03 »
Quote
First, I now have to use the playback/shoot button to turn my camera on - not the on/off button.

On my camera I can use the on and off button.

Quote
To get to shooting mode, I now have to half-press the shutter.

Correct, you should also be able to press the mode change button

Quote
The shortcut button invokes <ALT> mode fine, with "Default Script" in the bottom left corner of the screen.

Thats correct

Quote
Menu button brings up the Main Menu, but the only way I seem to be able to get rid of the main menu is to toggle to playback mode, then back to shooting mode.  Then I have to press the shortcut key again to reactivate the OSD.  With the 630, another press of the menu key turned off the main menu.

This I think to do with the refresh bug. I haven't found how to fix this yet, any help is greatly appreciated.

Quote
I hve enabled symbols, but they don't show up.  Also, when I go to a sub-menu, the previous menu stays on in the background.

This bug I think is the reason why zebra and console output is not displayed correctsm the second point is the refresh bug. These two bugs may be related.

Quote
I have enabled superfine mode in the CHDK menu, but don't seem to be able to activate it from the Canon Function menu.

I could be wrong but I don't think it does, just take a picture and look at the file size




Fredrock,
Quote
Any word on when a 102C FW will be worked on?

I don't think anyone with 102C has started yet. It isn't too difficult but you do need to be a software developer.
« Last Edit: 20 / April / 2010, 11:58:33 by acid2000 »

Re: the sx20 porting thread
« Reply #479 on: 20 / April / 2010, 12:03:32 »
My camera and card are exactly the same as his was and I solved my error problem by removing the batteries (while recharging them) and deleing everything from the card except the DiskBoot.

Its at the point now where I can test with it, already pulled several DNG files off of it to play with and love the battery status!  Many thanks guys for the work on this port!

 

Related Topics