From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPnyx-00072W-Qz for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:13:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPnyw-00071b-Al for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:13:18 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPnyw-00071Y-7j for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:13:18 -0500 Received: from [217.10.32.4] (helo=comtv.ru) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPnpq-0007Sv-7P for qemu-devel@nongnu.org; Thu, 04 Nov 2004 15:03:54 -0500 Received: from av1474.oops ([10.0.66.9] verified) by comtv.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 44017855 for qemu-devel@nongnu.org; Thu, 04 Nov 2004 23:03:52 +0300 Date: Thu, 4 Nov 2004 23:03:43 +0300 (MSK) From: malc Subject: Re: [Qemu-devel] Re: Audio In-Reply-To: <418A845E.20409@brittainweb.org> Message-ID: References: <4185ADFA.7010102@brittainweb.org> <418A6382.3080002@brittainweb.org> <418A8089.1040306@brittainweb.org> <418A845E.20409@brittainweb.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, 4 Nov 2004, Jason Brittain wrote: > Jason Brittain wrote: > > Ronald wrote: > > > >> Le Thu, 04 Nov 2004 09:14:42 -0800, Jason Brittain a ?crit : > >> > >>> I'm not sure if other guests produce audio. Know how to test this with > >>> the dsl iso? > >> > >> With dsl 0.8.1.1: # modprobe sb io=0x220 irq=5 dma=1 dma16=5 isapnp=0 > > > > This command runs with no complaints, and dmesg says > > "SB 4.05 detected OK (220)", so I assume that works, although > > dsl doesn't seem to come with any wav files that I can play > > to actually test playing sounds. Maybe I can pull one down > > from the net. But, if it detects and configures the device, > > I'd mostly expect it to work. > > Actually.. I catted /bin/grep > /dev/audio to see if I could > hear noise -- that didn't work. Then, when I shut down dsl I > noticed this: > linux/Documentation/devices.txt 14 char Open Sound System (OSS) 0 = /dev/mixer Mixer control 1 = /dev/sequencer Audio sequencer 2 = /dev/midi00 First MIDI port 3 = /dev/dsp Digital audio 4 = /dev/audio Sun-compatible digital audio So it's /dev/dsp where your grep should have been catted to. (Sun-audio is probably some uLaw device and there's no support for this in current SB16 implementation) > # qemu -user-net -enable-audio -cdrom dsl-0.8.2.iso > sb16: attempt to set DMA register 8bit 1, 16bit 5 (val=0x22) That's something to be expected. > sb16: bogus command 0xce 0xce is ADC command, ADC is not supported > > That could have happened when I executed the modprobe command > above. Probably. Seems like some kind of failure, but I > don't know the severity. > > -- mailto:malc@pulsesoft.com