All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Crash <mike@mikecrash.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH] hda: support for S/PDIF out on ASUS M2V
Date: Sun, 24 Jun 2007 11:06:40 +0200	[thread overview]
Message-ID: <467E3420.9060303@mikecrash.com> (raw)

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

Added support for S/PDIF digital output on ASUS M2V motheboard - added 
new model "3stack-660-digout" and ALC660VD_3ST_DIG

Apply to 1.0.14 driver file patch_realtek.c

Signed-off-by: Mike Crash <mike@mikecrash.com>


[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 1540 bytes --]

*** patch_realtek.c	2007-06-04 09:28:54.000000000 +0200
--- patch_realtek2.c	2007-06-16 21:46:14.000000000 +0200
*************** enum {
*** 117,118 ****
--- 117,119 ----
  	ALC660VD_3ST,
+ 	ALC660VD_3ST_DIG,
  	ALC861VD_3ST,
*************** static const char *alc861vd_models[ALC86
*** 9466,9467 ****
--- 9467,9469 ----
  	[ALC660VD_3ST]		= "3stack-660",
+ 	[ALC660VD_3ST_DIG]= "3stack-660-digout",
  	[ALC861VD_3ST]		= "3stack",
*************** static struct snd_pci_quirk alc861vd_cfg
*** 9477,9479 ****
  	SND_PCI_QUIRK(0x1043, 0x1339, "Asus G1", ALC660VD_3ST),
! 	SND_PCI_QUIRK(0x1043, 0x81e7, "ASUS", ALC660VD_3ST),
  	SND_PCI_QUIRK(0x10de, 0x03f0, "Realtek ALC660 demo", ALC660VD_3ST),
--- 9479,9481 ----
  	SND_PCI_QUIRK(0x1043, 0x1339, "Asus G1", ALC660VD_3ST),
! 	SND_PCI_QUIRK(0x1043, 0x81e7, "ASUS", ALC660VD_3ST_DIG),
  	SND_PCI_QUIRK(0x10de, 0x03f0, "Realtek ALC660 demo", ALC660VD_3ST),
*************** static struct alc_config_preset alc861vd
*** 9501,9502 ****
--- 9503,9517 ----
  	},
+ 	[ALC660VD_3ST_DIG] = {
+ 		.mixers = { alc861vd_3st_mixer },
+ 		.init_verbs = { alc861vd_volume_init_verbs,
+ 				 alc861vd_3stack_init_verbs },
+ 		.num_dacs = ARRAY_SIZE(alc660vd_dac_nids),
+ 		.dac_nids = alc660vd_dac_nids,
+ 		.dig_out_nid = ALC861VD_DIGOUT_NID,
+ 		.num_adc_nids = ARRAY_SIZE(alc861vd_adc_nids),
+ 		.adc_nids = alc861vd_adc_nids,
+ 		.num_channel_mode = ARRAY_SIZE(alc861vd_3stack_2ch_modes),
+ 		.channel_mode = alc861vd_3stack_2ch_modes,
+ 		.input_mux = &alc861vd_capture_source,
+ 	},
  	[ALC861VD_3ST] = {

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

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

             reply	other threads:[~2007-06-24  9:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-24  9:06 Mike Crash [this message]
2007-06-25 10:23 ` [PATCH] hda: support for S/PDIF out on ASUS M2V Takashi Iwai

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=467E3420.9060303@mikecrash.com \
    --to=mike@mikecrash.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.