All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: tsw@johana.com
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: M-Audio Revolution 7.1 card hangups
Date: Wed, 10 Sep 2003 19:59:05 +0200	[thread overview]
Message-ID: <s5hk78gbk46.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030910173025.76994.qmail@web21512.mail.yahoo.com>

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

At Wed, 10 Sep 2003 10:30:25 -0700 (PDT),
Tom Watson wrote:
> 
> I just got one of these, and after converting my audio to 32 bits
> (necessary for the card) I got SOME sound out of it.
> 
> I have a couple of problems:
> 1) While the peak meters indicate that something IS there, try as I
> might, I can't get audio out of the card from anywhere but the first 2
> channels.  All the mixer controls in 'alsamixer' are up, and the two
> that control the first 2 channels DO work, but NO audio from the other
> channels.  The program I'm using DID work on another audio card with
> more than two channels.  The problem seems to be some dumb
> configuration thing.  Do I need to light this card up on a Windoze
> machine to set the EEPROM or something??

most likely a bug in the accessing to ak4355 codec.

> 2) I use 'alsamixer'.  Works fine.  One problem:  When I set the
> conversion rate to the SPDIF clock (it has another name IEC...) IT
> LOCKS AND STAYS THERE.  No amount of diddling in 'alsamixer' yields
> anything.  To get around this I revert back to an older setting (it is
> a long process) saved with 'alsactl' after a reboot.  While I have
> learned my lesson (DON'T DO THAT!), the behavior is not too good.

ok, that's easy.  please apply the patch attached.


> Note:  The card is 'fresh', and hasn't been in a Windows environment
> (if that means anything).

could you check whether the surround works on windows?


Takashi

[-- Attachment #2: ice1724-lock-fix.dif --]
[-- Type: application/octet-stream, Size: 786 bytes --]

Index: alsa-kernel/pci/ice1712/ice1724.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/ice1712/ice1724.c,v
retrieving revision 1.17
diff -u -r1.17 ice1724.c
--- alsa-kernel/pci/ice1712/ice1724.c	10 Sep 2003 16:20:03 -0000	1.17
+++ alsa-kernel/pci/ice1712/ice1724.c	10 Sep 2003 17:54:42 -0000
@@ -382,11 +382,6 @@
 		return;
 	}
 
-	if (rate == ice->cur_rate) {
-		spin_unlock_irqrestore(&ice->reg_lock, flags);
-		return;
-	}
-
 	switch (rate) {
 	case 8000: val = 6; break;
 	case 9600: val = 3; break;
@@ -409,6 +404,11 @@
 		break;
 	}
 	outb(val, ICEMT1724(ice, RATE));
+	if (rate == ice->cur_rate) {
+		spin_unlock_irqrestore(&ice->reg_lock, flags);
+		return;
+	}
+
 	ice->cur_rate = rate;
 
 	/* check MT02 */

  reply	other threads:[~2003-09-10 17:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 17:30 M-Audio Revolution 7.1 card hangups Tom Watson
2003-09-10 17:59 ` Takashi Iwai [this message]
     [not found]   ` <5.1.0.14.1.20030911083510.03a91120@pop3.infotecna.lcl>
2003-09-11  9:22     ` Takashi Iwai
     [not found] <E19xB9b-00044R-00@sc8-sf-list2.sourceforge.net>
2003-09-10 21:37 ` Tom Watson
     [not found] <E19xKBy-0005gx-00@sc8-sf-list2.sourceforge.net>
2003-09-11  6:26 ` Tom Watson
2003-09-11  9:20   ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2003-09-11  6:41 Denis Sbragion

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=s5hk78gbk46.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tsw@johana.com \
    /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.