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
Storm Doris is set to bring severe weather across much of the UK on Thursday as heavy rain and strong winds push in from the west.
President Trump has scrapped protections for transgender students that had allowed them to use bathrooms matching their gender identity.
Prisons will be expected to reform prisoners as well as punish them under new proposals, set to be unveiled on Thursday.