9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] SoundBlaster 16 on QEMU not working
@ 2007-11-23 17:50 Pietro Gagliardi
  2007-11-27 15:45 ` Russ Cox
  0 siblings, 1 reply; 9+ messages in thread
From: Pietro Gagliardi @ 2007-11-23 17:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello. I have, in my QEMU setup, a SoundBlaster 16 audio card to  
emulate and the line

	audio0=sb16

in my plan9.ini and the line

	bind -a '#A' /dev

in my profile. But when I go to say, for example,

	games/playlistfs

it gives me this funky error message:

	games/playlistfs: /dev/audio: '/dev/audio' soundblaster not  
responding/wrong version

And

	term% lc /dev/a*
	archctl

What's going on? I'm using the Q emulator on Mac OS X, which is a GUI  
interface to QEMU. - Pietro

==
If Wirth was the w in awk instead of Weinberger, nobody would be  
using it. - Pietro Gagliardi 11/23/2007
==


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-23 17:50 [9fans] SoundBlaster 16 on QEMU not working Pietro Gagliardi
@ 2007-11-27 15:45 ` Russ Cox
  2007-11-27 20:23   ` Pietro Gagliardi
  0 siblings, 1 reply; 9+ messages in thread
From: Russ Cox @ 2007-11-27 15:45 UTC (permalink / raw)
  To: 9fans

> Hello. I have, in my QEMU setup, a SoundBlaster 16 audio card to  
> emulate and the line
> 
> 	audio0=sb16
> 
> in my plan9.ini 

What you wrote is equivalent to

	audio=sb16=

The correct line for QEMU is

	audio0=type=sb16

Because you didn't set type=sb16, the audio driver didn't even
bother trying to configure the card.  

You might find that you need to use

	audio0=type=sb16 irq=5 dma=1

but the driver should be able to figure those out for itself,
so try the simpler line first.

Russ


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-27 15:45 ` Russ Cox
@ 2007-11-27 20:23   ` Pietro Gagliardi
  2007-11-28  3:20     ` Markus Sonderegger
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Pietro Gagliardi @ 2007-11-27 20:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Good so far. Now when I go to run games/jukebox, it complains that  
file /sys/lib/music/icons/skull.bit does not exist. What do I do now?

On Nov 27, 2007, at 10:45 AM, Russ Cox wrote:

>> Hello. I have, in my QEMU setup, a SoundBlaster 16 audio card to
>> emulate and the line
>>
>> 	audio0=sb16
>>
>> in my plan9.ini
>
> What you wrote is equivalent to
>
> 	audio=sb16=
>
> The correct line for QEMU is
>
> 	audio0=type=sb16
>
> Because you didn't set type=sb16, the audio driver didn't even
> bother trying to configure the card.
>
> You might find that you need to use
>
> 	audio0=type=sb16 irq=5 dma=1
>
> but the driver should be able to figure those out for itself,
> so try the simpler line first.
>
> Russ
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-28  3:20     ` Markus Sonderegger
@ 2007-11-27 22:52       ` Pietro Gagliardi
  2007-11-28 14:52         ` Markus Sonderegger
  0 siblings, 1 reply; 9+ messages in thread
From: Pietro Gagliardi @ 2007-11-27 22:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

And where can I find mp3dec?

On Nov 27, 2007, at 10:20 PM, Markus Sonderegger wrote:

> % cat /sys/src/games/music/Readme
>
> From: Pietro Gagliardi <pietro10@mac.com>
> Date: November 27, 2007 3:23:03 PM EST
> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
> Subject: Re: [9fans] SoundBlaster 16 on QEMU not working
> Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
>
>
> Good so far. Now when I go to run games/jukebox, it complains that  
> file /sys/lib/music/icons/skull.bit does not exist. What do I do now?
>
> On Nov 27, 2007, at 10:45 AM, Russ Cox wrote:
>
>>> Hello. I have, in my QEMU setup, a SoundBlaster 16 audio card to
>>> emulate and the line
>>>
>>> 	audio0=sb16
>>>
>>> in my plan9.ini
>>
>> What you wrote is equivalent to
>>
>> 	audio=sb16=
>>
>> The correct line for QEMU is
>>
>> 	audio0=type=sb16
>>
>> Because you didn't set type=sb16, the audio driver didn't even
>> bother trying to configure the card.
>>
>> You might find that you need to use
>>
>> 	audio0=type=sb16 irq=5 dma=1
>>
>> but the driver should be able to figure those out for itself,
>> so try the simpler line first.
>>
>> Russ
>>
>
>
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-27 20:23   ` Pietro Gagliardi
@ 2007-11-28  3:20     ` Markus Sonderegger
  2007-11-27 22:52       ` Pietro Gagliardi
  2007-11-28  3:24     ` Markus Sonderegger
  2007-11-28  3:35     ` Markus Sonderegger
  2 siblings, 1 reply; 9+ messages in thread
