From owner-freebsd-current Sun Mar 19 5:35:28 2000 Delivered-To: freebsd-current@freebsd.org Received: from crap.31337.net (p.funk.org [194.109.61.126]) by hub.freebsd.org (Postfix) with ESMTP id 2ED2F37B65B for ; Sun, 19 Mar 2000 05:35:04 -0800 (PST) (envelope-from alexlh@crap.31337.net) Received: (from alexlh@localhost) by crap.31337.net (8.9.3/8.9.1) id OAA71659; Sun, 19 Mar 2000 14:27:01 +0100 (CET) (envelope-from alexlh) Date: Sun, 19 Mar 2000 14:26:52 +0100 From: Alex Le Heux To: Munehiro Matsuda Cc: will@iki.fi, darrylo@sr.hp.com, julian@elischer.org, freebsd-current@FreeBSD.ORG Subject: Re: [sound] PCI ESS support Message-ID: <20000319142651.C67290@funk.org> References: <200003161702.JAA23772@mina.sr.hp.com.newsgate.clinet.fi> <86itymyuz0.fsf@not.demophon.com> <20000317161702A.haro@tk.kubota.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20000317161702A.haro@tk.kubota.co.jp>; from Munehiro Matsuda on Fri, Mar 17, 2000 at 04:17:02PM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I believe I've got one of these in my Toshiba 4090XCDDT as well. (device id 1978?) It's running 4.0 at the moment. If I should test anything, let me know. Alex On Fri, Mar 17, 2000 at 04:17:02PM +0900, Munehiro Matsuda wrote: > From: Ville-Pertti Keinonen > Date: 17 Mar 2000 08:24:51 +0200 > ::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). > > Well, it's not that simple. > When I tried to write driver for it last year, I found that: > 1) You also need to setup ASSP (Application Specific Signal Processor) > in the chip and GPIO properly. > > Source code for BTM2E.EXE should be a help here. > (I didn't have that source, when I was tryng to write the driver.) > > 2) For DMA to work, you need to support DDMA in FreeBSD. > > I have small patch for 3-stable, but will not work with -current > due to newbus changes. > > 3) When Maestro2E acts as Soundblaster Pro emulation, DSP_CMD_GETVER > returns 0x302 (or may be it was 0x303?), that are not supported in > newpcm and luigi's pcm drivers. > > May be the current support for ver=0x301 work? I have no clue here. > > > If I get the time, I could try to write from scratch, again. > > Haro > =------------------------------------------------------------------------------ > _ _ Munehiro (haro) Matsuda > -|- /_\ |_|_| Office of Business Planning & Development, Kubota Corp. > /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome > Chuo-ku Tokyo 103, Japan > Tel: +81-3-3245-3318 Fax: +81-3-32454-3315 > Email: haro@tk.kubota.co.jp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- GCS/O d+++ s++;- a- C+++ UB++++$ !P L- !E W+ N++ o+ K w O M-- V-- PS+++ PE Y+ PGP++ t+ 5 X-- R* tv- b+++(++++) DI++ D+ G e+ h r++ y++ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message