A4000IS porting thread - page 5 - DryOS Development - CHDK Forum

A4000IS porting thread

  • 205 Replies
  • 58159 Views
Re: A4000IS porting thread
« Reply #40 on: 24 / March / 2013, 02:31:06 »
Advertisements
I was able to hack ufraw to execute the FixBadPixelsConstant opcode.  It was easier than I thought, since there was already a method called remove_zeroes() which was easy to modify to accept any given constant value to interpolate over.  I added a generic method for handling opcodes, but the one for fixing bad pixels is the only one I implemented (and the only one in my DNG files).  I'll pass the patch up to the ufraw and dcraw people, and hopefully they'll fix it up and add it to the official repositories.

Re: A4000IS porting thread
« Reply #41 on: 30 / March / 2013, 17:10:00 »
Test (llibtst.lua, setmode.lua, ubtest.bas) was beatifully successfully with a4000-101a-1.2.0-prealpha02.

CHDK/LOGS/LOG_0001.TXT:

test plat 12867 pset 5
sleep/tick test
start 162700 end 163210 dif 510
key test - set to end
up
down
left
right
set
key press test
try to switch to rec
current mode  2
exp_count 336
Av 309 Sv 699 Tv 224
shot - default 337
exp_count 337
shoot Tv+2 338
shoot Sv-2 339
shoot ND in 340
shoot ND out 341
ok

*

Offline nafraf

  • *****
  • 1308
Re: A4000IS porting thread
« Reply #42 on: 30 / March / 2013, 20:49:50 »
Test (llibtst.lua, setmode.lua, ubtest.bas) was beatifully successfully with a4000-101a-1.2.0-prealpha02.
Thanks for testing:

Some other features that would be useful to test:
- Palette in Play and Rec modes : http://chdk.setepontos.com/index.php?topic=8450.msg95985#msg95985
- USB remote synch: http://chdk.setepontos.com/index.php?topic=7889.msg98226#msg98226
- Long exposure
- Video quality override
- chdkptp connection + liveview.?  Forum thread: alternative ptp client

Re: A4000IS porting thread
« Reply #43 on: 31 / March / 2013, 05:33:03 »
Only for info : For booting to A4000 IS you need sd card to 4 gb with FAT16 !!

Some other features:
-Palette in Play and Rec modes: OK;
-USB remote synch: NO ! (it is going to delete, to paste, to cut on sc-card with "lock" with CDK trought only gphoto2, by turn off of enable remote), but directory "100CANON wit dgn" it is possible to view only by put sd-card to sd.reader on PC;
- Video quality override: is poor general with or without CHDK (a lot of noise)
- Zoom by Video Record: optical 8 x zoom, with digital to 32x zoom;
_temperature : 27 to 35 C;
Long exposure and  chdkptp connection + liveview-  I am going to testing in future (i have not time for thesis)

Issues or Question:

1. I know not to turn off of test scripts (always is still "on")  ..I must restart CHDK to default  setting ?
2. I have setting of DGN to 1.3 version, I maked Bad pixel maps, but i see bad pixel (back, yeallod, blue) in DGN trought Raw Therapee. I had in bad pixel maps maybe 14 611 bad pixel, it is normal, ..maybe my camera is [admin: avoid swearing please] from factory - my opinion old Nikin Cooplix P4 had more beautiful pictures - Nikon had no noise in pictures;
3. By Photo taking, Canon make paralely still jpeg and also DGN. It is possible to turn off of jpeg ? I must by photo taking to wait maybe 15 seconds, .. it is really impractical - it is also by situation without CHDK.
4. I tried also slovak and czech language, but same fonts is not corectly print (specific sign like: ô and alike)

Thank you!
« Last Edit: 31 / March / 2013, 07:27:35 by atirage21 »


*

Offline nafraf

  • *****
  • 1308
Re: A4000IS porting thread
« Reply #44 on: 31 / March / 2013, 07:25:30 »
Only for info : For booting to A4000 IS you need sd card to 4 gb with FAT16 !!
It's not normal, A4000 should support FAT32 too and it was tested in 101b fw.
Read post #9 of this thread.