From: Markus Sonderegger @ 2007-11-28  3:20 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 35 bytes --]

% cat /sys/src/games/music/Readme

[-- Attachment #2: Type: message/rfc822, Size: 5014 bytes --]

From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] SoundBlaster 16 on QEMU not working
Date: Tue, 27 Nov 2007 15:23:03 -0500
Message-ID: <BAF839DA-390D-4C54-A39E-B34C94D69CA5@mac.com>

Good so far. Now when I go to run games/jukebox, it complains that  
file /sys/lib/music/icons/skull.bit does not exist. What do I do now?

On Nov 27, 2007, at 10:45 AM, Russ Cox wrote:

>> Hello. I have, in my QEMU setup, a SoundBlaster 16 audio card to
>> emulate and the line
>>
>> 	audio0=sb16
>>
>> in my plan9.ini
>
> What you wrote is equivalent to
>
> 	audio=sb16=
>
> The correct line for QEMU is
>
> 	audio0=type=sb16
>
> Because you didn't set type=sb16, the audio driver didn't even
> bother trying to configure the card.
>
> You might find that you need to use
>
> 	audio0=type=sb16 irq=5 dma=1
>
> but the driver should be able to figure those out for itself,
> so try the simpler line first.
>
> Russ
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-27 20:23   ` Pietro Gagliardi
  2007-11-28  3:20     ` Markus Sonderegger
@ 2007-11-28  3:24     ` Markus Sonderegger
  2007-11-28  3:35     ` Markus Sonderegger
  2 siblings, 0 replies; 9+ messages in thread
From: Markus Sonderegger @ 2007-11-28  3:24 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

> Good so far. Now when I go to run games/jukebox, it complains that  
> file /sys/lib/music/icons/skull.bit does not exist. What do I do now?

% cat /sys/src/games/music/Readme

[-- Attachment #2: Type: message/rfc822, Size: 5014 bytes --]

From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] SoundBlaster 16 on QEMU not working
Date: Tue, 27 Nov 2007 15:23:03 -0500
Message-ID: <BAF839DA-390D-4C54-A39E-B34C94D69CA5@mac.com>

Good so far. Now when I go to run games/jukebox, it complains that  
file /sys/lib/music/icons/skull.bit does not exist. What do I do now?

On Nov 27, 2007, at 10:45 AM, Russ Cox wrote:

>> Hello. I have, in my QEMU setup, a SoundBlaster 16 audio card to
>> emulate and the line
>>
>> 	audio0=sb16
>>
>> in my plan9.ini
>
> What you wrote is equivalent to
>
> 	audio=sb16=
>
> The correct line for QEMU is
>
> 	audio0=type=sb16
>
> Because you didn't set type=sb16, the audio driver didn't even
> bother trying to configure the card.
>
> You might find that you need to use
>
> 	audio0=type=sb16 irq=5 dma=1
>
> but the driver should be able to figure those out for itself,
> so try the simpler line first.
>
> Russ
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-27 20:23   ` Pietro Gagliardi
  2007-11-28  3:20     ` Markus Sonderegger
  2007-11-28  3:24     ` Markus Sonderegger
@ 2007-11-28  3:35     ` Markus Sonderegger
  2 siblings, 0 replies; 9+ messages in thread
