From owner-freebsd-current@FreeBSD.ORG Tue Jul 12 18:31:44 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A79916A4C6 for ; Tue, 12 Jul 2005 18:31:44 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2476E43D45 for ; Tue, 12 Jul 2005 18:31:44 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Tue, 12 Jul 2005 14:45:17 -0400 From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 12 Jul 2005 10:44:00 -0400 User-Agent: KMail/1.8 References: <4.3.2.7.2.20050711135352.01edd3f0@mail.qconline.com> <4.3.2.7.2.20050711160009.01f96420@mail.qconline.com> In-Reply-To: <4.3.2.7.2.20050711160009.01f96420@mail.qconline.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507121044.01574.jhb@FreeBSD.org> Cc: Harry Coin , Nate Lawson Subject: Re: mss.c pcm fix to ' attach returned 6 ' load failure for v5.x acpi and up X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 18:31:44 -0000 On Monday 11 July 2005 05:20 pm, Harry Coin wrote: > John, > > 1) Indeed the mss driver just ignores the further logical devices the chip > offers -- which is most likely the right thing to do. > Logical device 0 is the WSS codec, Synthesizer, and alternate Sound Blaster > pro interface. Handled by MSS.c > Logical device 1 is a game port. 2 is a 'master chip control' device > (defaults all are ok I think). 3 is an MPU-401 midi, 4 (not enabled) is a > CD Rom controller, 5 (not enabled) is a modem. The data sheet for the > CS4236B is available online. I'll send it as a private attachment in an > email. > > 3) Give me a clue or a doc ref about how to apply the RCS / diff patch you > sent me. There's a 'patch' command to apply patches, but after looking at your acpidump, it wouldn't fix the problem anyway. Now, when ACPI is enabled, the pnpmss driver doesn't probe the device IIRC? It may be that when ACPI is being used, support for ISA PnP cards is just completely broken and mss(4)'s hacks in its non-PnP attachment happent to sort of work by accident. In fact, this device really shouldn't be attaching to ACPI at all. All ACPI devices have PNP IDs. Can you try this patch instad of the earlier one? Index: mss.c =================================================================== RCS file: /usr/cvs/src/sys/dev/sound/isa/mss.c,v retrieving revision 1.95 diff -u -r1.95 mss.c --- mss.c 27 Feb 2005 23:32:21 -0000 1.95 +++ mss.c 12 Jul 2005 14:34:55 -0000 @@ -1883,7 +1883,6 @@ }; DRIVER_MODULE(snd_mss, isa, mss_driver, pcm_devclass, 0, 0); -DRIVER_MODULE(snd_mss, acpi, mss_driver, pcm_devclass, 0, 0); MODULE_DEPEND(snd_mss, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER); MODULE_VERSION(snd_mss, 1); -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org