From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 4 07:13:18 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19FA516A46B for ; Wed, 4 Jul 2007 07:13:18 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.com) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 773A613C458 for ; Wed, 4 Jul 2007 07:13:16 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.com) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.6.0) with ESMTP id md50000197997.msg for ; Wed, 04 Jul 2007 11:11:55 +0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 4 Jul 2007 11:14:26 +0400 Message-ID: <78664C02FF341B4FAC63E561846E3BCC0A13D8@ex.hhp.local> In-Reply-To: <483316d70706281009k13f2e37al2a05ea53b82c6e9a@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: snd_emu10kx patch (WAS: RE: SB Live 5.1 Digital - sysctl ?) thread-index: Ace5p3p1SeyJkyoPS9GZxuSdUDr0dQEYbWSg References: <483316d70706281009k13f2e37al2a05ea53b82c6e9a@mail.gmail.com> From: "Yuriy Tsibizov" To: X-Spam-Processed: mx2.gfk.ru, Wed, 04 Jul 2007 11:11:55 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.com X-Envelope-From: Yuriy.Tsibizov@gfk.com X-MDaemon-Deliver-To: freebsd-multimedia@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Wed, 04 Jul 2007 11:11:55 +0400 Subject: snd_emu10kx patch (WAS: RE: SB Live 5.1 Digital - sysctl ?) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 07:13:18 -0000 Dear SB Live! / Audigy users. I'm going to ask ariff to (ask re@ and) commit this patch before 7.0 release: http://chibis.persons.gfk.ru/audigy/snd_emu10kx_70_patch2 Update snd_emu10kx driver with recent perforce changes (and some other changes too). (without any real order) 1. Use device_get_nameunit for mutex naming 2. Add timer for low-latency playback 3. Move most mixer controls from sysctls to mixer(8) controls. This is a largest part of this patch. 4. Add analog/digital switch (as a temporary sysctl) 5. Get back support for low-bitrate playback (with help of (2)) 6. Change locking for exclusive I/O. Writing to non-PTR register is almost safe and does not need to be ordered with PTR operations. 7. Disable MIDI until we get it to detach properly and fix memory managment problems. 8. Enable multichannel playback by default. It is as stable as single-channel mode. Multichannel recording is still an experimental feature. 9. Add a way to disable card from a loader tunable. Tested on: emu10kx0: port 0x9000-0x903f irq 17 at device 9.0 on pci0 emu10kx0: [ITHREAD] emu10kx1: port 0x9400-0x941f irq 18 at device 10.0 on pci0 emu10kx1: [ITHREAD] emu10kx2: port 0x9c00-0x9c3f irq 19 at device 11.0 on pci0 emu10kx2: [ITHREAD] emu10kx3: port 0xa400-0xa41f irq 16 at device 12.0 on pci0 emu10kx3: [ITHREAD] pcm0: on emu10kx0 pcm0: pcm1: on emu10kx0 pcm2: on emu10kx0 pcm3: on emu10kx0 pcm4: on emu10kx0 pcm5: on emu10kx1 pcm5: pcm6: on emu10kx1 pcm7: on emu10kx1 pcm8: on emu10kx1 pcm9: on emu10kx2 pcm9: pcm10: on emu10kx2 pcm11: on emu10kx2 pcm12: on emu10kx2 pcm13: on emu10kx3 pcm13: pcm14: on emu10kx3 I need your feedback on: I) High-priority checks (that I can't do on my own equipment) -- digitally connected speakers, without SND_EMU10KX_MULTICHANNEL_DISABLED and with it. -- S/PDIF output to external receiver / amplifier 2) Overall driver stability. I did some crash-tests, it shouldn't crash your machine in few seconds after load :-) 3) Features you may need or features that are not user-friendly. 4) any unclear documentation Hope for your help, Yuriy