From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267957AbUIJWKp (ORCPT ); Fri, 10 Sep 2004 18:10:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267971AbUIJWKp (ORCPT ); Fri, 10 Sep 2004 18:10:45 -0400 Received: from open.hands.com ([195.224.53.39]:27789 "EHLO open.hands.com") by vger.kernel.org with ESMTP id S267957AbUIJWKn (ORCPT ); Fri, 10 Sep 2004 18:10:43 -0400 Date: Fri, 10 Sep 2004 23:21:55 +0100 From: Luke Kenneth Casson Leighton To: linux-kernel@vger.kernel.org Subject: CMedia CM9739 - sneaked in via some cheap via motherboards Message-ID: <20040910222155.GA19158@lkcl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.5.1+cvs20040105i X-hands-com-MailScanner: Found to be clean X-hands-com-MailScanner-SpamScore: s X-MailScanner-From: lkcl@lkcl.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org okay. some of the cheapest and yet not nastiest motherboards are beginning to become available, in the UK for £12 (KM400 chipsets) www.ebuyer.com. some of these contain CMedia CM9739 sound chips which are _supposed_ to be AC97. http://www.uwsg.iu.edu/hypermail/linux/kernel/0302.3/1283.html ... except the present (2.6.7) kernel code doesn't work. it _almost_ works - it just doesn't recognise the PCM slider. alsamixer can't set PCM kmix and kamix don't even _show_ PCM. which ain't much cop, really, cos no PCM means "no sound matey". so! with these chipsets likely to become more prevalent (trust me on this) and CMedia having an OSS AC97 driver [which according to above by alan differs from the linux one]... ... anyone want to have a go at helping me get this to work, at proxy? if so, what sort of information should i provide? i can get lspci's, listings of /proc/asound contents, i'm even reasonably incompetent (viz. "not enough fear") at hacking bits of kernel code. -- -- Truth, honesty and respect are rare commodities that all spring from the same well: Love. If you love yourself and everyone and everything around you, funnily and coincidentally enough, life gets a lot better. -- lkcl.net
lkcl@lkcl.net
From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268003AbUIJWtQ (ORCPT ); Fri, 10 Sep 2004 18:49:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268005AbUIJWtP (ORCPT ); Fri, 10 Sep 2004 18:49:15 -0400 Received: from the-village.bc.nu ([81.2.110.252]:24242 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S268003AbUIJWsN (ORCPT ); Fri, 10 Sep 2004 18:48:13 -0400 Subject: Re: CMedia CM9739 - sneaked in via some cheap via motherboards From: Alan Cox To: Luke Kenneth Casson Leighton Cc: Linux Kernel Mailing List In-Reply-To: <20040910222155.GA19158@lkcl.net> References: <20040910222155.GA19158@lkcl.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1094852761.18235.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 10 Sep 2004 22:46:04 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Gwe, 2004-09-10 at 23:21, Luke Kenneth Casson Leighton wrote: > it _almost_ works - it just doesn't recognise the PCM slider. > alsamixer can't set PCM > kmix and kamix don't even _show_ PCM. > > which ain't much cop, really, cos no PCM means "no sound matey". If I remember rightly the PCM on these is mute only. We fixed that for OSS it may be it didnt get propogated into ALSA or this is some new horrible variant. What we don't have is a fast software volume control in OSS, dunno if ALSA has one. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268088AbUIKKlt (ORCPT ); Sat, 11 Sep 2004 06:41:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268089AbUIKKlt (ORCPT ); Sat, 11 Sep 2004 06:41:49 -0400 Received: from open.hands.com ([195.224.53.39]:56470 "EHLO open.hands.com") by vger.kernel.org with ESMTP id S268088AbUIKKlr (ORCPT ); Sat, 11 Sep 2004 06:41:47 -0400 Date: Sat, 11 Sep 2004 11:52:53 +0100 From: Luke Kenneth Casson Leighton To: Alan Cox Cc: Linux Kernel Mailing List Subject: Re: CMedia CM9739 - sneaked in via some cheap via motherboards Message-ID: <20040911105251.GB19158@lkcl.net> References: <20040910222155.GA19158@lkcl.net> <1094852761.18235.2.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1094852761.18235.2.camel@localhost.localdomain> User-Agent: Mutt/1.5.5.1+cvs20040105i X-hands-com-MailScanner: Found to be clean X-hands-com-MailScanner-SpamScore: s X-MailScanner-From: lkcl@lkcl.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2004 at 10:46:04PM +0100, Alan Cox wrote: > On Gwe, 2004-09-10 at 23:21, Luke Kenneth Casson Leighton wrote: > > it _almost_ works - it just doesn't recognise the PCM slider. > > alsamixer can't set PCM > > kmix and kamix don't even _show_ PCM. > > > > which ain't much cop, really, cos no PCM means "no sound matey". > > If I remember rightly the PCM on these is mute only. We fixed that for > OSS it may be it didnt get propogated into ALSA or this is some new > horrible variant. What we don't have is a fast software volume control > in OSS, dunno if ALSA has one. oh dearie me, well this chip _is_ listed as an ac97->id == 0x434d4961 and no the sound ain't working. i'm going to pretend it does have PCM, see what happens... l. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268105AbUIKLgr (ORCPT ); Sat, 11 Sep 2004 07:36:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268097AbUIKLgr (ORCPT ); Sat, 11 Sep 2004 07:36:47 -0400 Received: from open.hands.com ([195.224.53.39]:49815 "EHLO open.hands.com") by vger.kernel.org with ESMTP id S268105AbUIKLfv (ORCPT ); Sat, 11 Sep 2004 07:35:51 -0400 Date: Sat, 11 Sep 2004 12:47:02 +0100 From: Luke Kenneth Casson Leighton To: Alan Cox Cc: Linux Kernel Mailing List Subject: Re: CMedia CM9739 - sneaked in via some cheap via motherboards Message-ID: <20040911114702.GA23783@lkcl.net> References: <20040910222155.GA19158@lkcl.net> <1094852761.18235.2.camel@localhost.localdomain> <20040911105251.GB19158@lkcl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040911105251.GB19158@lkcl.net> User-Agent: Mutt/1.5.5.1+cvs20040105i X-hands-com-MailScanner: Found to be clean X-hands-com-MailScanner-SpamScore: s X-MailScanner-From: lkcl@lkcl.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 11, 2004 at 11:52:52AM +0100, Luke Kenneth Casson Leighton wrote: > > If I remember rightly the PCM on these is mute only. We fixed that for > > OSS it may be it didnt get propogated into ALSA or this is some new > > horrible variant. What we don't have is a fast software volume control > > in OSS, dunno if ALSA has one. > > oh dearie me, well this chip _is_ listed as an ac97->id == 0x434d4961 > and no the sound ain't working. > > i'm going to pretend it does have PCM, see what happens... thanks alan because i wouldn't have known to look for the PCM switch if you hadn't mentioned it. my sincere apologies for taking up people's time on this one: a CMedia 9739 on a VIA V8235 motherboard _is_ supported... ... using kmix you just have to remember to flick all of the pretty little lights on, including the PCM "switch" which is of course on a different page. the defaults for aaaallllll switches and i mean every single one is yep, you guessed it: off. switch them on, and it works hunky-dory. the only thing i _would_ mention that's useful info is that i've set dxs_support=4 for the snd_via_82xx module: i notice some syslog comments asking people to report this one. l. -- -- Truth, honesty and respect are rare commodities that all spring from the same well: Love. If you love yourself and everyone and everything around you, funnily and coincidentally enough, life gets a lot better. -- lkcl.net
lkcl@lkcl.net