Use of 529 Funds

My child - fortunately - has a stipend - taxable income - from his college for "living expenses."   He also has a 529 fund.  Can he use the 529 to pay for textbooks, course materials, and a computer?