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
The Tories' Brexit civil war will rear its ugly head again soon enough.
Watchdog says officers must work harder to avoid the use of force on mentally unwell people in a report into the death in custody.
Morning wind and rain in Scotland and western England will move eastwards, leaving brighter weather behind it by late afternoon.