From owner-freebsd-current Thu Mar 16 22:35: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from not.demophon.com (vpn.iscape.fi [195.170.146.67]) by hub.freebsd.org (Postfix) with ESMTP id AB62137BD54 for ; Thu, 16 Mar 2000 22:34:55 -0800 (PST) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id IAA87968; Fri, 17 Mar 2000 08:24:51 +0200 (EET) (envelope-from will) To: Darryl Okahata Cc: julian@elischer.org, haro@tk.kubota.co.jp, freebsd-current@freebsd.org Subject: Re: [sound] PCI ESS support References: <200003161702.JAA23772@mina.sr.hp.com.newsgate.clinet.fi> From: Ville-Pertti Keinonen Date: 17 Mar 2000 08:24:51 +0200 In-Reply-To: Darryl Okahata's message of "16 Mar 2000 19:03:39 +0200" Message-ID: <86itymyuz0.fsf@not.demophon.com> Lines: 22 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Darryl Okahata writes: > Well, I was going to take Ville-Pertti Keinonen's (will@iki.fi) > ESS2 mixer code and turn it into an LKM, which I'd then try to add sound > output using the Linux code. However, I'm not familiar with how one > accesses interrupts and DMA under FreeBSD, and so it would take me a > while. If anyone else would like to do it, that's fine with me. Another (perhaps simpler) alternative might be to try to get it to work in SB emulation mode. I've managed to get it to probe as a SoundBlaster (just by adding pci_write_config(dev, 0x41, 0x10, 1) to the probe code in my mixer driver): sbc0: at port 0x220-0x22f irq 5 drq 1 on isa0 However, it doesn't work (the interfaces seem to work, but the mixer settings don't affect anything and playback doesn't get anywhere) and I still haven't had time to look at it properly (and don't expect to any time soon). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message