Skip to contentSkip to conversation

vt1617a build ops

PATCH Daniel Jacobowitz 2 participants 4 messages Jan 12, 2007 Sound

lore
Share & tools
lore
#0 lore raw

This patch connects the extra vt1616 controls for the vt1617a, which is necessary to control the rear speakers on e.g. a Shuttle SN25P.

sound/pci/ac97/ac97_patch.c +1 -0
index e813968..025a60e 100644
@@ -2821,6 +2823,7 @@ int patch_vt1617a(struct snd_ac97 * ac97)
 	snd_ac97_write_cache(ac97, 0x5c, 0x20);
 	ac97->ext_id |= AC97_EI_SPDIF;	/* force the detection of spdif */
 	ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000;
+	ac97->build_ops = &patch_vt1616_ops;
 	return 0;
 }
 
Signature · 8 lines
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#1 lore raw

At Fri, 12 Jan 2007 11:36:29 -0500,

Quoted 5 lines · Daniel Jacobowitz

This patch connects the extra vt1616 controls for the vt1617a, which is necessary to control the rear speakers on e.g. a Shuttle SN25P.

Can this be applied independently from your ganged controls patch, right?

Takashi

Quoted 28 lines
sound/pci/ac97/ac97_patch.c +1 -0
index e813968..025a60e 100644
@@ -2821,6 +2823,7 @@ int patch_vt1617a(struct snd_ac97 * ac97)
 	snd_ac97_write_cache(ac97, 0x5c, 0x20);
 	ac97->ext_id |= AC97_EI_SPDIF;	/* force the detection of spdif */
 	ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000;
+	ac97->build_ops = &patch_vt1616_ops;
 	return 0;
 }
 
Signature · 13 lines
-- 
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw
Quoted 10 lines · Takashi Iwai

At Fri, 12 Jan 2007 11:36:29 -0500,

Quoted 5 lines · Daniel Jacobowitz

This patch connects the extra vt1616 controls for the vt1617a, which is necessary to control the rear speakers on e.g. a Shuttle SN25P.

Can this be applied independently from your ganged controls patch, right?

Yes, it just adds the new controls (Alternate Level to Surround Out, Downmix LFE and Center to Front, Downmix Surround to Front). Then you can fix them; the default power-on settings are wrong for 5.1.

Signature · 8 lines
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#3 lore raw

At Fri, 12 Jan 2007 12:43:39 -0500,

Quoted 8 lines · Daniel Jacobowitz
Quoted 6 lines · Takashi Iwai

At Fri, 12 Jan 2007 11:36:29 -0500,

Quoted 4 lines · Daniel Jacobowitz

This patch connects the extra vt1616 controls for the vt1617a, which is necessary to control the rear speakers on e.g. a Shuttle SN25P.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Can this be applied independently from your ganged controls patch, right?

Yes, it just adds the new controls (Alternate Level to Surround Out, Downmix LFE and Center to Front, Downmix Surround to Front). Then you can fix them; the default power-on settings are wrong for 5.1.

OK, now applied to ALSA tree. Thanks!

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV