Members of the genus Shewanella are known for their versatile electron accepting routes, which allow them to couple decomposition of organic matter to reduction of various terminal electron acceptors for heterotrophic growth in diverse environments. Here, we report autotrophic growth of Shewanella oneidensis MR-1 with photoelectrons provided by illuminated biogenic CdS nanoparticles. This hybrid system enables photosynthetic oscillatory acetate production from CO2 for over five months, far exceeding other inorganic-biological hybrid system that can only sustain for hours or days. Biochemical, electrochemical and transcriptomic analyses reveal that the efficient electron uptake of S. oneidensis MR-1 from illuminated CdS nanoparticles supplies sufficient energy to stimulate the previously overlooked reductive glycine pathway for CO2 fixation. The continuous solar-to-chemical conversion is achieved by photon induced electric recycling in sulfur species. Overall, our findings demonstrate that this mineral-assisted photosynthesis, as a widely existing and unique model of light energy conversion, could support the sustained photoautotrophic growth of non-photosynthetic microorganisms in nutrient-lean environments and mediate the reversal of coupled carbon and sulfur cycling, consequently resulting in previously unknown environmental effects. In addition, the hybrid system provides a sustainable and flexible platform to develop a variety of solar products for carbon neutrality.