External input:

chemical/geochemical free energy

A phototroph is not automatically a primary producer; a photoheterotroph uses light but still depends upon organic carbon.