From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: M-Audio Revolution 7.1 card hangups Date: Wed, 10 Sep 2003 19:59:05 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030910173025.76994.qmail@web21512.mail.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Wed_Sep_10_19:59:05_2003-1" Return-path: In-Reply-To: <20030910173025.76994.qmail@web21512.mail.yahoo.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: tsw@johana.com Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Wed_Sep_10_19:59:05_2003-1 Content-Type: text/plain; charset=US-ASCII 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 --Multipart_Wed_Sep_10_19:59:05_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="ice1724-lock-fix.dif" Content-Transfer-Encoding: 7bit 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 */ --Multipart_Wed_Sep_10_19:59:05_2003-1-- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf