on magic remote press home button, then select device connector
select corresponding input port, manufacturer, service provided /info about device then press next
test remote types if they work (remote type1, type2 etc) until u find one which would work
if there isnt any profile that could work, u will need to contact sony to get control code which u send to lg