From owner-freebsd-multimedia Mon Jan 17 10:38: 3 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from lips.borg.umn.edu (lips.borg.umn.edu [160.94.170.50]) by hub.freebsd.org (Postfix) with ESMTP id 9E5B814E01 for ; Mon, 17 Jan 2000 10:37:56 -0800 (PST) (envelope-from cattelan@thebarn.com) Received: from thebarn.com (lupo.borg.umn.edu [160.94.170.114]) by lips.borg.umn.edu (8.9.3/8.9.1) with ESMTP id MAA71925; Mon, 17 Jan 2000 12:37:49 -0600 (CST) Message-ID: <3883613A.475989E0@thebarn.com> Date: Mon, 17 Jan 2000 12:36:42 -0600 From: Russell Cattelan X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Udo Erdelhoff Cc: multimedia@FreeBSD.ORG Subject: Re: Trouble with Soundblaster 64V References: <20000115010935.E1604@nathan.ruhr.de> <387FCBA0.33E3C7D6@thebarn.com> <20000115142933.A336@nathan.ruhr.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Udo Erdelhoff wrote: > Moin, > > Try this and let me know if it works > Well, it helps. With your patch, I'm able to play mp3s if (and only if) I > do not use boot -v. I kid you not : > > There's still a delay of approx. 3-4 seconds during mpg123's startup > message and the first samlple of the first second. (This may be a problem > with mpg123, allthough I did not experience this with the SB16). Hmm not sure about that... could be mpg123 waiting for it's ring buffer, but I doubt it. The odd thing you have a rev 0x06 card... most of the problems have been with rev 0x07 or higher. The mixer stuff is quite odd also, the values reported are read from the card. So that should what the cards thinks things are set to. NOTE bass and treble are always being reported as supported even though they may not be by the card. I should look at removing that behavior. What mother board to you have? Most of the problems we are seeing are with the ASUS boards. > > > Other data points: > cat /dev/sndstat still reports irq 0/dma 0: > FreeBSD Audio Driver (981002) Jan 15 2000 12:58:51 > Installed devices: > pcm1: at 0xe000 irq 0 dma 0:0 > > I was able to caputre the output boot -v after increasing the kernel message > buffer[0]. The relevant portion of the log is: > > found-> vendor=0x1274, dev=0x1371, revid=0x06 > class=04-01-00, hdrtype=0x00, mfdev=0 > subordinatebus=0 secondarybus=0 > intpin=a, irq=14 > map[0]: type 4, range 32, base 0000e000, size 6 > es1: rev 0x06 int a irq 14 on pci0.9.0 > pcm1: using I/O space register mapping at 0xe000 > es1371: codec vendor TRA revision 35 > es1371: codec features Bass & Treble > es1371: stereo enhancement: no 3D stereo enhancement > > I've had a lot of fun with the mixer. Changing the mixer settings for vol > and/or pcm changes the output signal. Changing the other mixer settings may > or may not result in rather strange behaviour. A few examples: > > ue@nathan$ mixer > Mixer vol is currently set to 76:76 > Mixer bass is currently set to 0:0 > Mixer treble is currently set to 0:0 > Mixer pcm is currently set to 76:76 > Mixer speaker is currently set to 64:64 > Mixer line is currently set to 64:64 > Mixer mic is currently set to 64:64 > Mixer cd is currently set to 64:64 > Mixer rec is currently set to 64:64 > Mixer ogain is currently set to 64:64 > Mixer line1 is currently set to 64:64 > Mixer phin is currently set to 64:64 > Mixer video is currently set to 64:64 > ue@nathan$ mixer line1 0 > Setting the mixer line1 to 0:0. > ue@nathan$ mixer > Mixer mic is currently set to 49:49 > Mixer line1 is currently set to 0:0 > [all other values remain the same] > mixer line1 64 > Setting the mixer line1 to 64:64. > ue@nathan$ mixer > Mixer mic is currently set to 64:64 > Mixer line1 is currently set to 64:64 > ue@nathan$ mixer mic 0 > Setting the mixer mic to 0:0. > ue@nathan$ mixer > Mixer mic is currently set to 0:0 > [all other values are unchanged] > ue@nathan$ mixer mic 64 > Setting the mixer mic to 64:64. > ue@nathan$ mixer line1 0 > Setting the mixer line1 to 0:0. > ue@nathan$ mixer > Mixer vol is currently set to 76:76 > Mixer bass is currently set to 0:0 > Mixer treble is currently set to 0:0 > Mixer pcm is currently set to 76:76 > Mixer speaker is currently set to 64:64 > Mixer line is currently set to 100:64 <--- > Mixer mic is currently set to 64:64 > Mixer cd is currently set to 64:64 > Mixer rec is currently set to 64:64 > Mixer ogain is currently set to 64:64 > Mixer line1 is currently set to 0:0 > Mixer phin is currently set to 64:64 > Mixer video is currently set to 100:64 <--- > > Changing the mixer settings for bass and treble doesnt't affect the > output nor the settings reported by the next mixer command. For example: > ue@nathan$ mixer > Mixer vol is currently set to 76:76 > Mixer bass is currently set to 0:0 > Mixer treble is currently set to 0:0 > Mixer pcm is currently set to 76:76 > Mixer speaker is currently set to 64:64 > Mixer line is currently set to 64:64 > Mixer mic is currently set to 64:64 > Mixer cd is currently set to 64:64 > Mixer rec is currently set to 64:64 > Mixer ogain is currently set to 64:64 > Mixer line1 is currently set to 64:64 > Mixer phin is currently set to 64:64 > Mixer video is currently set to 64:64 > ue@nathan$ mixer bass 75 > Setting the mixer bass to 75:75. > ue@nathan$ mixer > Mixer bass is currently set to 0:0 > Mixer rec is currently set to 82:82 <---- > [The other settings remained unchanged] > > If you need a guinea pig for further tests, just drop me a line. > > /s/Udo > [0] Somebody should add the words "used by dmesg and friends" the comment > above the option MSGBUF_SIZE and/or add a hint about this option to the > manual page for dmesg. > -- > Now they show you how detergents take out bloodstains; a pretty violent > image there. I think if you've got a T-shirt with a bloodstain all over it, > maybe laundry isn't your biggest problem. Maybe you should get rid of the > body before you do the wash. -- Russell Cattelan cattelan@thebarn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message