Ok, as for my headphone jack I tried adding
hint.hdac.0.cad0.nid17.config="as=1 seq=15 device=Headphones"
hint.hdac.0.cad0.nid18.config="as=4 seq=0 device=Line-out"
hint.hdac.0.cad0.nid22.config="as=1 seq=0 device=Speaker"
to /boot/device.hints but no luck.
As for the ports I need to come...