public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: linux-kernel@vger.kernel.org
Subject: Re: [2.6.0-test6] Troubles with ALSA via82xx
Date: Tue, 30 Sep 2003 12:06:52 +0200	[thread overview]
Message-ID: <s5hhe2ubner.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030929170437.GA805@dreamland.darkstar.lan>

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

At Mon, 29 Sep 2003 19:04:37 +0200,
Kronos wrote:
> 
> Hi,
> 
> I have trouble with linux-2.6.0-test6 and via82xx. With default
> parameters I'm unable to play sound. I've tracked down the problem to
> this change:
> 
>    - use dxs_support=3 (48k fixed) as default, since there are so many
>      problems with dxs_support=0.
> 
> Loading module I see this:
> 
> via82xx: Assuming DXS channels with 48k fixed sample rate.
>          Please try dxs_support=1 option and report if it works on your machine.
> PCI: Setting latency timer of device 0000:00:11.5 to 64

please try the attached patch?

--
Takashi Iwai <tiwai dot suse.de>		ALSA Developer - www.alsa-project.org

[-- Attachment #2: via8233a-fix.dif --]
[-- Type: application/octet-stream, Size: 909 bytes --]

diff -u -r1.60 via82xx.c
--- linux/sound/pci/via82xx.c	22 Sep 2003 10:10:29 -0000	1.60
+++ linux/sound/pci/via82xx.c	30 Sep 2003 10:02:13 -0000
@@ -2038,16 +2038,17 @@
 				break;
 			}
 		}
-		if (dxs_support[dev] == VIA_DXS_AUTO)
-			dxs_support[dev] = check_dxs_list(pci);
-		/* force to use VIA8233 or 8233A model according to
-		 * dxs_support module option
-		 */
-		if (dxs_support[dev] == VIA_DXS_DISABLE)
-			chip_type = TYPE_VIA8233A;
-		else
-			chip_type = TYPE_VIA8233;
-
+		if (chip_type != TYPE_VIA8233A) {
+			if (dxs_support[dev] == VIA_DXS_AUTO)
+				dxs_support[dev] = check_dxs_list(pci);
+			/* force to use VIA8233 or 8233A model according to
+			 * dxs_support module option
+			 */
+			if (dxs_support[dev] == VIA_DXS_DISABLE)
+				chip_type = TYPE_VIA8233A;
+			else
+				chip_type = TYPE_VIA8233;
+		}
 		if (chip_type == TYPE_VIA8233A)
 			strcpy(card->driver, "VIA8233A");
 		else

  reply	other threads:[~2003-09-30 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-29 17:04 [2.6.0-test6] Troubles with ALSA via82xx Kronos
2003-09-30 10:06 ` Takashi Iwai [this message]
2003-09-30 14:27   ` Kronos

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=s5hhe2ubner.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox