Update for A3400 from nafraf.
http://chdk.setepontos.com/index.php?topic=650.msg95976#msg95976