ALT Linux hardware support
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: hardware@altlinux.ru
Subject: Re: [Hardware] Звук на Laptop Amilo v2040
Date: Mon, 13 Feb 2006 13:02:53 +0300
Message-ID: <20060213100253.GA2224@master.mivlgu.local> (raw)
In-Reply-To: <200602131137.12774.D.Kovalskyy@enamine.net>

[-- Attachment #1: Type: text/plain, Size: 1995 bytes --]

On Mon, Feb 13, 2006 at 11:37:12AM +0200, Dmytro Kovalskyy wrote:
> Есть такая машинка на которой стоит Intel High Definition Audio.
> Установил компакт 3.0, и поднялись драйвера звуковой карты нормально 
[skip]
> ...однако звука в колонках таки нет.
> 
> После копания в инете
> нашел (http://student.fiit.stuba.sk/~kotuc04/suse/), что это лечится путем 
> наложения патча
> 
> --- sound/pci/hda/hda_codec.c.old 2005-11-17 07:08:51.000000000 +0100
> +++ sound/pci/hda/hda_codec.c 2005-11-17 07:21:05.000000000 +0100
> @@ -1704,15 +1704,6 @@
>   if (mout->hp_nid)
>    /* headphone out will just decode front left/right (stereo) */
>    snd_hda_codec_setup_stream(codec, mout->hp_nid, stream_tag, 0, format);
> - /* surrounds */
> - for (i = 1; i < mout->num_dacs; i++) {
> -  if (chs >= (i + 1) * 2) /* independent out */
> -   snd_hda_codec_setup_stream(codec, nids[i], stream_tag, i * 2,
> -         format);
> -  else /* copy front */
> -   snd_hda_codec_setup_stream(codec, nids[i], stream_tag, 0,
> -         format);
> - }
>   return 0;
>  }
>  
> @@ -1724,10 +1715,9 @@
>   hda_nid_t *nids = mout->dac_nids;
>   int i;
>  
> - for (i = 0; i < mout->num_dacs; i++)
> -  snd_hda_codec_setup_stream(codec, nids[i], 0, 0, 0);
>   if (mout->hp_nid)
>    snd_hda_codec_setup_stream(codec, mout->hp_nid, 0, 0, 0);
> + snd_hda_codec_setup_stream(codec, nids[HDA_FRONT], 0, 0, 0);
>   down(&codec->spdif_mutex);
>   if (mout->dig_out_nid && mout->dig_out_used == HDA_DIG_ANALOG_DUP) {
>    snd_hda_codec_setup_stream(codec, mout->dig_out_nid, 0, 0, 0);
> 
> правда для версии алсы 1.0.10.
> 
> У меня вопрос к мейнтенерам модулей ядра. А можно ли надеяться что выпустят 
> пропатченную версию алсового модуля для Компакта 3.0?

С таким патчем - нет (этот патч просто отключает поддержку
4/6/8-канального звука; почему после этого появляется звук на этом
ноутбуке - непонятно).  Нужно найти способ исправить эту проблему, не
ломая ничего другого.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-02-13 10:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13  9:37 Dmytro Kovalskyy
2006-02-13 10:02 ` Sergey Vlasov [this message]
2006-02-13 11:38   ` Dmytro Kovalskyy
2006-02-13 12:39     ` [Hardware] " Anton Farygin
2006-02-14 13:20       ` Michael Shigorin
2006-02-14 13:41         ` Dmytro Kovalskyy
2006-02-14  9:00 ` [Hardware] " Dmytro Kovalskyy
2006-02-15 15:40 ` И все таки звук есть!!! (was Re: [Hardware] Звук на Laptop Amilo v2040) Dmytro Kovalskyy

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=20060213100253.GA2224@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=hardware@altlinux.ru \
    /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

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git