[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.2.0 kernel broke sound



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              hamish@debian.org, hamish@rising.com.au
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


Reply to: