Thanks for the 1.13 tip Taruga

, got partial success; line out and optical out detect and working BUT, no volume control. Everything plays at maximum volume, although I can use the apps individual controls.
No mic or line in.
Attached my codec.
Cheers for all your work, much appreciated.
P.S. running 10.4.10 w/ 8.10.1 Darwin Kernel
I'm pasting my codec in as I can't do attachments atm, apparently I don't have permission
QUOTE
Codec: Analog Devices AD1986A
Address: 0
Vendor Id: 0x11d41986
Subsystem Id: 0x1043818f
Revision Id: 0x100500
Default PCM: rates 0x07f, bits 0x0e, types 0x1
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
PCM: rates 0x060, bits 0x02, types 0x5
Connection: 2
0x01* 0x06
Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x1c 0x1c]
Power: 0x0
Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x1c 0x1c]
Power: 0x0
Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x1c 0x1c]
Power: 0x0
Node 0x06 [Audio Input] wcaps 0x100511: Stereo
PCM: rates 0x07f, bits 0x06, types 0x1
Power: 0x0
Connection: 1
0x12
Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
Connection: 8
0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
Connection: 1
0x07
Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80] [0x80]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80]
Connection: 2
0x04 0x05
Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
Connection: 3
0x07* 0x04 0x05
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x07* 0x04
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x04* 0x07
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x05* 0x08
Node 0x0e [Audio Selector] wcaps 0x300100: Mono
Connection: 2
0x08* 0x11
Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 8
0x1f* 0x20 0x1d 0x1d 0x27 0x28 0x29 0x2a
Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
Connection: 3
0x20* 0x1c 0x1f
Node 0x11 [Audio Selector] wcaps 0x300941: Stereo
Connection: 2
0x0f* 0x2b
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
Amp-Out vals: [0x80 0x80]
Connection: 8
0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80 0x80]
Connection: 1
0x11
Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80]
Connection: 1
0x23
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80 0x80]
Connection: 1
0x22
Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80 0x80]
Connection: 1
0x21
Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80 0x80]
Connection: 1
0x10
Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
Amp-Out vals: [0x8f]
Connection: 2
0x19* 0x24
Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x18 0x18]
Pincap 0x081f: OUT HP Detect
Pin Default 0x02214021: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
Pin-ctls: 0xc0: OUT HP
Connection: 1
0x0a
Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x18 0x18]
Pincap 0x081001f: OUT HP EAPD Detect
Pin Default 0x01014011: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
Pin-ctls: 0x40: OUT
Connection: 1
0x0b
Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0837: IN OUT Detect
Pin Default 0x01013012: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Blue
Pin-ctls: 0x40: OUT
Connection: 1
0x0c
Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x081737: IN OUT Detect
Pin Default 0x01019015: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Pink
Pin-ctls: 0x40: OUT
Connection: 1
0x0d
Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x80]
Pincap 0x0810: OUT
Pin Default 0x501700f0: [N/A] Speaker at Int N/A
Conn = Analog, Color = Unknown
Pin-ctls: 0x40: OUT
Connection: 1
0x0e
Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081727: IN Detect
Pin Default 0x02a190f0: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
Pin-ctls: 0x24: IN
Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081727: IN Detect
Pin Default 0x018130f0: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
Pin-ctls: 0x20: IN
Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x0827: IN Detect
Pin Default 0x509700f0: [N/A] Aux at Int N/A
Conn = Analog, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x993310f0: [Fixed] CD at Int ATAPI
Conn = ATAPI, Color = Black
Pin-ctls: 0x20: IN
Node 0x23 [Pin Complex] wcaps 0x400000: Mono
Pincap 0x0820: IN
Pin Default 0x50b700f0: [N/A] Telephony at Int N/A
Conn = Analog, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x24 [Pin Complex] wcaps 0x400000: Mono
Pincap 0x0820: IN
Pin Default 0x50f700f0: [N/A] Other at Int N/A
Conn = Analog, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x0145f0f0: [Jack] SPDIF Out at Ext Rear
Conn = Optical, Color = Other
Pin-ctls: 0x40: OUT
Connection: 1
0x02
Node 0x26 [Power Widget] wcaps 0x500500: Mono
Power: 0x0
Connection: 8
0x07* 0x08 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
Connection: 2
0x1f 0x1d
Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
Connection: 2
0x1f 0x20
Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
Connection: 2
0x1d 0x20
Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
Connection: 3
0x1f 0x1d 0x20
Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
Connection: 1
0x0f