Adding new cameras, applying patches into trunk (with source code prepared) - page 3 - General Discussion and Assistance - CHDK Forum supplierdeeply

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1679 Replies
  • 782761 Views
*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #20 on: 20 / March / 2008, 08:20:45 »
Advertisements
Hm... The section, which is responsible for creation of this file under Windows, was commented out. What's the reason? Decommented.
CHDK Developer.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Adding new cameras into trunk (with source code prepared)
« Reply #21 on: 20 / March / 2008, 08:53:09 »
@GrAnd

#336 XREF'ed & Tested: is OK now for A530 (the compile, don't have the cam to test binaries)

wim

Re: Adding new cameras into trunk (with source code prepared)
« Reply #22 on: 20 / March / 2008, 14:22:51 »
hi,

thanks for importing the a530 code and uncommenting that one
part - looks like a left over from the old code.

i just fetched a fresh copy of the trunk via svn from scratch,
compiled and tested it on the a530 and it works fine!

i also found the reason why the usb remote did not work in the
a540 beta 0.5 code (credits go to niederhammer) and now also
usb remote works on the a530

a diff against trunk 336 and some compiled binaries can be
found at

  a530-336-usbremote.zip - 0.21MB

the diff also contains two more defines for include/camera.h
which i think should be correct: it looks like focus override
also works in mf mode and i think the zoom unlock change
(rev 333) was not yet done for the a530 - it would be nice if
someone can submit this little change into trunk as well

best wishes - image13

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #23 on: 20 / March / 2008, 14:53:07 »
Code: [Select]
#if !defined(CAMERA_a530)
        physw_status[USB_REG] = kbd_new_state[USB_REG] & ~USB_MASK;
#endif

I do not understand why it does affect usb remote function?
CHDK Developer.


Re: Adding new cameras into trunk (with source code prepared)
« Reply #24 on: 20 / March / 2008, 15:01:11 »
hi grand,

me neither (i'm not really deep into the chdk code), but
it definitely does - without this, usb remote does not work
and with it does ... maybe niederhammer (from whom
this code is) can explain it?

best wishes - image13

Re: Adding new cameras into trunk (with source code prepared)
« Reply #25 on: 21 / March / 2008, 11:32:17 »
hi,

how about adding the current version of the a540
port to the trunk as well - it works completely fine
now as far as i can see ... sources and a diff to the
336 rev of the trunk is at

  a540-336-new.zip - 0.02MB

a lot of thanks in advance and best wishes - image13

p.s.: all the credits for this code go to niederhammer
- i just updated it to the current tree and fixed that
file numbering bug

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #26 on: 21 / March / 2008, 17:01:56 »
A540 - added to #338.
CHDK Developer.

physw_status[USB_REG] = kbd_new_state[USB_REG] & ~USB_MASK;

it seems to me, that this writes back the bits to the hardware  register of the camera, except the usb-bit.

on a530&a540 this confuses the camera.


Re: Adding new cameras, applying patches into trunk (with source code prepa
« Reply #28 on: 04 / April / 2008, 11:24:16 »
here's a dump of the ixus70_sd1000 firmware 1.01a.

P.S. I would love to port it myself, or at least try. Is there a good point to start with?
« Last Edit: 04 / April / 2008, 11:26:39 by borisbergman »

Here you go grand.  I added the 100d sub for the ixus55_sd450.

zSHARE - sd450_100d_trunk.zip

 

Related Topics