ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] Звук на Laptop Amilo v2040
@ 2006-02-13  9:37 Dmytro Kovalskyy
  2006-02-13 10:02 ` Sergey Vlasov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dmytro Kovalskyy @ 2006-02-13  9:37 UTC (permalink / raw)
  To: hardware

Привет,

Есть такая машинка на которой стоит 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?

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

Дима



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-15 15:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-13  9:37 [Hardware] Звук на Laptop Amilo v2040 Dmytro Kovalskyy
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

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