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