IXUS160/ELPH160 Porting attempt - page 13 - DryOS Development - CHDK Forum

IXUS160/ELPH160 Porting attempt

  • 497 Replies
  • 233690 Views
*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #120 on: 27 / June / 2015, 08:59:46 »
Advertisements
Implemented DRAW ON ACTIVE BUFFER ONLY, here are the benchs (3 first back to back, last one after boot)

Edit: pushed to github.

With this, most of the issues should be fixed, unless I missed something, and the port is imho ready.
« Last Edit: 27 / June / 2015, 12:17:42 by adong »

Re: IXUS160/ELPH160 Porting attempt
« Reply #121 on: 28 / June / 2015, 14:16:48 »
Hi.

I found my own bug for Ixus 160 ;)

"set_zoom()" doesn't work: libusb reports I/O error or "disconnected"(on the same place - just different execution of the same code). Camera switched off without lens closing. So, it looks like CHDK build issue. Behavior is 100% the same in the chdkptp(command line) and my code. I tried to call "set_zoom_speed" - the same issue.

I checked the same code in my A495 - it works good.

You can see wireshark usb logs for Ixus 160 in attachment.
« Last Edit: 28 / June / 2015, 14:18:28 by alex73 »

*

Offline reyalp

  • ******
  • 14117
Re: IXUS160/ELPH160 Porting attempt
« Reply #122 on: 28 / June / 2015, 14:40:45 »
Hi.

I found my own bug for Ixus 160 ;)

"set_zoom()" doesn't work: libusb reports I/O error or "disconnected"(on the same place - just different execution of the same code). Camera switched off without lens closing.
This means the camera crashed. Try to get a ROMLOG: http://chdk.wikia.com/wiki/Debugging#Camera_crash_logs_.28romlog.29

Quote
I tried to call "set_zoom_speed" - the same issue.
AFAIK set_zoom_speed isn't expected to do anything except on a few old cameras.
Don't forget what the H stands for.

*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #123 on: 28 / June / 2015, 15:38:38 »
Added missing defines, should be fixed.
« Last Edit: 03 / August / 2015, 03:31:32 by adong »


*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #124 on: 28 / June / 2015, 19:08:35 »
I think it would be beneficial for this port to receive some independent evaluation and testing (in order to find possible bugs).

A list of tests is available here: http://chdk.wikia.com/wiki/Testing

Additionally, could someone check whether JPEGs look OK after zooming from wide angle to tele with set_zoom()?

Re: IXUS160/ELPH160 Porting attempt
« Reply #125 on: 29 / June / 2015, 00:26:18 »
Added missing defines, should be fixed.

Thank you, it works good. Jpeg also looks good after zooming.
WIll make tests by http://chdk.wikia.com/wiki/Testing today later.

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #126 on: 29 / June / 2015, 20:01:34 »
Jpeg also looks good after zooming.
I should have explained this a bit better, look for inappropriate distortion correction (see this post for an example).

Re: IXUS160/ELPH160 Porting attempt
« Reply #127 on: 30 / June / 2015, 00:38:10 »
Hi.
I should have explained this a bit better, look for inappropriate distortion correction (see this post for an example).

There is no such issue. See attached jpegs for different zoom levels. I just converted they by ImageMagick for less jpeg quality for decrease size.


Re: IXUS160/ELPH160 Porting attempt
« Reply #128 on: 30 / June / 2015, 00:55:42 »
I made all tests by http://chdk.wikia.com/wiki/Testing and runned some other test scripts from camera. Almost all tests passed good, except some issues described below. Probably they are not real issue.

1. drawTest - some figures looks not so good
2. drtest - shoots without stop
3. isobase - reports "set CAM_MARKET_ISO_BASE 200"
4. mftest - reports error at mftest.lua:150 - attempt to compare nil with number
5. tstcallf - failed

Re: IXUS160/ELPH160 Porting attempt
« Reply #129 on: 30 / June / 2015, 01:51:29 »
Hi.

I'm trying to call "return call_event_proc("PTM_GetCurrentItem",ID)" scripts for ID=0x8000..8200, but it returns always -1

When I tried to call "return call_func_ptr(0xff8a1464,ID)" it returns some values, but camera crashed on the ID=0x80c6.

Is it possible to get/set UI properties(http://chdk.setepontos.com/index.php?topic=10624.0) for Ixus 160 ?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal