From owner-freebsd-multimedia Thu Jun 6 01:10:35 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA09587 for multimedia-outgoing; Thu, 6 Jun 1996 01:10:35 -0700 (PDT) Received: from rah.star-gate.com ([204.188.121.18]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA09582 for ; Thu, 6 Jun 1996 01:10:33 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.12) with ESMTP id BAA00381; Thu, 6 Jun 1996 01:09:25 -0700 Message-Id: <199606060809.BAA00381@rah.star-gate.com> X-Mailer: exmh version 1.6.5 12/11/95 To: Seppo Kallio cc: multimedia@freebsd.org Subject: gus pnp and FreeBSD 2.2 .... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Jun 1996 01:09:25 -0700 From: "Amancio Hasty Jr." Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ******************************************************* *****ONLY FOR PEOPLE NOT USING THE GUSPNP DRIVER******* ******************************************************* Can anyone who has the gus pnp driver working on 2.2 please send it to Seppo.... If you are running FreeBSD-2.2 , it is possible to init the gus pnp on DOS and then soft boot to FreeBSD and use the old GUS driver . The requirements to do this are: 1. You have to be able to initialize properly the GUS PnP on DOS and this means you got to have a motherboard with PnP support. You must use dma channels 1 , 2, or 3 on DOS. Your configuration for DOS must match the configuration on FreeBSD. Your configuration file should look like this: controller snd0 device gus0 at isa? port 0x220 irq 11 drq 1 flags 0x3 vector gusintr After proper initialization on DOS you must soft boot to FreeBSD in order to preserved the initialization state on the GUS PnP. If you power-cyle the machine, the GUS PnP will forget its activation and configuration. This is a correct behavior for PnP devices. -------- Note: At work, I failed to recognized my GUS PNP on FreeBSD with the old sound driver because the motherboard did not have proper PnP support. -------- 2. With the *old* sound driver on FreeBSD-2.2 , modify in gus_wave.c/gus_wave_init: { /* * It has the digital ASIC so the card is at least v3.4. * Next try to detect the true model. */ val = inb (u_MixSelect); /* * Value 255 means pre-3.7 which don't have mixer. * Values 5 thru 9 mean v3.7 which has a ICS2101 mixer. * 10 and above is GUS MAX which has the CS4231 codec/mixer. * */ val = 66; ^^^^^^^^^^^^^ Add the above line This simple patch will force the sound driver to say that the GUS PnP is a GUS MAX. If you don't have proper PnP support on your motherboard just simply wait for the guspnp driver to be released for FreeBSD-2.2-current Hope this helps, Amancio ------- Forwarded Message Return-Path: kallio@beeblebrox.cc.jyu.fi Received: from beeblebrox.cc.jyu.fi (beeblebrox.cc.jyu.fi [130.234.41.34]) by rah.star-gate.com (8.6.12/8.6.12) with ESMTP id AAA00175 for ; Thu, 6 Jun 1996 00:45:14 -0700 Received: (from kallio@localhost) by beeblebrox.cc.jyu.fi (8.7.5/8.7.3) id KAA01854; Thu, 6 Jun 1996 10:45:04 +0300 (EET DST) Date: Thu, 6 Jun 1996 10:45:03 +0300 (EET DST) From: Seppo Kallio To: "Amancio Hasty Jr." Subject: Re: rah is back on line... In-Reply-To: <199606060711.AAA01772@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 6 Jun 1996, Amancio Hasty Jr. wrote: > You don't have to boot DOS to enable the GUS PnP on FreeBSD. > > I can power down my machine and power it back up again and my system > will recognize the GUS PnP and activate it. You mean if you use the new pnp driver and FreeBSD 2.1? Can I configure gus pnp in DOS, power down and run it in FreeBSD 2.2-current at this moment? > This week I have been busy with work related stuff so probably > this weekend I will release the code for 2.2-current ------- End of Forwarded Message