From owner-freebsd-multimedia Wed Sep 3 16:11:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA14358 for multimedia-outgoing; Wed, 3 Sep 1997 16:11:23 -0700 (PDT) Received: from ic4.ic.dk (qmailr@globip75.image.dk [194.234.57.75]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA14349 for ; Wed, 3 Sep 1997 16:11:14 -0700 (PDT) Received: (qmail 14639 invoked from network); 3 Sep 1997 23:06:49 -0000 Received: from ic1.ic.dk (193.88.65.12) by ic4.ic.dk with SMTP; 3 Sep 1997 23:06:49 -0000 Received: from jblhome by ic1.ic.dk with UUCP id AA18087 (5.65c8/IDA-1.4.4j); Thu, 4 Sep 1997 01:08:13 +0200 Received: (from jacob@localhost) by pippin.jblhome.ping.dk (8.8.7/8.7.3) id AAA05375; Thu, 4 Sep 1997 00:22:59 +0200 (CEST) To: Luigi Rizzo Cc: multimedia@FreeBSD.ORG Subject: Re: Unsuccesful attempt at SB16PNP and no PNP bios; what am I doing wrong? References: <199709030435.GAA07080@labinfo.iet.unipi.it> From: Jacob Bohn Lorensen Date: 04 Sep 1997 00:22:58 +0200 In-Reply-To: Luigi Rizzo's message of Wed, 3 Sep 1997 06:35:35 +0200 (MET DST) Message-Id: <87n2lunikd.fsf@pippin.jblhome.ping.dk> Lines: 77 X-Mailer: Gnus v5.3/Emacs 19.34 X-Charset: ISO_8859-1 X-Char-Esc: 29 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo writes: > > > 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 Okay. I have switched back to using irq5 (which is unused in my system). It's really nice with this plug-and-play, that you can switch around the settings - even if it means recompiling the kernel :-) > > 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. /usr/sbin/mixer also has problems. There seems to be only two volume settings (the same goes for bass, treble etc.): mixer +=sound, vol -=nosound ----------------- 0 - 1 - 2 + 3 + 4 + 5 - 6 - 7 - 8 - 9 + 10 + 11 + 12 - 13 - 14 - 15 + 16 + 17 + 18 - 19 - 20 - (i can give you more numbers if you're interested). > 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 ? Okay, I have tried recording with various settings Here is output from ``ktrace pcmio +rec,stereo,8000,s16 4:0 /tmp/test3''. It seems it never returns from the first read. I have to stop the program using Ctrl-C, and then wait a couple of second (5-10). Then syslog says: ``timeout flushing dma2, cnt 0x0 flags 0x00000551.'' "-- format 8000,stereo,0x00000010, len 4 skip 0 " 5352 pcmio RET write 47/0x2f 5352 pcmio CALL open(0xefbfdc89,0x601,0x1b4) 5352 pcmio NAMI "/tmp/test3" 5352 pcmio RET open 4 5352 pcmio CALL write(0x2,0xefbfd478,0x1a) 5352 pcmio GIO fd 2 wrote 26 bytes "open /tmp/test3 returns 4 " 5352 pcmio RET write 26/0x1a 5352 pcmio CALL read(0x3,0x3144,0x8000) 5352 pcmio PSIG SIGINT SIG_DFL -- Jacob Lorensen; Mosebuen 33, 1.; DK-2820 Gentofte, Denmark; +45-31560401 PGP ID = E596F0B5; PGP Fingerprint = 1E8726467436DC4A 723B6678C5AD9E71