From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 4 11:21:28 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 CCBAC16A421 for ; Wed, 4 Jul 2007 11:21:28 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 5615E13C45A for ; Wed, 4 Jul 2007 11:21:28 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so310004uge for ; Wed, 04 Jul 2007 04:21:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type; b=eVbXvx4W6ukBQcOE+uWSs0tOy31jInXSG0yGUtjUGjhi3U+JGITiEjHGd/izXP3xsnoQYBd6UtBEyAT4xCP4jT3b2Qu4SmwVM4KFLcBKjSnUocXuh6DjHLOEHQ8PplLcur+qvdgBeCoC5hQ/suo6up+T5vWdbmakDmlEg4mva1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type; b=eBS7kasIgD+idT5eVdFnGcNjXujntoUBUqWloURL628vz386Z/02rO+xHlbm6TqHN+wOFT9Dkn/xLEPdKJQrGP1QF0Tijng8AJk9oogXBrAAGTcU6p6WlE24IV44JBjPB5iLIffOCc1qscGwgo9jNObBDRQfhorRrEq5UO4SK40= Received: by 10.66.216.8 with SMTP id o8mr1080576ugg.1183546458612; Wed, 04 Jul 2007 03:54:18 -0700 (PDT) Received: from persephone.orchid.homeunix.org ( [84.10.173.180]) by mx.google.com with ESMTP id a37sm19532285fkc.2007.07.04.03.54.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Jul 2007 03:54:17 -0700 (PDT) Message-ID: <468B7C48.9050007@gmail.com> Date: Wed, 04 Jul 2007 12:54:00 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: Yuriy Tsibizov References: <483316d70706281009k13f2e37al2a05ea53b82c6e9a@mail.gmail.com> <78664C02FF341B4FAC63E561846E3BCC0A13D8@ex.hhp.local> In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC0A13D8@ex.hhp.local> X-Enigmail-Version: 0.95.2 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD3C164877E02E5B6A716C030" Cc: freebsd-multimedia@freebsd.org Subject: Re: 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 Reply-To: karol.kwiat@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 11:21:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD3C164877E02E5B6A716C030 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yuriy Tsibizov wrote: > Dear SB Live! / Audigy users. Hi Yuriy, > 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 Applied to today's CURRENT, comments inline. Setup: , 5.1 analog speakers, multichannel playback disabled, snd_emu10kx loaded as module (details at the end[1]). > Update snd_emu10kx driver with recent perforce changes (and some other > changes too). >=20 > (without any real order) >=20 > 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) It works and this is great news for me :) What are you going to do with it? Remove? Rename? Move it to mixer or else? > 5. Get back support for low-bitrate playback (with help of (2)) Hey, this works, too, no more strange sounds :) > 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. >=20 > Tested on: [...snip...] > I need your feedback on: >=20 > I) High-priority checks (that I can't do on my own equipment) >=20 > -- digitally connected speakers, without > SND_EMU10KX_MULTICHANNEL_DISABLED and with it. > -- S/PDIF output to external receiver / amplifier I don't have such equipment. > 2) Overall driver stability. I did some crash-tests, it shouldn't crash= > your machine in few seconds after load :-) Works for about an hour now with different files / multiple sources. If anything crashes I'll let you know :) > 3) Features you may need or features that are not user-friendly. I'm perfectly fine with this version. I just hope analog/digital switch won't disappear. > 4) any unclear documentation No problems with it. > Hope for your help, >=20 > Yuriy Thanks for your work! Regards, Karol [1] # grep EMU kernels/PERSEPHONE options SND_EMU10KX_MULTICHANNEL_DISABLED # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: on emu10kx0 [GIANT] (4p:1v/1r:1v channels duplex default) pcm1: at io 0xe800, 0xec00 irq 21 bufsz 16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex) # sysctl -a | grep emu10 emu10kx0: port 0xd480-0xd49f irq 16 at device 8.0 on pci2 emu10kx0: [ITHREAD] pcm0: on emu10kx0 dev.emu10kx.0.%desc: Creative Audigy [SB0090] dev.emu10kx.0.%driver: emu10kx dev.emu10kx.0.%location: slot=3D8 function=3D0 dev.emu10kx.0.%pnpinfo: vendor=3D0x1102 device=3D0x0004 subvendor=3D0x110= 2 subdevice=3D0x0051 class=3D0x040100 dev.emu10kx.0.%parent: pci2 dev.emu10kx.0._digital: 0 dev.pcm.0.%parent: emu10kx0 # sysctl -a | grep snd hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_formats: 1 hw.snd.compat_linux_mmap: 0 hw.snd.feeder_buffersize: 16384 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.verbose: 1 hw.snd.maxautovchans: 16 hw.snd.default_unit: 0 hw.snd.version: 2007061600/i386 hw.snd.default_auto: 0 --=20 Karol Kwiatkowski OpenPGP 0x06E09309 --------------enigD3C164877E02E5B6A716C030 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRot8TwhgT0HIecD5AQiCKwgAmqH2nerXAkEq1W85OiatHIOtNlvQinlT bAQIThTIK2I093z93tTRCkmPGAD8/VQYHG3tTVzEjHL/npJpzAuIm6c7J9AzSWAT LRdtsLtC5H7YDBvidfecDzkutFdQJBTd8/4COHu37XnyxKNFslXO7uouUpGawOov kU/SuqXn+7X9IJXNsQg1f90MQFhZEY6ZIpKf2JHirX4XwQKVEsRBWuX25r1PJNBD tSueTC9ShkycM8rqPug8KHEH8RItrMVWsIbhKvaKRuPzvR0+D5+eXoyXvOSlU58g pzcsvYLNJM0RBJTlsEvWYdSXnCA73HA1chOmv/AOa44vZOZapiSWdw== =DKBQ -----END PGP SIGNATURE----- --------------enigD3C164877E02E5B6A716C030--