Manager Ozzie Guillen believes Cuban import Alexei Ramirez should have more home runs despite the lack of playing time and getting acclimated to playing in cold conditions for the first time.

Friday night, Ramirez finally got a chance to display his power.

Ramirez hit his first major-league home run, a two-run shot with two out in the seventh inning, to vault the White Sox to a 2-0 interleague victory at San Francisco.

Ramirez was starting at second base only because Juan Uribe is recovering from a right hamstring strain that could keep him out until Sunday.

This was Ramirez's first home run in 45 at-bats after hitting 20 for Pinar del Rio in the Cuban League last season.

"This kid works a lot, we make sure we keep him working, like extra hitting," Guillen said. "One (reason) why we keep him here is because we need him. He can play different positions."

Guillen believes Ramirez, 26, is needed more on the major-league roster than going to the minors to get more playing time.

"It's something about development or playing," Guillen said. "I rather have him here because I can use him different ways.

"Obviously, it's only 11/2 months in the season. Maybe later he will have more playing time. If he continues to swing like that, we'll see what happens."

The talks with Ramirez at times have been frank.

"We tell him this isn't Cuba any more and you're not going to face Olympic pitching," Guillen said.

Ramirez sported a big smile and the home run ball after the game.

"First, I work hard," Ramirez said. "And I keep concentrating on the game. I get a lot of support from my family."

Ramirez said he got a call from his wife after the game.

Starting pitcher Gavin Floyd (4-2) weaved out of trouble for all six innings he pitched but got the win.

"You get yourself in trouble, you get yourself out of trouble," Guillen said.

"That's how you learn."

Outside of the retirement of Giants managing general partner Peter Magowan after 16 seasons, Sox catcher A.J. Pierzynski was the center of attention as soon as he stepped on the field.

He received some pleasant handshakes with a few Giants staffers but got into an argument with a Giants publicist during batting practice.