From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 29 23:01:03 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FC6016A420 for ; Tue, 29 Nov 2005 23:01:03 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7656043D67 for ; Tue, 29 Nov 2005 23:01:01 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id jATN0pIb003871 for ; Wed, 30 Nov 2005 01:00:51 +0200 (EET) (envelope-from dmitry@atlantis.dp.ua) Date: Wed, 30 Nov 2005 01:00:51 +0200 (EET) From: Dmitry Pryanishnikov To: freebsd-multimedia@freebsd.org In-Reply-To: <20051108140901.N72203@atlantis.atlantis.dp.ua> Message-ID: <20051130000814.S83128@atlantis.atlantis.dp.ua> References: <20051108140901.N72203@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: ICH6-M audio support for ASUS notebook X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2005 23:01:03 -0000 Hello! On Tue, 8 Nov 2005, Dmitry Pryanishnikov wrote: > I'm going to buy a notebook and trying to decide what chipset it should be > built on. Vast majority of Intel-based Centrinos are built on 915GM + ICH6-M > (Alviso) chipset. As I've read in datasheet ICH6-M contains two different > sound engines: good old AC97 and new Intel's "High Definition audio" > (which AFAIK isn't supported by our sound driver). Engines can't work > together, only one of them can be enabled. I know that our sound driver I'm replying to my own message in order to get this information recorded (and to attract sound system developers attention). I've bought an ASUS M5A notebook, based on Intel 915GM + ICH6-M, and it _doesn't_ work with FreeBSD's sound system. This notebook doesn't present AC97 audio device to the system, it presents HDA instead. Moreover, it seems that this can't be changed by the OS. I've found the chipset register (FD - Function Disable Register), which controls "disabled" status of different part of ICH6-M. Alas, Intel's document says: When a function is disabled, software must not attempt to re-enable it. A disabled function can only be re-enabled by a platform reset. And it seems to be sad, but true: I've managed to clear bits in this register, which disable AC97 audio (device 30 : function 2 of ICH6-M) and AC97 modem (device 30 : function 3), and set bit which disables HDA (device 27 : function 0). So yes, HDA registers have disappered. And no, AC97 registers haven't appered. So it seems that at least on ASUS M5A there are no easy ways to use AC97 sound engine, and FreeBSD's sound driver must support Intel's HDA in order to work on this platform. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE