Bug report: || won't fix: A550,A560,I75 || fixed: SX20,I200,I960,I970,SD870 - page 4 - General Discussion and Assistance - CHDK Forum

Bug report: || won't fix: A550,A560,I75 || fixed: SX20,I200,I960,I970,SD870

  • 82 Replies
  • 11644 Views
*

Offline koshy

  • *****
  • 1055
Re: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #30 on: 16 / July / 2014, 06:24:15 »
Advertisements
I tested zebra on A810

O.k. I picked that one as it was the first I found among my things.
It didn't work for me. I'll let an image speak though. It's enclosed.

I think we should take the zebra discussion out of this thread.
Is there one for zebra tests already or would you start one on the subject?
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 philmoz

  • *****
  • 3225
    • Photos
Re: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #31 on: 16 / July / 2014, 06:37:40 »
I tested zebra on A810

O.k. I picked that one as it was the first I found among my things.
It didn't work for me. I'll let an image speak though. It's enclosed.

I think we should take the zebra discussion out of this thread.
Is there one for zebra tests already or would you start one on the subject?

The zebra displays when you half press the shutter.

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)

*

Offline koshy

  • *****
  • 1055
Re: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #32 on: 16 / July / 2014, 11:46:58 »
The zebra displays when you half press the shutter.

Thank you. It was becoming obvious that it had to be something of that nature. He who can read is at an obvious advantage but the fact didn't register with me even on the wiki page nafraf had pointed me to. I don't know why, kind of embarassing.

Anyway, that means that I can tell you that the zebra does work on the latest FW for my SX20 you posted! If this is an issue you're interested in I can test it on many a camera but like I said I think a new thread would be in order.
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

  • *****
  • 1055
Re: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #33 on: 16 / July / 2014, 11:56:22 »
The ixus970_sd890-100c-1.3.0-3508-powerbutton_v2.zip can be booted using the power button. It still says "Error: missing modules" and when trying to shoot a photo it reports the card to be full.
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: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #34 on: 16 / July / 2014, 13:03:18 »
New version for ixus970.

Previous ixus860 version has a bug with power button, a new version in attachment.

About zebra on SX20, if I find the possible cause of error, I'll post a new version to a new thread.
« Last Edit: 16 / July / 2014, 13:07:17 by nafraf »

*

Offline koshy

  • *****
  • 1055
Re: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #35 on: 16 / July / 2014, 13:10:42 »
About zebra on SX20, if I find the possible cause of error, I'll post a new version to a new thread.

That's a misunderstanding. Phil showed me how to use it and then zebra worked on my SX20 with the last version you had posted. I think there is no bug there. Just start a new thread if you are interested in zebra on other cameras.
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: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #36 on: 16 / July / 2014, 13:12:58 »
That's a misunderstanding. Phil showed me how to use it and then zebra worked on my SX20 with the last version you had posted. I think there is no bug there. Just start a new thread if you are interested in zebra on other cameras.
OK, thanks. I'll commit latest changes.

*

Offline koshy

  • *****
  • 1055
Re: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #37 on: 16 / July / 2014, 13:17:15 »
I think ixus970_sd890-100c-1.3.0-3508-powerbutton_v3.zip does it for the ixus970.

I powered the camera up using the power button, CHDK loaded alright, no error message anymore.
I set CHDK up to shoot DNG and did a test shot and that worked fine, too. That's all I did thus far.
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: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #38 on: 18 / July / 2014, 10:31:25 »
I think ixus970_sd890-100c-1.3.0-3508-powerbutton_v3.zip does it for the ixus970.
Thanks. The patch is now checked in for CHDK 1.3. Changeset 3513

*

Offline srsa_4c

  • ******
  • 4323
Re: Bug report? A560, SD870, IXUS 960, SX20, IXUS 75, A550, IXUS 970
« Reply #39 on: 20 / July / 2014, 10:17:05 »
Powering up via power button still does not work, powering up via play button works.
I have not modified that. Probably that bug affects all vxworks cameras without select mode switch.
Earlier Vx cameras with separate play and rec "buttons" (such as s3is, s80) are not affected. The "taskcreate_Startup" function of the latest VxWorks models includes code that checks one or more GPIOs and the camera is switched off when they are not in the expected state. That code would be my best guess for something like this, but can't test the theory as I don't have any affected models.
ixus75 101a (101b) as an example
Code: [Select]
void __attribute__((naked,noinline)) sub_FF811AE0_my(  ) {
asm volatile (
      "    STMFD   SP!, {R4,LR} \n"
      "    SUB     SP, SP, #4 \n"
      "    BL      sub_FF81B85C \n"
      "    CMP     R0, #0 \n"
      "    BNE     loc_FF811B38 \n"
      "    MOV     R2, #0xE8 \n"
      "    MOV     R1, #0xEC \n"
      "    ADD     R2, R2, #0xC0000000 \n"
      "    ADD     R1, R1, #0xC0000000 \n"
      "    ADD     R2, R2, #0x220000 \n"
      "    ADD     R1, R1, #0x220000 \n"
      "    LDR     R3, [R2] \n"
      "    LDR     R0, [R1] \n"
      "    ORR     R3, R3, R0 \n"
      "    TST     R3, #1 \n"
      "    BNE     loc_FF811B38 \n" // jump if check succeeded, this should be turned into B
      "    MOV     R3, #0x4C \n"
      "    ADD     R3, R3, #0xC0000000 \n"
      "    ADD     R3, R3, #0x220000 \n"
      "    MOV     R2, #0x44 \n"
      "    STR     R2, [R3] \n" // switch off
"loc_FF811B34:\n"
      "    B       loc_FF811B34 \n" // infinite loop (until camera power supply switches off)
"loc_FF811B38:\n"
      "    BL      sub_FFA395F8 \n"
      "    BL      sub_FFB1FF48 \n"
      "    BL      sub_FF8112AC \n"
      "    MOV     R1, #0x300000 \n"
      "    BL      sub_FF811E40 \n"
      "    BL      sub_FFB200DC \n"
      "    MOV     R4, #0 \n"
      "    LDR     R0, =0xFF811AD8 \n"
      "    MOV     R1, #0x19 \n"
      "    MOV     R2, R4 \n"
      "    LDR     R3, =0xFF811B84 \n" // task_Startup
      "    STR     R4, [SP] \n"
      "    BL      sub_FFB2022C \n"
      "    MOV     R0, R4 \n"
      "    ADD     SP, SP, #4 \n"
      "    LDMFD   SP!, {R4,PC} \n"
    );
}

 

Related Topics