ALT Linux hardware support
 help / color / mirror / Atom feed
From: Dmytro Kovalskyy <D.Kovalskyy@enamine.net>
To: hardware@lists.altlinux.org
Subject: [Hardware] Звук на Laptop Amilo v2040
Date: Mon, 13 Feb 2006 11:37:12 +0200
Message-ID: <200602131137.12774.D.Kovalskyy@enamine.net> (raw)

Привет,

Есть такая машинка на которой стоит Intel High Definition Audio.
Установил компакт 3.0, и поднялись драйвера звуковой карты нормально 

snd_hda_intel          16768  1
snd_hda_codec          68736  1 snd_hda_intel
snd_pcm_oss            51744  0
snd_seq_dummy           3972  0
snd_seq_oss            33024  0
snd_seq_midi_event      7040  1 snd_seq_oss
snd_seq                49296  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          8716  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_mixer_oss          18048  1 snd_pcm_oss
snd_pcm                85384  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              23812  2 snd_seq,snd_pcm
snd                    53636  12 
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9184  1 snd
snd_page_alloc          9860  2 snd_hda_intel,snd_pcm

...однако звука в колонках таки нет.

После копания в инете
нашел (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?

Заранее спасибо,

Дима



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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13  9:37 Dmytro Kovalskyy [this message]
2006-02-13 10:02 ` Sergey Vlasov
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=200602131137.12774.D.Kovalskyy@enamine.net \
    --to=d.kovalskyy@enamine.net \
    --cc=hardware@altlinux.ru \
    --cc=hardware@lists.altlinux.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

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