A lawyer of film director Peter Rodger says the family called police several weeks ago after being alarmed by YouTube videos posted by his son "regarding suicide and the killing of people".
The attorney said police had conducted an investigation and interviewed the man. Police said the man appeared to have trouble making friends but did not find a history of guns.
Police have not formally named the suspect, who died following the attack.
More top news
Accompanied by the Duke of Edinburgh, the Queen will attend the opening ceremony of the fifth session in the Holyrood chamber.
Ms Leadsom has received the backing of Ian Duncan Smith, the former work and pensions secretary.
The former shadow work and pensions secretary is considered a more viable candidate than Angela Eagle, a Labour source has told ITV News.