SB 16 PnP: 8-bit sound works, 16-bit sound broken?

SB 16 PnP: 8-bit sound works, 16-bit sound broken?

Post by Jess » Fri, 04 Sep 1998 04:00:00

I'm currently having a problem with my Soundblaster 16 PnP where I've
used isapnp to set the card up and it works fine as far as I can tell
except for one problem--

playing 8-bit audio works perfectly, but 16-bit audio is broken.

This happens with both the sound driver in 2.0.35 and the latest
OSS/Free driver.

When I was using the 2.0.35 driver, if I tried to play a 16-bit sample,
no sound occurred and the following message appeared in

  kernel: Sound: DMA (output) timed out - IRQ/DRQ config error?

As far as I can tell, all the irqs, dma channels, and io ports are all
correctly matched up between the hardware and the software, but the
16-bit audio is still not working.

When I tried the same thing with the latest OSS/Free driver, no sound
occurred and no error message showed up in my /var/log/messages.

I've included the pertinent files.




 OSS/Free3.8s9-980302 (Thu Sep 3 00:10:21 PDT 1998 root,
 Linux 2.0.35 #1 Wed Jul 15 00:12:42 PDT 1998 i686
 Load type: Driver loaded as a module.
 Kernel: Linux 2.0.35 #4 Thu Sep 3 00:21:34 PDT 1998
 Config options: 0

 Installed drivers:
 Type 1: OPL-2/OPL-3 FM
 Type 26: MPU-401 (UART)
 Type 2: Sound Blaster
 Type 29: Sound Blaster PnP
 Type 7: SB MPU-401
 Type 36: SoftOSS Virtual Wave Table

 Card config:
 SoftOSS Virtual Wave Table
 Sound Blaster at 0x220 irq 5 drq 1,5
 SB MPU-401 at 0x330 irq 5 drq 0
 OPL-2/OPL-3 FM at 0x388 drq 0

 Audio devices:
 0: Sound Blaster 16 (4.16)

 Synth devices:
 0: SoftOSS
 1: Yamaha OPL-3

 Midi devices:
 0: Sound Blaster 16

 0: System clock
 1: SoftOSS

 0: Sound Blaster


  0:     270742   timer
  1:       8393   keyboard
  2:          0   cascade
  4:      73347 + serial
  5:      29184   soundblaster
  8:          1 + rtc
 12:      79972   PS/2 Mouse
 13:          1   math error
 14:      10935 + ide0
 15:      43786 + ide1


  1: SoundBlaster8
  4: cascade
  5: SoundBlaster16


 0000-001f : dma1
 0020-003f : pic1
 0040-005f : timer
 0060-006f : keyboard
 0070-007f : rtc
 0080-009f : dma page reg
 00a0-00bf : pic2
 00c0-00df : dma2
 00f0-00ff : npu
 0170-0177 : ide1
 01f0-01f7 : ide0
 0220-022f : soundblaster
 02f8-02ff : serial(auto)
 0330-0333 : MPU-401 UART
 0376-0376 : ide1
 0388-038b : OPL3/OPL2
 03c0-03df : vga+
 03f0-03f5 : floppy
 03f6-03f6 : ide0
 03f7-03f7 : floppy DIR
 03f8-03ff : serial(set)
 d800-d807 : IDE DMA
 d808-d80f : IDE DMA


 (READPORT 0x0203)

 # Creative ViBRA16X PnP (Audio)
 (CONFIGURE CTL00f0/-1 (LD 0

 (INT 0 (IRQ 5 (MODE +E)))
 (DMA 0 (CHANNEL 1))
 (DMA 1 (CHANNEL 5))
 (IO 0 (BASE 0x0220))
 (IO 1 (BASE 0x0330))
 (IO 2 (BASE 0x0388))

 (ACT Y)

 # Creative ViBRA16X PnP (Game)
 (CONFIGURE CTL00f0/-1 (LD 1

 (IO 0 (BASE 0x0201))

 (ACT Y)



1. SB16: 16-bit sound o.k., 8-bit sound breaks off?????

I have one problem left with my linux installation,
which is that my SB16 won't play 8-bit sound samples
that are longer than DMABufferSize (32k in my current
configuration). I have installed DOOM for testing purposes,
and there the sound is o.k. However, if I do

 ``cat > /dev/audio'',

that only works as long as the file is shorter than 32k,
if it's longer, the sound stops after the 32k are processed.

Now, the driver IS configured to the correct IRQ (10)
and DRQ (1, 7) numbers, and the port addresses are correct
also (and, needless to say, the card works just fine in this
configuration under DOS). So, does anyone have any idea what
might be wrong?

My system: AMI Enterprise III EISA/VLB Board,
           ATI GUP,
           ADAPTEC 1742A SCSI controller (enhanced mode),
           SMC Ultra ethernet card (IRQ 15),
           SB 16 ASP

My guess is that some other driver steals DMA channel 1
(the one for the SCSI controller?, but actually the Adaptec
 shouldn't use the DMA controller at all) as I think the
interrupt seems to work (otherwise 16-bit sound should fail
too). Also, if I have xosview running while playing a sound,
then I see the indicator for IRQ 10 blinking several times
before the sound stops.

Any helpful comments would be greatly appreciated!!!

2. Ether Newbie...Multiple-Ethernet Cards

3. Cheapo PnP SB Pro clone: 8-bit works, 16-bit doesn't

4. Getting ready to use sfio: Any gotchas?

5. 16-bit au sound on an 8-bit card?

6. Cut and paste in fvwm

7. Sound Blaster 16 PnP.....only 8-bit is working

8. Installing SDL 1.2/Mandrake 8

9. 2.2.x PnP sound card (SB 16 / Vibra 16)

10. Getting SB16 PnP to work with 16 bit sound

11. 8-bit ISA > 16-bit MCA, what ADF's?

12. 8-bit fine, 16-bit wacky.

13. 8-bit / 16-bit color