*BSD News Article 31054


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!agate!library.ucla.edu!news.ucdavis.edu!quadrophenia!ccjason
From: ccjason@quadrophenia.ucdavis.edu (Jason Gabler)
Subject: [FreeBSD-1.1-GAMMA/current] Consistent /dev/audio problems
Message-ID: <Cq9MMx.4rH@ucdavis.edu>
Sender: usenet@ucdavis.edu (News Guru)
Organization: University of California, Davis
X-Newsreader: TIN [version 1.2 PL2]
Date: Mon, 23 May 1994 17:16:09 GMT
Lines: 46


I have an SB16 on a 386/40 with 1.1-release.

I have compile the sound drivers from 1.0-release, from
/pub/FreeBSD/incoming on freebsd.cdrom.com,  from 1.1-release, and
1.1-current (as of May 22nd).

I can use my card for amplification (e.g. have my diskman play thru my card
and have the card output to speakers), using XVMixer just fine.

However, when ever i try to record via  "cat /dev/audio > filename"  I see
info written to my hard drive once, or sometimes twice, somtimes never.
I kill the 'cat' (heh), and then  "cat filename > /dev/audio".  Some times
it plays, and sometimes it doesnt.  Usually, expecially on the playback,
after its hung for a while, it dies with the error message: "Interrupted
systems call". I have no clue as to what would cause the interrupt, I certainly
didnt by touching ^C or the like.

Oh, yes, i should mention, I have had this problem when loading the folling
combination of snd devices into the kernel:

	1 & 2
	1, 2, & 6
	1, 2, 6, & 7

On the 2nd and third example I used the hack in isa.c to return zero imedaitely
after haveseen() begins, so that I can actaully load 2 & 6 bot on irq 5.
However, have 2 devices on the same irq isnt the problem because on when having
on the irq had the same problem.


Any suggestions, experiences, comment, handouts, answers :), solution :) :)
would most extremely appreciated ( I know, alot of good that does you).
--

Vale,
		jason
.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.
`Jason Gabler                              jygabler@ucdavis.edu           `
'campus office: 916-752-9215               home office: 916-753-7553      '
'Distributed Computing Analysis & Support  Kerberos/Security              '
`Information Technology, UCDavis           X Windows Programming & Support`
'Davis, California, 95616 USA              DCN/Wheel.dcn Sys Admin        '
`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`
` "Cousin! Congratulations! Your ship has finally hit the fan!" - Balky   `
`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`