m
*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)
correct title
__TOC__
==Operating the camera with faulty / missing lens or IS hardware==
<br />
===Missing or malfunctioning optical image stabilizer===
<br />
====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 IS hardware is deliberately disconnected
<br />
====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.
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 eachany play -> rec modeor rec -> play transition (* needs proof)
the following Lua script works on the S90 (to use it, use CHDK with [[Lua/Lua Reference/Native Function Calls|native calls]] enabled, or [http://mighty-hoernsche.de/trunk/ CHDK 1.2])
call_event_proc("StartImStEventProc")
call_event_proc("DisableISDriveError")
<br />
===Missing, broken or malfunctioning lens hardware===
<br />
====How to recognize?====
*The camera stops with one of the lens related [[Canon error codes|error messages]]
<br />
<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 (but not all!) lens related error conditions. HoweverFor example, therelens areerror nostill knownappears reportswhen aboutthe usingwhole thislens method.unit Ifis you have a broken cameradisconnected, and willing to try this, please post a request intosee [http://chdk.setepontos.com/index.php?topic=6725.0msg105129#msg105129 this]these forum threadposts].▼
▲====Possible software solution (* needs proof!)====
{{Attention|'''IMPORTANT!<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.
▲{{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, ...?).}}
<br />
====Possible hardware solution====
<br />Check out the following forum threads
http://chdk.setepontos.com/index.php?topic=8801
http://chdk.setepontos.com/index.php?topic=3409
http://chdk.setepontos.com/index.php?topic=5564
[[Category:Hardware]]