From owner-freebsd-multimedia Thu Aug 14 16:38:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA21462 for multimedia-outgoing; Thu, 14 Aug 1997 16:38:49 -0700 (PDT) Received: from www2.shoppersnet.com (shoppersnet.com [204.156.152.112]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA21456 for ; Thu, 14 Aug 1997 16:38:45 -0700 (PDT) Received: (from hlew@localhost) by www2.shoppersnet.com (8.8.5/8.8.5) id QAA09976; Thu, 14 Aug 1997 16:43:44 -0700 (PDT) Date: Thu, 14 Aug 1997 16:43:44 -0700 (PDT) From: Howard Lew To: Luigi Rizzo cc: multimedia@FreeBSD.ORG Subject: Re: snd970814.tgz In-Reply-To: <199708140920.LAA06216@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Okay, I just had a chance to throw this in for a compile. I have to say it is looking much better. There is a hang though... dunno if it has to do with the dma stuff. PNP Probe in dmesg shows: Aug 14 16:24:44 shell /kernel: Probing for PnP devices: Aug 14 16:24:44 shell /kernel: Trying Read_Port at 203 Aug 14 16:24:44 shell /kernel: CSN 1 Vendor ID: OPT0925 [0x2509143e] Serial 0xffffffff Aug 14 16:24:44 shell /kernel: port 0x0330 0x0000 0x0000 0x0000 irq 9:0 drq 4:4 Aug 14 16:24:44 shell /kernel: port 0x0000 0x0000 0x0000 0x0000 irq 0:0 drq 4:4 Aug 14 16:24:44 shell /kernel: port 0x0220 0x0000 0x0000 0x0f0d irq 0:0 drq 4:4 Aug 14 16:24:44 shell /kernel: mss_attach 1 at 0x21c irq 0 dma 4:0 flags 0x10010 Aug 14 16:24:44 shell /kernel: dev 0 reg 22 old 0xff new 0x43 Aug 14 16:24:44 shell /kernel: dev 3 reg 4 old 0xff new 0x65 Aug 14 16:24:44 shell /kernel: dev 4 reg 6 old 0xff new 0x66 Aug 14 16:24:44 shell /kernel: dev 6 reg 18 old 0xff new 0x6d Aug 14 16:24:44 shell /kernel: dev 7 reg 0 old 0xff new 0xff Aug 14 16:24:44 shell /kernel: dev 8 reg 2 old 0xff new 0x65 Aug 14 16:24:44 shell /kernel: dev 12 reg 0 old 0xff new 0xf9 Aug 14 16:24:44 shell /kernel: OPTi9311 rev 0xffffffff io 0x021c intr 0 id 14 Aug 14 16:24:44 shell /kernel: Probing for devices on the ISA bus: and... Aug 14 16:24:44 shell /kernel: pcm0 at 0xffff irq 5 drq 1 mem 0x 0 flags 0x13 en 1 confl 0 Aug 14 16:24:44 shell /kernel: mss_probe: no address supplied, try default 0x0530 Aug 14 16:24:44 shell /kernel: I/O address inactive (ff), try pseudo_mss Aug 14 16:24:44 shell /kernel: sb_probe: no address supplied, try defaults (0x220,0x240) Aug 14 16:24:44 shell /kernel: pcm0 at 0x220 irq 5 drq 1 flags 0x13 on isa The mss_attach above looks suspicious. FreeBSD 2.2.2 also hangs on bootup just when it is supposed to start all those daemons. It stops right after completing the hard drive probe. I can hear the hard drive rattle, but unlike before, it does not show any more messages on the screen. And then all of a sudden hangs. Luigi, is there a way to choose between MSS or SB emulation on these Opti chipsets? I was looking at the Opti 925 spec sheet and there is even mention about SB 4.4 mode operation on the chip (Is that SB 16 emulation?) and OPL4... It would be nice if MSS (16 bit) was chosen as the default for these compatibles or have an option to set it because SB Pro is only 8 bit sound. > > This new snap is smaller than the previous since I have removed > all the currently unused pieces, and somewhat simplified the code. > The driver is now just five C source files plus five include files. > Two more files are used for PnP support. See the README file for more > news on what has changed since the previous snap. much smaller.... > > I have added drivers for nas and vat working in full duplex, and > a couple of utility programs. The documentation has been updated, > and now includes a section on PnP stuff. > > I have tested the driver a lot with the CS4236, while no changes have > been made to the SB version. I am currently working on the OPTI931, > which seems to work in playback, but gives me some trouble in capture > mode (probably some stupid mistake on my side, since I am getting too > many interrupts). Next snap will be available on Aug.22 > > Cheers > Luigi > -----------------------------+-------------------------------------- > Luigi Rizzo | Dip. di Ingegneria dell'Informazione > email: luigi@iet.unipi.it | Universita' di Pisa > tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) > fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ > _____________________________|______________________________________ > --------------------------------------------------------------------------- Shoppers Network (Support) AMD K5/K6s, Cyrix 6x86, Intel Pentiums/Pro Phone: (415) 759-8584 Email: howard@shoppersnet.com ==============================> WWW - http://www.shoppersnet.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~