@Gentlemen,
The problem is not in LM317.I gave enough info for that !
LM317 is highly recomended for any kind of electronic equipment that needs
of clear, noiseless, very stable and protected output voltage in range 1.2 - 30V ..to say.
There are COMPLETE SERIES OF PROTECTIONS:
CURRENT LIMITING, THERMAL
SHUTDOWN AND SOA CONTROL
Any kind, including Poower adapters for Digital cameras.
Power dissipation is low if input voltage is only 3- 4 volts for sure above output voltave by maximum output curent 1.5 A.It's make 6 Watts max.Small radiator will do the job.
I using this regulator for many many years and never had a problems.
For sure do not use trim resistor but normal rezistors to adjust output voltage.
There is pretty good LM 317 Calculator to do this :
http://www.electronics-lab.com/articles/LM317/---------------------------------------------------------------
My camera SX130IS with CHDK bootable on 8GB HAMA SDHC card Class 10, allways when powered ON and CHDK is loaded stay in Preview Mode -NO LENS RETRACT, and the curent is 0.35 A (with display ON).If I touch gently shutter button LENS RETRACTED and camera is ready for shooting.I made several attempt without CHDK - not working too.
The problem is in my Camera INSIDE.Without LM317 and battery pack 2.7 A/3.2 V camera do not work from external jack ! This 3.2 v was rised to 3,6 v (LiIon battery 2.7 A) - same situation.
Camera woking fine with internal batteries, and will continue to use it this way for now.
Thanks very very much for cooperation to solve the problem.
Best Regards ! Pier