IXUS160/ELPH160 Porting attempt

  • 497 Replies
  • 110505 Views
Re: IXUS160/ELPH160 Porting attempt
« Reply #30 on: 05 / May / 2015, 13:50:38 »
Advertisements
I am in the process to create a mutlicamera rig. IXUS 160 is still in the market, so it looks that i can find 60 cameras in stock.
This port is still work in progress and the developer (AFAIK) doesn't have the camera. Try getting in touch with adong, perhaps you could help making the development a bit easier for him...

Thanks for the reply. Will get in contact with adong and send him a camera in order to speed up development.

Re: IXUS160/ELPH160 Porting attempt
« Reply #31 on: 09 / May / 2015, 12:29:35 »
https://drive.google.com/uc?id=0B8jwFYgxPF-JRFZwYkhHR1pacTA

Test build to see if PTP live view works, mainly taken from the N.

I loaded the test build in my IXUS160 with the bootable SD card method successfully. Ptpcamgui actually worked with my camera  :D. As a first ever attempt with CHDK, i will keep testing ptpcamgui and let you know with my feedback. FYI, your camera is travelling to you so you can test the build by yourself.

Re: IXUS160/ELPH160 Porting attempt
« Reply #32 on: 10 / May / 2015, 05:55:38 »
https://drive.google.com/uc?id=0B8jwFYgxPF-JRFZwYkhHR1pacTA

Test build to see if PTP live view works, mainly taken from the N.

I loaded the test build in my IXUS160 with the bootable SD card method successfully. Ptpcamgui actually worked with my camera  :D. As a first ever attempt with CHDK, i will keep testing ptpcamgui and let you know with my feedback. FYI, your camera is travelling to you so you can test the build by yourself.

Tested the build with chdkptp and live view didn't work with my system. Furthermore when the camera is in play mode i cannot get it back to shooting mode.

Re: IXUS160/ELPH160 Porting attempt
« Reply #33 on: 15 / May / 2015, 09:52:09 »
Hello guys

thanks for trying to por the IXUS160.

@adong

i have upload the last app from this post in my camera firmware 100A.

something seem to work , it says test version expire,on start via the play icon , it shows the chdk logo and some numbers moving also th overlay of this sort of blinking.

is this a good or bad sign ?

anything you propose i could try , i could be your alpha beta tester if you need some more testers.

let me know , cheers and thank you ;D



Re: IXUS160/ELPH160 Porting attempt
« Reply #34 on: 15 / May / 2015, 12:47:26 »
Hi

i upload the last zip i found in this post , and it seemed to load properly , i tested only the remote feature in CA-1 mode and it works , ill keep testing , thanks

*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #35 on: 17 / May / 2015, 15:03:10 »
Thanks to amavroidis, I now have the camera, which means faster testing :-)

I will now post zips when something gets updated.

This build should fix palette, picture modes (auto, P, ...)

There is still no remote shoot, and shoot takes 2 shots (go figure out why...)
« Last Edit: 03 / August / 2015, 03:27:51 by adong »

*

Offline srsa_4c

  • ******
  • 3728
Re: IXUS160/ELPH160 Porting attempt
« Reply #36 on: 17 / May / 2015, 16:46:42 »
shoot takes 2 shots
'shoot' will retry shooting once if it thinks the shot was unsuccessful. I'm not sure what could be causing it, but here's a few ideas:
- check whether PROPCASE_SHOOTING does what it's supposed to (you may have a new propset)
- one or more capt_seq hooks don't work

Please check the asm parts in capt_seq.c (and perhaps elsewhere), you have .ltorg directives in very inappropriate places (place them where they can't be executed, e.g. after asm functions, see other ports).

*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #37 on: 18 / May / 2015, 04:52:31 »
shoot takes 2 shots
'shoot' will retry shooting once if it thinks the shot was unsuccessful. I'm not sure what could be causing it, but here's a few ideas:
- check whether PROPCASE_SHOOTING does what it's supposed to (you may have a new propset)
- one or more capt_seq hooks don't work

Please check the asm parts in capt_seq.c (and perhaps elsewhere), you have .ltorg directives in very inappropriate places (place them where they can't be executed, e.g. after asm functions, see other ports).

Ah yes I misread .ltorg's use, I thought it would add the b call to skip over it automatically, which is not the case.

I will retry something this week.


*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #38 on: 19 / May / 2015, 15:02:39 »
I would like to add that this lua script only shoots once:
Code: [Select]
press("shoot_half")
repeat
     sleep(50)
     until get_shooting() == true
click("shoot_full")

Same with the SHOOT.lua (delayed shooting) packed with CHDK.

Code: [Select]
click("shoot_full") also shoots only one time.

shoot() with always take two shots.

(This is after .ltorg relocation)

*

Offline srsa_4c

  • ******
  • 3728
Re: IXUS160/ELPH160 Porting attempt
« Reply #39 on: 20 / May / 2015, 18:00:06 »
I would like to add that this lua script only shoots once:
(...)
Same with the SHOOT.lua (delayed shooting) packed with CHDK.
That is expected, because only the shoot() script command is able to retry shooting (simple keypress commands don't do that).
If I interpret the related code in core/action_stack.c right:
In action_stack_AS_WAIT_SHOOTING_DONE(), (camera_info.state.state_shooting_progress == SHOOTING_PROGRESS_NONE) evaluates as 'true' and another shot will be scheduled.
The only place state_shooting_progress can become SHOOTING_PROGRESS_NONE is in action_push_shoot() (core/action_stack.c). It seems like camera_info.state.state_shooting_progress doesn't get updated for some reason (search for state_shooting_progress in the source to see the routines involved).
Do photo overrides / dark frame control / raw saving work (these are the hooks in capt_seq)?

 

Related Topics