From owner-freebsd-multimedia Tue Sep 2 22:48:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA19875 for multimedia-outgoing; Tue, 2 Sep 1997 22:48:00 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA19867 for ; Tue, 2 Sep 1997 22:47:52 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA07080; Wed, 3 Sep 1997 06:35:35 +0200 From: Luigi Rizzo Message-Id: <199709030435.GAA07080@labinfo.iet.unipi.it> Subject: Re: Unsuccesful attempt at SB16PNP and no PNP bios; what am I doing wrong? To: jacob@jblhome.ping.dk (Jacob Bohn Lorensen) Date: Wed, 3 Sep 1997 06:35:35 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: <87sovne4i2.fsf@pippin.jblhome.ping.dk> from "Jacob Bohn Lorensen" at Sep 3, 97 00:26:42 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > correct. The only doubt is if irq7 might conflict with the parallel > > port. > > It doesn't (I am running the lpt port in polled mode...) this does not matters. The parallel port has an interrupt line and if you don't disconnect it (e.g. by programming the bios to use a different IRQ, or by means of jumpers on the parallel port board) it will be connected to some IRQ line and cause a conflict, which in the long term might be dangerous for the integrity of the system even if things seem to work. So make sure that IRQ7 is not in use before assigning it to the PnP device. > I am not able to control the volume with xmix - there seems to be only > two volumes: no sound and almost no sound (I have the SOunblaster > connected to my stereo and have turned the volume control on the > stereo on max). Furthermore, the volume level alternates between > on/off when I try to raise or lower it. /usr/sbin/mixer seems to work > ok, but I still can't get enough output. I'll investigate on the problem, I plan to buy a SB16 in the next days. > That's right, I seem to be able to play .au files just fine (except > for the volume problem mentioned above). I seem, however, to be unable > to record (cat /dev/audio >/tmp/testsample); it just hangs until I > press Ctrl-C, then I get this message in the syslog: > > timeout flushing dma2, cnt 0x0 flags 0x00000451 > > is this related to the -2 vs. 0 return value from dmastatus, you > mentioned? I don't think so, more likely I made some mistake in programming the capture mode. ON the SB16 is tricky since depending on the format you use, you have to tell the driver which dma channel (8 or 16 bit) to use. Again I'll look into the problem. Could you also try other modes (e.g. play/capture in 16bit, using the pcmio program if you don't have others) and see which ones work and which don't ? Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________