Date: Wed, 3 Sep 1997 06:35:35 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: jacob@jblhome.ping.dk (Jacob Bohn Lorensen) Cc: multimedia@FreeBSD.ORG Subject: Re: Unsuccesful attempt at SB16PNP and no PNP bios; what am I doing wrong? Message-ID: <199709030435.GAA07080@labinfo.iet.unipi.it> In-Reply-To: <87sovne4i2.fsf@pippin.jblhome.ping.dk> from "Jacob Bohn Lorensen" at Sep 3, 97 00:26:42 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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/ _____________________________|______________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709030435.GAA07080>