The lawyer for Hollywood filmmaker Peter Rodger said that the "family believes the child was the perpetrator".
Alan Shifman said the son had Asperger's syndrome, had trouble making friends and had been receiving professional help.
Mr Shifman added that the family had contacted police about "recent posts on YouTube" by Elliot "regarding suicide and the killing of people". The family is "devastated" and co-operating with police, he said.
More top news
Tonight it'll become dry and clear for most parts of Britain.
A rugby jersey dating back to 1894 is going under the hammer - and is expected to fetch up to £20,000 at auction.
Everton and Bournemouth players and fans pay a pre-match emotional tribute to the 96 Hillsborough victims and their families