alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Oltmanns <stefan-oltmanns@gmx.net>
To: alsa-devel@alsa-project.org
Subject: Intel HDA / ca0132: Multichannel + S/PDIF support
Date: Tue, 30 Dec 2014 17:05:25 +0100	[thread overview]
Message-ID: <54A2CD45.9040500@gmx.net> (raw)

Hi,

I own a Gigabyte G1.Sniper M3 Z77 mainboard with ca0132 onboard audio.
Currently only stereo out and headphone out (at the back, always same
signal) work by default.
I was able to fix S/PDIF out by changing the headphone pin in function
ca0132_config to something below 0x0d, like:

spec->out_pins[1] = 0x0a;

No idea why this fixes S/PDIF, but no other effects noticed. No idea if
it´s going to break something on other devices. Original value is 0x10.

In this function also 3 DACs are listed. The board has a total of 5
stereo outputs:

-Frontpanel (HDA pin connector on mainboard)
4x 3,5mm output at backpanel:
-Stereo out
-Headphone out
-Rear out
-Center/LFE out

I tried to increase the number of channels and create additional outputs
and connected to the other DACs. The maximum I´m able to is to get
different signals out of stereo out and front headphone (not useful,
just some weird mixes) or same signal from all 3 outputs. Rear and c/lfe
out always no signal.

During initialization snd_hda_parse_pin_def_config is called and two
outputs are found. I tried to override that and change spec->autocfg
after that function is called, no success.
Also no matter what I change there, a little later I get this kernel
messages:

kernel: [    2.642972] input: HDA Intel PCH Line Out as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input8
kernel: [    2.643142] input: HDA Intel PCH Front Headphone as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input7
kernel: [    2.644932] input: HDA Intel PCH Line as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input6
kernel: [    2.645050] input: HDA Intel PCH Mic as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input5

I could not find the code where this messages are generated, where is that?

Any ideas what I could/should try to get multichannel support working?
Is there any kind of documentation on the ca0132 that could be helpful?

Best regards
Stefan
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

             reply	other threads:[~2014-12-30 16:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-30 16:05 Stefan Oltmanns [this message]
2015-01-03  1:30 ` Intel HDA / ca0132: Multichannel + S/PDIF support Dylan Reid
2015-01-03 10:43   ` Stefan Oltmanns
2015-01-04 20:33     ` Dylan Reid
2015-01-04 21:26       ` Stefan Oltmanns
2015-01-05  8:05         ` Takashi Iwai
2015-01-06  1:06           ` Stefan Oltmanns
2015-01-06  9:47             ` Takashi Iwai
2015-01-06 22:23               ` Stefan Oltmanns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54A2CD45.9040500@gmx.net \
    --to=stefan-oltmanns@gmx.net \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).