Re: 2.2.0 kernel broke sound

1999-01-29 Thread Hamish Moffatt
On Thu, Jan 28, 1999 at 02:39:35AM -0600, Matt Garman wrote:
 
 Before upgrading to kernel 2.2.0, I had sound working perfectly.  I
 have a SoundBlaster AWE 32 plug'n'play (ISA).  With my 2.0.x kernels,
 I used isapnp, then loaded sound as a module (automatically by
 kerneld).
 
 With the 2.2.0 kernel, I've tried all of the following:
  * kernel 2.2.0 plug'n'play support (and no isapnp), both with
sound as a module and built-in to the kernel
  * disable kernel 2.2 p'n'p support, and tried to use isapnp, both
with sound as a module and built-in to the kernel.

You still need isapnp. Kernel pnp doesn't do ISA cards, AFAIK.

 I get the following error when I try to use play (i.e. sox) to
 play a .wav file:
 sox: Can't open output file '/dev/dsp': Operation not supported by device

What does `lsmod' say about sound? I have an SB16 PNP and mine says:

Module  Size  Used by
opl3   10264   0
sb 30852   0
uart401 5628   0  [sb]
sound  55156   0  [opl3 sb uart401]
soundcore   2192   6  [sb sound]

As well as `sound', you need to load sb. It no longer links the actual
device code in to the sound module directly (which is a good thing,
because it doesn't compile in the IRQs and DMAs either).

You might need to edit /etc/modutils/options to handle this too. I have

options sb io=0x220 irq=5 dma=1 mpu_io=0x330 dma16=5
options opl3 io=0x388

(run update-modules after editing that file)

From your sndstat it looks like non-inserted modules is definately
the problem. My sndstat says:

OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux hamishpc 2.2.0 #1 Tue Jan 26 23:55:55 EST 1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.13) (DUPLEX)

Synth devices:
0: Yamaha OPL3

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster

Hamish
-- 
Hamish Moffatt VK3TYD  [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


2.2.0 kernel broke sound

1999-01-28 Thread Matt Garman

Before upgrading to kernel 2.2.0, I had sound working perfectly.  I
have a SoundBlaster AWE 32 plug'n'play (ISA).  With my 2.0.x kernels,
I used isapnp, then loaded sound as a module (automatically by
kerneld).

With the 2.2.0 kernel, I've tried all of the following:
 * kernel 2.2.0 plug'n'play support (and no isapnp), both with
   sound as a module and built-in to the kernel
 * disable kernel 2.2 p'n'p support, and tried to use isapnp, both
   with sound as a module and built-in to the kernel.

I get the following error when I try to use play (i.e. sox) to
play a .wav file:
sox: Can't open output file '/dev/dsp': Operation not supported by device

When I try to play an .mp3 file with mpg123, I get the following
error:
Can't open /dev/dsp!

These errors occur both as root, and as a normal user.

My only guess is that I have sound somehow configured incorrectly, but
it's beyond me...

Here's the output of at cat /dev/sndstat, which should obviously
have more to it...

OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux crh3019.urh.uiuc.edu 2.2.0 #5 Thu Jan 28 02:16:14 CST
1999 i686
Config options: 0

Installed drivers: 

Card config: 

Audio devices:

Synth devices:

Midi devices:

Timers:
0: System clock

Mixers:

Here's the sound config portion of my linux source config,
/usr/src/linux/.config:
#
# Sound
#
CONFIG_SOUND=m
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_OSS=m
# CONFIG_SOUND_PAS is not set
CONFIG_SOUND_SB=m
CONFIG_SOUND_ADLIB=m
# CONFIG_SOUND_GUS is not set
# CONFIG_SOUND_MPU401 is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_WAVEFRONT is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_OPL3SA2 is not set
# CONFIG_SOUND_MAUI is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_SOFTOSS is not set
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_VMIDI=m
# CONFIG_SOUND_UART6850 is not set

#
# Additional low level sound drivers
#
CONFIG_LOWLEVEL_SOUND=y
# CONFIG_ACI_MIXER is not set
CONFIG_AWE32_SYNTH=m
# CONFIG_AEDSP16 is not set

Does anyone have any idea what this problem is?  It's driving me mad!

Thanks,
Matt

-- 
Matt Garman, [EMAIL PROTECTED]
They're always havin' a good time down on the bayou,
 Lord, them delta women think the world of me.
-- Dickey Betts, Ramblin' Man


Re: 2.2.0 kernel broke sound

1999-01-28 Thread Åsmund Ødegård

Thu, 28 Jan skrev Matt Garman:
 
 Before upgrading to kernel 2.2.0, I had sound working perfectly.  I
 have a SoundBlaster AWE 32 plug'n'play (ISA).  With my 2.0.x kernels,
 I used isapnp, then loaded sound as a module (automatically by
 kerneld).
 

I also have problems with sound after upgrading to kernel 2.2.0. /dev/sndstat
is unchanged, but I'm not able to get sound out of my card. I use the CS4232
driver. 

The only error message I'm able to get is from rvplayer, which tells me: 

audio: write error: 578 bytes errno: 0

Other sound-players just don't do what they are expected to do. mpg123 and
freeamp seems to play, but no there's no sound. 

What adress is appropriate for bug-reports?

-- 
Åsmund Ødegård
http://www.ifi.uio.no/~aasmundo/sider/main.html
--
LUK 20 31 og den tredje tok henne, og likeså alle syv; de efterlot
  ikke barn, og døde.


Re: 2.2.0 kernel broke sound

1999-01-28 Thread Miller Paul
On Thu, 28 Jan 1999, Matt Garman wrote:

 
 Before upgrading to kernel 2.2.0, I had sound working perfectly.  I
 have a SoundBlaster AWE 32 plug'n'play (ISA).  With my 2.0.x kernels,
 I used isapnp, then loaded sound as a module (automatically by
 kerneld).
 
 With the 2.2.0 kernel, I've tried all of the following:
  * kernel 2.2.0 plug'n'play support (and no isapnp), both with
sound as a module and built-in to the kernel
  * disable kernel 2.2 p'n'p support, and tried to use isapnp, both
with sound as a module and built-in to the kernel.
 
Unfortunately I am not sitting at my home machine right now. I compiled
the kernel with plug 'n play support. However, the wave table portion of
the card still requires isapnp. So I simply commented out the parts
dealing with sound in isapnp.conf and left the wave table stuff.

Everything is compiled as modules and I use the kernel autoloading of
modules. You can find more info on this in
/usr/src/linux/Documentation/sound/awe.txt. You need to be sure to pass
the modules their option settings in /etc/conf.modules 
ie. options sound io=0x200 irq=9 dma=1 etc

Hope this helps


Paul Miller
Talons - President
The Spirit of UNT
[EMAIL PROTECTED]