Adding feature support "Extended TV Range" (ETR): 30 Cams || 0 to go :-) - page 13 - General Discussion and Assistance - CHDK Forum

Adding feature support "Extended TV Range" (ETR): 30 Cams || 0 to go :-)

  • 184 Replies
  • 60728 Views
*

Offline koshy

  • *****
  • 1096
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #120 on: 04 / August / 2014, 14:21:46 »
Advertisements
Test version for ixus900_sd900 100c

Please check these capture modes:
Code: [Select]
// Mode 32774 in firmware but not in current modemap
// Mode 32772 in firmware but not in current modemap (MODE_P)
32772 is Manual mode (whatever is on current mode map seems to be wrong, if I choose Manual in CHDKPTP the cam crashes)
32774 sets exposure time to 1'' so I guess it should be called long shutter or something. This prop does not get set by choosing long shutter from the camera menu though.

EDIT: as we found for a previous cam choosing "long shutter" from the camera menu doesn't alter the prop.
« Last Edit: 04 / August / 2014, 15:41:28 by koshy »
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline nafraf

  • *****
  • 1308
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #121 on: 04 / August / 2014, 14:27:47 »
Yes. IXUS 966 is the next. Please test it.  Thanks
« Last Edit: 05 / October / 2014, 00:50:58 by nafraf »

*

Offline srsa_4c

  • ******
  • 4451
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #122 on: 04 / August / 2014, 15:14:44 »
USB remote is not working yet on IXUS 30, 40, 50, 700. I updated the overview (first post) accordingly.
Attached is a patch to add usb remote support for the ixus30 and 40. I tried it on my ixus40 and it appeared to work. If you could confirm this, that would be great (perhaps I missed some detail).

*

Offline koshy

  • *****
  • 1096
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #123 on: 04 / August / 2014, 15:28:04 »
Quote from: nafraf
Test version for ixus900_sd900 100c
- Verify long exposure
Done, 00:01:31 worked just fine

Quote from: nafraf
- Verify that a DNG is saved when you press the shutter quickly without waiting for auto-focus
Yes, that works. 8 full and half presses => 8 DNGs

Quote from: nafraf
- Verify USB remote switch operation
This also works on the IXUS 900 Ti.

CHDKPTP worked shooting both JPEG and DNG.

Except for the mode map I think this one is done. Should I retest using manual mode in CHDKPTP once you updated that?
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #124 on: 04 / August / 2014, 15:44:51 »
Yes. IXUS 960 is the next. Please test it.  Thanks
O.k. this one needs to be revisited. Full shutter press without waiting for AF does not write a DNG with this version. Half Shutter press (AF) then full press writes a DNG just fine.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #125 on: 04 / August / 2014, 16:03:39 »
USB remote is not working yet on IXUS 30, 40, 50, 700. I updated the overview (first post) accordingly.
Attached is a patch to add usb remote support for the ixus30 and 40. I tried it on my ixus40 and it appeared to work. If you could confirm this, that would be great (perhaps I missed some detail).
Thank you very much for joining our little party.  :)

I built the two versions for IXUS 30 and IXUS 40 and can confirm that USB remote works just fine now. Great. I still had the Misc Debug Params up on both cameras. They give 4 different values: MEM,FB,ZB,USB not like the other cameras I looked at. nafraf gave me a patch to change that yesterday so I applied it, too. It worked in combination with yours on IXUS 30 but not on IXUS 40. I don't know if this should go into the final commit, I'm attaching the original patch file from nafraf.

Can you do the same on IXUS 50 and IXUS 700?
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #126 on: 04 / August / 2014, 16:26:21 »
nafraf gave me a patch to change that yesterday so I applied it, too. It worked in combination with yours on IXUS 30 but not on IXUS 40. I don't know if this should go into the final commit, I'm attaching the original patch file from nafraf.
What exactly did not work? Nafraf's patch is purely for debug use. MEM,FB,ZB,USB is what you get on official builds.
Quote
Can you do the same on IXUS 50 and IXUS 700?
I did not follow the whole discussion, what was the problem with these? Is the correct USB bit known?

*

Offline koshy

  • *****
  • 1096
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #127 on: 04 / August / 2014, 16:43:04 »
I don't know if this should go into the final commit
What exactly did not work? Nafraf's patch is purely for debug use. MEM,FB,ZB,USB is what you get on official builds.
O.k. thank you for the clarification. I never looked at those values in an official build but at many such outputs in these test builds. So I was confused by the fact that there was a difference.

Your USB patch worked perfectly on IXUS 30 and IXUS 40.

What I didn't manage and what doesn't matter anymore now that you explained it is building a version for IXUS 40 that also had Nafraf's patch compiled in while the same worked fine for IXUS 30.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #128 on: 04 / August / 2014, 16:47:31 »
Quote
Can you do the same on IXUS 50 and IXUS 700?
I did not follow the whole discussion, what was the problem with these? Is the correct USB bit known?
The problem in a nut shell was that on the test versions I detected no change in the Misc Debug Params when plugging / unplugging USB in shooting modes. In play mode I did see a difference. In the attempts to fix IXUS 30 and IXUS 40 Nafraf produced a version that had the same effect on those two. I know too little of the internal workings of this to be helpful in detailing the problem. Maybe nafraf will help me out with that.

Anyway I marked the IXUS 30 and IXUS 40 as USB Remote completed on the overview page (first post)
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: Adding feature support "Extended TV Range" (ETR): 30 Cams || 6 to go :-)
« Reply #129 on: 04 / August / 2014, 17:08:57 »
The problem in a nut shell was that on the test versions I detected no change in the Misc Debug Params when plugging / unplugging USB in shooting modes. In play mode I did see a difference.
If you'd like to investigate further:
Start with clean CHDK source, apply nafraf's debug patch, uncomment the following likes in core/gui_osd.c:
//        sprintf(osd_buf, "0xc0220200: 0x%08x", *(long*)0xc0220200);
//        draw_txt_string(10, 7, osd_buf, conf.osd_color);

//        sprintf(osd_buf, "0xc0220204: 0x%08x", *(long*)0xc0220204);
//        draw_txt_string(10, 8, osd_buf, conf.osd_color);

//        sprintf(osd_buf, "0xc0220208: 0x%08x", *(long*)0xc0220208);
//        draw_txt_string(10, 9, osd_buf, conf.osd_color);


Make builds for those 2 cams, watch the numbers after 0xc022... . If you don't see a change there when plugging in/out USB, adding support for USB remote will be probably harder.
Quote
Anyway I marked the IXUS 30 and IXUS 40 as USB Remote completed on the overview page
I have committed that change.

edit:
The ixus700 uses the same GPIO line as the ixus30/40 for sensing USB. Since I don't know how individual GPIO states get grouped into the 0xc0220200...0xc0220208 registers, it may not show up there.
« Last Edit: 04 / August / 2014, 17:40:16 by srsa_4c »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal