From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Timofei V. Bondarenko" Subject: Re: cmipci CM_FLINKOFF disables multinchannel playback Date: Mon, 29 Oct 2007 20:01:40 +0300 Message-ID: <472611F4.1040703@ipi.ac.ru> References: <4725EAB8.9070804@ipi.ac.ru> <1193675922.7613.1218416245@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from ipi.ac.ru (blackpeer.ipi.ac.ru [83.149.227.82]) by alsa0.perex.cz (Postfix) with ESMTP id 5BEAB24445 for ; Mon, 29 Oct 2007 18:01:41 +0100 (CET) In-Reply-To: <1193675922.7613.1218416245@webmail.messagingengine.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Clemens Ladisch wrote: > Timofei V. Bondarenko wrote: >> I found the latest cmipci driver cannot playback in multichannel mode >> anymore. >> >> My hardware is 'CMI8738 model 55' attempting to play 2 or 4 channels >> through the 2nd DAC i get no sound at all. 6 ch produces sound only at >> center/bass while front and rear still mute. >> >> I found the root of problem in redefinition of some bits of the >> CM_REG_MISC_CTRL (0x18) register. >> Was: CM_FLINKON=0x40, CM_FLINKOFF=0x20 >> Now it is: CM_FLINKON=0x80 CM_FLINKOFF=0x40 >> >> Note the CM_FLINKOFF does collide with the CM_MUTECH1=0x40 bit. >> This bit disables playback on 2nd DAC. >> >> The CM_FLINKOFF/CM_FLINKON bits used in the 'Modem' mixer control only. >> During startup the mixer turns the modem off somewhere and this disables >> 2nd DAC as well. >> >> Complete removal of this 'Modem' control fixes the problem. > > Do you have any information about the exact chip version where this > change happened? It appears chip versions 39 and newer don't have > a modem. No. I'm talking not about chip versions. The definitions was changed in the cmipci driver code. In the patch named 'cmipci: update register definitions' about 18th september. My card certainly have no modem. But the driver creates almost dummy 'Modem' control. I suggested to remove it just because i see no use of this control other than flipping 2 bits in CM_REG_MISC_CTRL. Regards, Tim.