[alsa-devel] Trying to enable digital audio output - Intel HDA - AD1983
Hi-- I have a Lenovo M55 SFF desktop I use for a media center computer (XBMCbuntu). It has the AD1983 chip on it. From the factory, it had 2 ports in the back (mic + speaker) , and 2 ports in the front (mic + speaker). It also has an on-board speaker.
It never shipped with a SPDIF output, but I soldered a wire to the AD1983 and installed an RCA jack on the back of the case. Earlier versions of XBMC shipped with a different version of alsa, and I was able to use this custom SPDIF output without issue for the last year or two, but the current version only enables the 'proper' inputs/outputs
I have tried editing the module options and specifying several different models, but the documentation doesn't list any 'model' options for the AD1983.
I suspect I need to overwrite the pin configs. cat init_pin_configs: 0x05 0x01014010 0x06 0x0221401f 0x07 0x991301f0 0x08 0x02a19020 0x09 0x0181302e 0x0a 0x414511f0
[ 2421.907510] hda-codec: reconfiguring [ 2421.980324] autoconfig: line_outs=1 (0x5/0x0/0x0/0x0/0x0) type:line [ 2421.980328] speaker_outs=1 (0x7/0x0/0x0/0x0/0x0) [ 2421.980330] hp_outs=1 (0x6/0x0/0x0/0x0/0x0) [ 2421.980332] mono: mono_out=0x0 [ 2421.980333] inputs: [ 2421.980335] Mic=0x8 [ 2421.980336] Line=0x9 [ 2421.981858] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input34 [ 2421.984829] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input33 [ 2421.985848] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input32
Does anyone have any guidance for how I may re-enable the SPDIF on the AD1983 when my BIOS disables it by default?
Where else should I look for information on pin configs?
Thanks!
I have a Lenovo M55 SFF desktop I use for a media center computer (XBMCbuntu). It has the AD1983 chip on it. From the factory, it had 2 ports in the back (mic + speaker) , and 2 ports in the front (mic + speaker). It also has an on-board speaker.
It never shipped with a SPDIF output, but I soldered a wire to the AD1983 and installed an RCA jack on the back of the case. Earlier versions of XBMC shipped with a different version of alsa, and I was able to use this custom SPDIF output without issue for the last year or two, but the current version only enables the 'proper' inputs/outputs
I have tried editing the module options and specifying several different models, but the documentation doesn't list any 'model' options for the AD1983.
I suspect I need to overwrite the pin configs. cat init_pin_configs: 0x05 0x01014010 0x06 0x0221401f 0x07 0x991301f0 0x08 0x02a19020 0x09 0x0181302e 0x0a 0x414511f0
Node 0x0a [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x00000010: OUT Pin Default 0x414511f0: [N/A] SPDIF Out at Ext Rear Conn = Optical, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x02
Use hda-jack-retask or early patching to change pin default of node 0x0a from [N/A] to [JACK]
Raymond-- Thank you very much! hdajackretask from the alsa-tool-gui worked like a charm! (Had to tunnel X over my SSH terminal, but that's no biggie)
If only I had time to write an XBMC plugin for hdajackretask :-)
Thanks Again! --Scott
On Tue, Jun 17, 2014 at 7:39 AM, Raymond Yau superquad.vortex2@gmail.com wrote:
I have a Lenovo M55 SFF desktop I use for a media center computer (XBMCbuntu). It has the AD1983 chip on it. From the factory, it had 2 ports in the back (mic + speaker) , and 2 ports in the front (mic + speaker). It also has an on-board speaker.
It never shipped with a SPDIF output, but I soldered a wire to the AD1983 and installed an RCA jack on the back of the case. Earlier versions of XBMC shipped with a different version of alsa, and I was able to use this custom SPDIF output without issue for the last year or two, but the current version only enables the 'proper' inputs/outputs
I have tried editing the module options and specifying several different models, but the documentation doesn't list any 'model' options for the AD1983.
I suspect I need to overwrite the pin configs. cat init_pin_configs: 0x05 0x01014010 0x06 0x0221401f 0x07 0x991301f0 0x08 0x02a19020 0x09 0x0181302e 0x0a 0x414511f0
Node 0x0a [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x00000010: OUT Pin Default 0x414511f0: [N/A] SPDIF Out at Ext Rear Conn = Optical, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x02
Use hda-jack-retask or early patching to change pin default of node 0x0a from [N/A] to [JACK]
participants (2)
-
Raymond Yau
-
Scott D'Vileskis