Quote
Some other features:
-Palette in Play and Rec modes: OK;
-USB remote synch: OK (it is going to delete, to paste, to cut on sc dard with "lock" with CDK), but directory "100CANON wit dgn" it is possible to view only by put sd-card to sd.reader on PC;
- Video quality override: is poor general with or without CHDK (a lot of noise)
- Zoom by Video Record: optical 8 x zoom, with digital to 32x zoom;
_temperature : 27, only by testing of lua was max 35 C;
Long exposure and  chdkptp connection + liveview-  I am going to testing in future (i have not time for thesis)
OK, thanks, I think that those results are enough to add this port as ALPHA to autobuild server.

Quote
Issues or Question:

1. I know not to turn off of test scripts (always is still "on")  ..I must restart CHDK to default  setting ?
If you are in ALT mode script starts when you press shoot button.  Press [>] to exit ALT mode and return to normal operation.

Quote
2. I have setting of DGN to 1.3 version, I maked Bad pixel maps, but i see bad pixel (back, yeallod, blue) in DGN trought Raw Therapee. I had in bad pixel maps maybe 100 000 bad pixel, it is normal, ..maybe my camera is [admin: avoid swearing please] from factory - my opinion old Nikin Cooplix P4 had more beautiful pictures - no noise in pictures;
100 000? It seems to be wrong...

Quote
3. By Photo taking, Canon make paralely still jpeg and also DGN. It is possible to turn off of jpeg ? I must by photo taking to wait maybe 15 seconds, .. it is really impractical - it is also by situation without CHDK.
Maybe long time is related to (2), my a810 takes 7 seconds saving DNG.
Post about disabling jpeg: http://chdk.setepontos.com/index.php?topic=6341.msg95514#msg95514

Quote
4. I tried also slovak and czech language, but same fonts is not corectly print (specific sign like: ô and alike)
Try with a different OSD Codepage, I can't recognize if the czech language is shown correctly, but changing OSD Codepage you get different results

Re: A4000IS porting thread
« Reply #45 on: 31 / March / 2013, 10:51:32 »
OK,  correction:

By second test, was bad pixel "only" 14 611

OSD czech and slovak language is OK by codepage "win1250"

Maybe long time is also 7 second (but it is so so long :)

"If you are in ALT mode script starts when you press shoot button.  Press [>] to exit ALT mode and return to normal operation."

Yes, but is print last command ("on down panel" of alt mode)

USB remote synch "is" in remote parameters ? Because i must disable remote (after this is disabling of synch) .......only by disable remote (in menu/remote parameters) can soft connect device to pc



*

Offline nafraf

  • *****
  • 1308
Re: A4000IS porting thread
« Reply #46 on: 31 / March / 2013, 11:35:29 »
USB remote synch "is" in remote parameters ? Because i must disable remote (after this is disabling of synch) .......only by disable remote (in menu/remote parameters) can soft connect device to pc
Yes, "Enable Sync" is in remote parameters menu.  Instructions for the test was posted by waterwingz here: http://chdk.setepontos.com/index.php?topic=7889.msg98226#msg98226

When camera is in remote mode "Enable Remote [ * ] ", it does not connect to your PC. In this mode, USB port works only as trigger, not as communication port.

Re: A4000IS porting thread
« Reply #47 on: 31 / March / 2013, 15:20:10 »
OK, This is excelent ! ...after enable sync and plug in to pc, i had black screen (maybe 7 second) and after it taked picture. By plug-out from pc was not crash. It was really stability without crash.


*

Offline nafraf

  • *****
  • 1308
Re: A4000IS porting thread
« Reply #48 on: 31 / March / 2013, 22:18:42 »
OK, This is excelent ! ...after enable sync and plug in to pc, i had black screen (maybe 7 second) and after it taked picture. By plug-out from pc was not crash. It was really stability without crash.
Those 7 (10 in source code) seconds should be the trigger timeout, it is normal. 
If you unplug USB before reaching timeout limit, camera should take a picture when USB is disconnected, could you confirm that?

Re: A4000IS porting thread
« Reply #49 on: 01 / April / 2013, 02:49:43 »
Yes, I confirm

 

Related Topics