Giants catcher Hector Sanchez drove in two runs and then left the game after getting hit in the throat area with a foul ball in the seventh.
A's starter Jesse Chavez completed 3 2-3 innings two days after his wife, Crystal, gave birth to the couple's third child, Dannie Rae. He allowed four runs — two earned — and seven hits. Chavez walked two and struck out one.
Eric Sogard drove in three runs for Oakland.
Lincecum, making his second start following three relief appearances, gave up four runs — three earned — and four hits. He walked two and struck out seven.
Sergio Romo pitched a scoreless ninth for the Giants.
All content copyright ©2015 Daily Journal, a division of Home News Enterprises unless otherwise noted.