alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Raymond Yau <superquad.vortex2@gmail.com>
To: Rüdi <ruedi@battle-eggs.de>, tiwai@suse.de
Cc: alsa-devel@alsa-project.org
Subject: Lenovo ThinkCentre A58 - surround 5.1 problem
Date: Sat, 2 Feb 2013 09:02:13 +0800	[thread overview]
Message-ID: <CAN8cciZZnf634aAvp06ivpKozu-YFj5jRjSufB8hEotzY2ZAaQ@mail.gmail.com> (raw)
In-Reply-To: <CAN8ccibfTwamvMRBjh1tJEPnprgkoO-zE-uhwxPbFZBDghkZNA@mail.gmail.com>

> I already tried so many options in alsa-mixer - as far as they where
possible to set. As we say im Germany: "I'm out of my latin" ;-)
>
> Any Ideas how to go on?
>
>>  >
>>  > I'm running a Lenovo ThinkCentre A58 with a ALC662 rev. 1 chip on
>> board. The mainboard has 3 jacks at the back of the PC and 2 ones at
>> it's front (mic and headphones).
>>  >
>>  > The problem is, that the connectors are not automatically arranged to
>> playback 5.1 surround sound. I must manually set the "model" to
>> "asusmode4" to get 5.1 and then run a script as root, to set the
>> backside jacks to output and to Center/LFE and rear speaker. Also I have
>> to mute the internal speaker.
>>  >
>>  > I've tried to patch the module manually, but this went wrong somehow.
>> I don't know how to proceed.
>>  >
>>  > So maybe you can help me and I can help you to complete the ALSA code
>> for this special mainboard/PC - hopefully.
>>  >
>>  > So long, I would thank you for your feedback.
>>  >
>>

For a desktop with/without internal speaker, three audio jacks at rear
panel

Green lineout jack , blue and pink jacks should have higher priority to
allocate DAC (audio output node 0x02, 0x03 and 0x04) than the headphone and
the internal speaker to support surround 5.1

This mean that in function parse_output_paths() to prevent the assignment
of dac speaker

-      bool fill_hardwired = true, fill_mio_first = true;
+       bool fill_hardwired = false, fill_mio_first = true;

Or use the existence of internal Mic to determine the value of
fill_hardwired

           reply	other threads:[~2013-02-02  1:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAN8ccibfTwamvMRBjh1tJEPnprgkoO-zE-uhwxPbFZBDghkZNA@mail.gmail.com>]

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=CAN8cciZZnf634aAvp06ivpKozu-YFj5jRjSufB8hEotzY2ZAaQ@mail.gmail.com \
    --to=superquad.vortex2@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=ruedi@battle-eggs.de \
    --cc=tiwai@suse.de \
    /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).