AUBURN HILLS, Mich. -- Jeremy Lin didn't post big numbers in his Houston Rockets debut, but he did help his new team win.

Lin had 12 points and eight assists as the Rockets opened the season with a 105-96 victory over the Detroit Pistons. Lin's new teammate, James Harden, poured in 37 points and had 12 assists in his first Rockets game.

Lin, who is from Palo Alto, joined the Rockets as a restricted free agent this offseason when the New York Knicks declined to match Houston's offer of a three-year deal worth $25 million.

That ended a short but splashy stint with the Knicks that began in February with a 25-point night in a 99-92 victory over the New Jersey Nets. He continued to put up big numbers for the Knicks, becoming a global sensation.