From: Markus Sonderegger @ 2007-11-28  3:35 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

> Good so far. Now when I go to run games/jukebox, it complains that  
> file /sys/lib/music/icons/skull.bit does not exist. What do I do now?

% cat /sys/src/games/music/Readme

[-- Attachment #2: Type: message/rfc822, Size: 5014 bytes --]

From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] SoundBlaster 16 on QEMU not working
Date: Tue, 27 Nov 2007 15:23:03 -0500
Message-ID: <BAF839DA-390D-4C54-A39E-B34C94D69CA5@mac.com>

Good so far. Now when I go to run games/jukebox, it complains that  
file /sys/lib/music/icons/skull.bit does not exist. What do I do now?

On Nov 27, 2007, at 10:45 AM, Russ Cox wrote:

>> Hello. I have, in my QEMU setup, a SoundBlaster 16 audio card to
>> emulate and the line
>>
>> 	audio0=sb16
>>
>> in my plan9.ini
>
> What you wrote is equivalent to
>
> 	audio=sb16=
>
> The correct line for QEMU is
>
> 	audio0=type=sb16
>
> Because you didn't set type=sb16, the audio driver didn't even
> bother trying to configure the card.
>
> You might find that you need to use
>
> 	audio0=type=sb16 irq=5 dma=1
>
> but the driver should be able to figure those out for itself,
> so try the simpler line first.
>
> Russ
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-28 14:52         ` Markus Sonderegger
@ 2007-11-28 11:26           ` Pietro Gagliardi
  0 siblings, 0 replies; 9+ messages in thread
From: Pietro Gagliardi @ 2007-11-28 11:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Someone provided it and mp3enc in replica/pull (but forgot the man  
page for mp3dec - only mp3enc). It complains about needing an -s  
option because no device support was compiled in? I'll look at  
madplay later and see if that helps.

On Nov 28, 2007, at 9:52 AM, Markus Sonderegger wrote:

>> And where can I find mp3dec?
>
> There is no native mp3dec. You can install the madplay port
> from /n/sources/contrib/uriel/mirror/nemo_madplay.tgz.
> Then do
>
> % cat >/bin/games/mp3dec
> cat $* | madplay -q -o RAW:- -
>
>
> or something like that. Or better write a native one :)
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] SoundBlaster 16 on QEMU not working
  2007-11-27 22:52       ` Pietro Gagliardi
@ 2007-11-28 14:52         ` Markus Sonderegger
  2007-11-28 11:26           ` Pietro Gagliardi
  0 siblings, 1 reply; 9+ messages in thread
From: Markus Sonderegger @ 2007-11-28 14:52 UTC (permalink / raw)
  To: 9fans

> And where can I find mp3dec?

There is no native mp3dec. You can install the madplay port
from /n/sources/contrib/uriel/mirror/nemo_madplay.tgz.
Then do

% cat >/bin/games/mp3dec
cat $* | madplay -q -o RAW:- - 


or something like that. Or better write a native one :)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-11-28 14:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-23 17:50 [9fans] SoundBlaster 16 on QEMU not working Pietro Gagliardi
2007-11-27 15:45 ` Russ Cox
2007-11-27 20:23   ` Pietro Gagliardi
2007-11-28  3:20     ` Markus Sonderegger
2007-11-27 22:52       ` Pietro Gagliardi
2007-11-28 14:52         ` Markus Sonderegger
2007-11-28 11:26           ` Pietro Gagliardi
2007-11-28  3:24     ` Markus Sonderegger
2007-11-28  3:35     ` Markus Sonderegger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).