Wikia

CHDK Wiki

Changes: User:Srsa 4c/Working with a broken camera

Edit

Back to page

m (Software solution)
m (reformat)
Line 3: Line 3:
 
__TOC__
 
__TOC__
 
==Operating the camera with faulty / missing lens or IS hardware==
 
==Operating the camera with faulty / missing lens or IS hardware==
+
<br />
 
 
===Missing or malfunctioning optical image stabilizer===
 
===Missing or malfunctioning optical image stabilizer===
+
<br />
 
====How to recognize?====
 
====How to recognize?====
+
<br />
 
*The camera stops with an E32 error, usually one minute after switching it on or switching it to rec mode.
 
*The camera stops with an E32 error, usually one minute after switching it on or switching it to rec mode.
   
 
*The IS hardware is deliberately disconnected
 
*The IS hardware is deliberately disconnected
  +
<br />
 
====Software solution====
 
====Software solution====
+
<br />
 
Cameras released in and after end of 2009 ([[P-ID (Table)|DryOS r39 or later]]) have special [[Event_Procedure|event procedures]] dealing with IS errors in their firmware. They are called EnableISDriveError and (the one that's actually useful) DisableISDriveError. To use the latter, one could run a Lua script which invokes it correctly, or a modified CHDK could take care of the invocation.
 
Cameras released in and after end of 2009 ([[P-ID (Table)|DryOS r39 or later]]) have special [[Event_Procedure|event procedures]] dealing with IS errors in their firmware. They are called EnableISDriveError and (the one that's actually useful) DisableISDriveError. To use the latter, one could run a Lua script which invokes it correctly, or a modified CHDK could take care of the invocation.
   
Line 29: Line 30:
 
call_event_proc("StartImStEventProc")
 
call_event_proc("StartImStEventProc")
 
call_event_proc("DisableISDriveError")
 
call_event_proc("DisableISDriveError")
+
<br />
 
===Missing, broken or malfunctioning lens hardware===
 
===Missing, broken or malfunctioning lens hardware===
+
<br />
 
====How to recognize?====
 
====How to recognize?====
   
 
*The camera stops with one of the lens related [[Canon error codes|error messages]]
 
*The camera stops with one of the lens related [[Canon error codes|error messages]]
+
<br />
 
 
====Possible software solution (* needs proof!)====
 
====Possible software solution (* needs proof!)====
   
This is of no use to most of the camera owners, except when the lens hardware is not needed (astronomical, microscopy applications)
+
<br />This is of no use to most of the camera owners, except when the lens hardware is not needed (astronomical, microscopy applications)
   
 
Cameras released in 2011 or later have special event procedures named EnableLensError, DisableLensError. It is assumed that using DisableLensError could prevent camera shutdown in presence of certain lens related error conditions. However, there are no known reports about using this method. If you have a broken camera, and willing to try this, please post a request into [http://chdk.setepontos.com/index.php?topic=6725.0 this] forum thread.
 
Cameras released in 2011 or later have special event procedures named EnableLensError, DisableLensError. It is assumed that using DisableLensError could prevent camera shutdown in presence of certain lens related error conditions. However, there are no known reports about using this method. If you have a broken camera, and willing to try this, please post a request into [http://chdk.setepontos.com/index.php?topic=6725.0 this] forum thread.
   
{{Attention|'''IMPORTANT!
+
{{Attention|'''IMPORTANT!<br />
 
'''2011 and later entry level cameras have a dummy version of DisableLensError, which has no effect. These cameras seem to be the ones without optical IS hardware (A800, A810, A1200, A1300, A2200, A2300, ...?).}}
 
'''2011 and later entry level cameras have a dummy version of DisableLensError, which has no effect. These cameras seem to be the ones without optical IS hardware (A800, A810, A1200, A1300, A2200, A2300, ...?).}}
  +
<br />
 
====Possible hardware solution====
 
====Possible hardware solution====
Check out the following forum threads
+
  +
<br />Check out the following forum threads
   
 
http://chdk.setepontos.com/index.php?topic=8801
 
http://chdk.setepontos.com/index.php?topic=8801

Revision as of 02:33, January 8, 2013

Attention

If you plan to purchase a camera with the intention of using it without the lens, please ask before in this forum thread.


Operating the camera with faulty / missing lens or IS hardware


Missing or malfunctioning optical image stabilizer


How to recognize?


  • The camera stops with an E32 error, usually one minute after switching it on or switching it to rec mode.
  • The IS hardware is deliberately disconnected


Software solution


Cameras released in and after end of 2009 (DryOS r39 or later) have special event procedures dealing with IS errors in their firmware. They are called EnableISDriveError and (the one that's actually useful) DisableISDriveError. To use the latter, one could run a Lua script which invokes it correctly, or a modified CHDK could take care of the invocation.

To make sure your camera has these event procedures, please ask in this forum thread.

There are two kinds of cameras with IS

  • IS is disabled in play mode: DisableISDriveError needs to be invoked after each play -> rec mode transition
  • some parts of the IS unit are always in use, even in play mode: DisableISDriveError needs to be invoked after any play -> rec or rec -> play transition (* needs proof)


the following Lua script works on the S90 (to use it, use CHDK with native calls enabled, or CHDK 1.2)

call_event_proc("Mecha.Create")
call_event_proc("StartImStEventProc")
call_event_proc("DisableISDriveError")


Missing, broken or malfunctioning lens hardware


How to recognize?


Possible software solution (* needs proof!)


This is of no use to most of the camera owners, except when the lens hardware is not needed (astronomical, microscopy applications)

Cameras released in 2011 or later have special event procedures named EnableLensError, DisableLensError. It is assumed that using DisableLensError could prevent camera shutdown in presence of certain lens related error conditions. However, there are no known reports about using this method. If you have a broken camera, and willing to try this, please post a request into this forum thread.

Attention

IMPORTANT!
2011 and later entry level cameras have a dummy version of DisableLensError, which has no effect. These cameras seem to be the ones without optical IS hardware (A800, A810, A1200, A1300, A2200, A2300, ...?).


Possible hardware solution


Check out the following forum threads

http://chdk.setepontos.com/index.php?topic=8801

http://chdk.setepontos.com/index.php?topic=3409

Around Wikia's network

Random Wiki