From owner-freebsd-current Thu Mar 16 23:20:14 2000 Delivered-To: freebsd-current@freebsd.org Received: from kbtfw.kubota.co.jp (kbtfw.kubota.co.jp [133.253.102.202]) by hub.freebsd.org (Postfix) with ESMTP id A848537BD54 for ; Thu, 16 Mar 2000 23:20:10 -0800 (PST) (envelope-from haro@tk.kubota.co.jp) Received: by kbtfw.kubota.co.jp; id QAA24267; Fri, 17 Mar 2000 16:20:02 +0900 (JST) Received: from unknown(133.253.122.1) by kbtfw.kubota.co.jp via smap (V4.2) id xma023987; Fri, 17 Mar 00 16:19:15 +0900 Received: from jkpc15.tk.kubota.co.jp ([192.168.7.250]) by kbtmx.eto.kubota.co.jp (8.9.3+3.2W/3.7W) with ESMTP id QAA27688; Fri, 17 Mar 2000 16:19:13 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by jkpc15.tk.kubota.co.jp (8.9.3/3.7W-02/21/99) with ESMTP id QAA01459; Fri, 17 Mar 2000 16:17:02 +0900 (JST) To: will@iki.fi Cc: darrylo@sr.hp.com, julian@elischer.org, freebsd-current@freebsd.org, haro@tk.kubota.co.jp Subject: Re: [sound] PCI ESS support In-Reply-To: <86itymyuz0.fsf@not.demophon.com> References: <200003161702.JAA23772@mina.sr.hp.com.newsgate.clinet.fi> <86itymyuz0.fsf@not.demophon.com> X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000317161702A.haro@tk.kubota.co.jp> Date: Fri, 17 Mar 2000 16:17:02 +0900 From: haro@tk.kubota.co.jp (Munehiro Matsuda) X-Dispatcher: imput version 990905(IM130) Lines: 46 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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