ELPH300HS aka IXUS220HS - Porting Thread - page 48 - DryOS Development - CHDK Forum supplierdeeply

ELPH300HS aka IXUS220HS - Porting Thread

  • 899 Replies
  • 396394 Views
Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #470 on: 09 / December / 2011, 07:45:20 »
Advertisements
Try this change to create_dng_header in dng.c (the 2nd and 3rd lines are new):

Code: [Select]
    switch (IFD_LIST[j].entry[i].tag) {
     case 0x110 :                                                                                       // CameraName
     case 0xC614: IFD_LIST[j].entry[i].count = strlen((char*)IFD_LIST[j].entry[i].offset) + 1; break;   // UniqueCameraModel
     case 0x132 :
     case 0x9003: IFD_LIST[j].entry[i].offset=(int)get_date_for_exif(exif_data->time); break; //DateTimeOriginal

This doesn't cause any problems for me; but I've never seen the problem happen.
If this works for you I'll update SVN.

Phil.

It works.  Thanks.

Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #471 on: 09 / December / 2011, 11:28:09 »
Anyone know any time lapse scripts that work?
The are called intervalometers in CHDK.  Searching the wiki or forum will turn up many options :

Try > http://chdk.wikia.com/index.php?title=Special%3ASearch&search=intervalometer&go=Go

Also,  if you want to keep it simple initially,  there is a very small script put on your SD card with CHDK.  Look for /CHDK/SCRIPTS/4Pack/Lua/interval.lua or /CHDK/SCRIPTS/4Pack/Lua/interval.bas  (same script - different language)

« Last Edit: 09 / December / 2011, 11:46:41 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #472 on: 09 / December / 2011, 22:08:50 »
Anyone know any time lapse scripts that work?
The are called intervalometers in CHDK.  Searching the wiki or forum will turn up many options :

Try > http://chdk.wikia.com/index.php?title=Special%3ASearch&search=intervalometer&go=Go

Also,  if you want to keep it simple initially,  there is a very small script put on your SD card with CHDK.  Look for /CHDK/SCRIPTS/4Pack/Lua/interval.lua or /CHDK/SCRIPTS/4Pack/Lua/interval.bas  (same script - different language)



Thanks waterwingz. I tried the Ultra Intervalometer but couldn't get it to work. Nevertheless I took your suggestion and loaded the interval.lua - it is working so far. Will play with it over the weekend

thanks again.

UPDATE:
My intial attempt of loading the Ultra Intervalometer script failed because of beginner error. Scripts have to be saved in plaint text {mac}. The script work fine for me now.
« Last Edit: 11 / December / 2011, 20:24:12 by henrooo »

Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #473 on: 11 / December / 2011, 09:43:49 »
Hi,

I got an error E41 when I connect my Ixus 220HS to my computer while running chdk.
Does anyone know if there is a solution for this problem?

I found the problem is not related to the computer because I got the same result when I turn of the computer. The only thing needed to reprocuce the error is current on the usb powercable.

The error:
A camera error was detected
Will shut down automatically
Restart camera
E41n

It happens only whith a bootabe sd card running chdk, latest version, clean install.
« Last Edit: 11 / December / 2011, 16:34:45 by Nestkast »


Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #474 on: 11 / December / 2011, 23:09:12 »
I got an error E41 when I connect my Ixus 220HS to my computer while running chdk.
Does anyone know if there is a solution for this problem?

Huh!  I've never actually connected my ELPH 300HS to my computer.  I've just always used an SD card reader to transfer images...

but I tried it just now, and sure enough, I get the same results on my camera.  I've attached the ROM log from the crash.  It doesn't look like the other ones I've seen; I'm not sure where to start with this problem.

I don't see the crash if the card isn't bootable, but PTP transfer still doesn't work while CHDK is running.


*

Online reyalp

  • ******
  • 14080
Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #475 on: 11 / December / 2011, 23:22:08 »
I got an error E41 when I connect my Ixus 220HS to my computer while running chdk.
Does anyone know if there is a solution for this problem?

Huh!  I've never actually connected my ELPH 300HS to my computer.  I've just always used an SD card reader to transfer images...

but I tried it just now, and sure enough, I get the same results on my camera.  I've attached the ROM log from the crash.  It doesn't look like the other ones I've seen; I'm not sure where to start with this problem.
Code: [Select]
HARDWARE DEFECT!!  ShutdownReason[9] ErrorNo[41]
Occured Time  2011:12:11 21:02:23
Never seen one of like that before either. Have you tried disabling CAM_CHDK_PTP ?
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #476 on: 11 / December / 2011, 23:25:56 »
I got an error E41 when I connect my Ixus 220HS to my computer while running chdk.
Does anyone know if there is a solution for this problem?

Huh!  I've never actually connected my ELPH 300HS to my computer.  I've just always used an SD card reader to transfer images...

but I tried it just now, and sure enough, I get the same results on my camera.  I've attached the ROM log from the crash.  It doesn't look like the other ones I've seen; I'm not sure where to start with this problem.

I don't see the crash if the card isn't bootable, but PTP transfer still doesn't work while CHDK is running.



I don't know if it's the cause or not; but the value of USB_MASK in kbd.c is wrong - see stubs_entry.S for the correct value.

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)

Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #477 on: 11 / December / 2011, 23:53:43 »
I don't know if it's the cause or not; but the value of USB_MASK in kbd.c is wrong - see stubs_entry.S for the correct value.

Didn't have any apparent effect.

Never seen one of like that before either. Have you tried disabling CAM_CHDK_PTP ?

I #undef'd that in platform_camera.h and it seems the camera lasted a little longer after plugging in the USB cable--it retracted the lens and switched to playback mode--but then it failed with the same error message, and the same logged shutdown reason.

Out of time for tonight, but I'll dig into it a little more tomorrow if I get the chance.


Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #478 on: 12 / December / 2011, 14:31:00 »
Good to see I am not the only one whith the E41 error :). I am running firmware version C. The reason I connect my camera with my pc while running chdk is that I want to use the ptpCamGui.

Perhaps someone with another firmware version can try to reproduce the error. It quit easy connect your cam while running chdk on a bootable sd card to your computer.



 


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: ELPH300HS aka IXUS220HS - Porting Thread
« Reply #479 on: 12 / December / 2011, 15:35:54 »
Good to see I am not the only one whith the E41 error :). I am running firmware version C. The reason I connect my camera with my pc while running chdk is that I want to use the ptpCamGui.

Perhaps someone with another firmware version can try to reproduce the error. It quit easy connect your cam while running chdk on a bootable sd card to your computer.


How much free memory is there before plugging in the USB cable?
(Check the Show Memory Info option under the Miscelllaneous Stuff menu)

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)

 

Related Topics