Wiktionary
know someone from adam
vb. (context idiomatic English) To know or recognise someone at all.