5.1 center channel inaudible

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium, kodachi

5.1 center channel inaudible

Postby Wizel603 » Mon Oct 10, 2011 2:35 pm

When sending 6-channel audio to my "SB Live!" card, the center (as well as perhaps the LFE) channel cannot be heard. I've fiddled with the mixer controls until I believe I've exhausted all obvious possibilities there. And just to be sure analog output was being enabled, I have both sblive_digital_din = 0 and audigy_digital_din = 0 in oss_sblive.conf. Also I compiled and ran multich_test.c, but only beep sequences 1 through 4 are heard from the 4 corner speakers. Beep sequences 5 and 6 can't be heard.

All channels work when playing through my VIA on-board 5.1 audio using OSS4. A few of the mixer control names make no sense, but through a little trial and error I was able to figure out which control went to what.

It may be worth mentioning that when ALSA is loaded all 6 channels of the the "SB Live!" work, although strangely ALSA loads its emu10k1 while OSS4 is loading its sblive module. I was under the impression that those are two very different chipsets, but I suppose it wouldn't work at all is that were the problem. Still, many years ago when I used the old OSS that was in the linux kernel with this same "SB Live!" card I remember OSS always loaded its emu10k1 driver and 5.1 audio worked great. Could OSS4 be loading the wrong driver?

Code: Select all
Selected mixer 1/SB Live (STAC9708)
Known controls are:
line [<leftvol>:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently OFF)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently ON)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
rear [<leftvol>:<rightvol>] (currently 75:75)
center [<leftvol>:<rightvol>] (currently 75:75)
autorese ON|OFF (currently ON)
spkmode <FRONT|SURR|FRONT+SURR|DISCRETE> (currently FRONT)
pcm.main <monovol> (currently 100)
vmix1-enable ON|OFF (currently OFF)
vmix1-rate <decimal value> (currently 48000) (Read-only)
vmix1-src <Fast|High|OFF> (currently Fast)
vmix1-outvol <monovol> (currently 25.0 dB)
vmix1-invol <monovol> (currently 25.0 dB)
vmix1.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix1.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix1.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix1.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
pcm2 [<leftvol>:<rightvol>] (currently 75:75)
vol [<leftvol>:<rightvol>] (currently 75:75)
equalizer.prescale <monovol> (currently 100)
equalizer.lo <monovol> (currently 128)
equalizer.mid <monovol> (currently 128)
equalizer.hi <monovol> (currently 128)
equalizer.xhi <monovol> (currently 128)
equalizer.bypass ON|OFF (currently OFF)
front.spdif <monovol> (currently 0)
front.digcd <monovol> (currently 100)
front.ac97 <monovol> (currently 100)
front.pcm <monovol> (currently 100)
front.aux <monovol> (currently 100)
front.vol [<leftvol>:<rightvol>] (currently 100:100)
surr.spdif <monovol> (currently 0)
surr.digcd <monovol> (currently 100)
surr.ac97 <monovol> (currently 100)
surr.pcm <monovol> (currently 100)
surr.aux <monovol> (currently 100)
surr.vol [<leftvol>:<rightvol>] (currently 100:100)
record.spdif <monovol> (currently 0)
record.digcd <monovol> (currently 100)
record.ac97 <monovol> (currently 100)
record.pcm <monovol> (currently 100)
record.aux <monovol> (currently 100)
record.vol [<leftvol>:<rightvol>] (currently 100:100)


Code: Select all
Version info: OSS 4.2 (b 2003/201007150434) (0x00040100) GPL
Platform: Linux/x86_64 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 (homebox11)

Number of audio devices:        6
Number of audio engines:        15
Number of MIDI devices:         1
Number of mixer devices:        2


Device objects
0: osscore0 OSS core services
1: oss_via823x0 VIA VT8237 interrupts=0 (3965)
2: oss_sblive0 SB Live interrupts=86305 (86305)
3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)
0: SB Live external MIDI (MIDI port 1 of device object 2)
    Device file /dev/oss/oss_sblive0/mid0, Legacy device /dev/midi00
    Modes: IN/OUT , Available for use
    Caps:
    Minimum latency: Not indicated
    Device handle: PCI80651102-0000:00:0b.0-md01


Mixer devices
0: VIA823x AC97 Mixer (ALC658) (Mixer 0 of device object 1)
    Device file /dev/oss/oss_via823x0/mix0, Legacy device /dev/mixer2
    Priority: 10
    Caps:
    Device handle: PCI1415147b-0000:00:11.5-mx01
    Device priority: 10

1: SB Live (STAC9708) (Mixer 0 of device object 2)
    Device file /dev/oss/oss_sblive0/mix0, Legacy device /dev/mixer1
    Priority: 2
    Caps:
    Device handle: PCI80651102-0000:00:0b.0-mx01
    Device priority: 2


Audio devices
VIA VT8237                        /dev/oss/oss_via823x0/pcm0  (device index 0)
    Legacy device /dev/dsp5
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/VIA VT8237
                     Available for use
      Engine      2: 1/VIA VT8237 (vmix)
                     Available for use
      Engine      3: 2/VIA VT8237 (vmix)
                     Available for use
      Engine      4: 3/VIA VT8237 (vmix)
                     Available for use
      Engine      5: 4/VIA VT8237 (vmix)
                     Available for use
      Engine      6: 5/VIA VT8237
                     Available for use
    Input formats (0x00000418):
      AFMT_U8           - 8 bit unsigned
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000418):
      AFMT_U8           - 8 bit unsigned
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Device handle: PCI1415147b-0000:00:11.5-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 8000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

SB Live main                      /dev/oss/oss_sblive0/pcm0  (device index 1)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 6/SB Live main
                     Available for use
      Engine      2: 7/SB Live main (vmix)
                     Available for use
      Engine      3: 8/SB Live main (vmix)
                     Available for use
      Engine      4: 9/SB Live main (vmix)
                     Available for use
      Engine      5: 10/SB Live main (vmix)
                     Available for use
    Input formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Output formats (0x00000418):
      AFMT_U8           - 8 bit unsigned
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Device handle: PCI80651102-0000:00:0b.0-au01
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 1 - 2
    Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

SB Live front out                 /dev/oss/oss_sblive0/pcm1  (device index 2)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 11/SB Live front out
                     Available for use
    Input formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Output formats (0x00000418):
      AFMT_U8           - 8 bit unsigned
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Device handle: PCI80651102-0000:00:0b.0-au02
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 1 - 2
    Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

SB Live side out                  /dev/oss/oss_sblive0/pcm2  (device index 3)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 12/SB Live side out
                     Available for use
    Input formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Output formats (0x00000418):
      AFMT_U8           - 8 bit unsigned
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Device handle: PCI80651102-0000:00:0b.0-au03
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 1 - 2
    Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

SB Live center/lfe out            /dev/oss/oss_sblive0/pcm3  (device index 4)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 13/SB Live center/lfe out
                     Available for use
    Input formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Output formats (0x00000418):
      AFMT_U8           - 8 bit unsigned
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Device handle: PCI80651102-0000:00:0b.0-au04
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 1 - 2
    Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

SB Live 5.1 output device         /dev/oss/oss_sblive0/pcm4  (device index 5)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 14/SB Live 5.1 output device
                     Available for use
    Input formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Output formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Device handle: PCI80651102-0000:00:0b.0-au05
    Related mixer dev: -1
    Sample rate source: 11
    Preferred channel configuration: MULTICH
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 8000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_via823x0/pcm0
  /dev/dsp_in -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_out -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_sblive0/pcm4
Wizel603
 
Posts: 2
Joined: Mon Oct 10, 2011 1:45 pm

Re: 5.1 center channel inaudible

Postby cesium » Mon Oct 10, 2011 4:02 pm

I rather doubt OSS loads the wrong driver - sometimes different drivers assign/call individual drivers by different names. But you could paste output of 'lspci -vmmnn' for the card so we can see what card it is exactly...
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Re: 5.1 center channel inaudible

Postby Wizel603 » Mon Oct 10, 2011 4:12 pm

But you could paste output of 'lspci -vmmnn' for the card so we can see what card it is exactly...

here you go:
Code: Select all
Slot:   00:0b.0
Class:  Multimedia audio controller [0401]
Vendor: Creative Labs [1102]
Device: SB Live! EMU10k1 [0002]
SVendor:        Creative Labs [1102]
SDevice:        SBLive! 5.1 Digital Model SB0220 [8065]
Rev:    0a

Slot:   00:0b.1
Class:  Input device controller [0980]
Vendor: Creative Labs [1102]
Device: SB Live! Game Port [7002]
SVendor:        Creative Labs [1102]
SDevice:        Gameport Joystick [0020]
Rev:    0a

Slot:   00:11.5
Class:  Multimedia audio controller [0401]
Vendor: VIA Technologies, Inc. [1106]
Device: VT8233/A/8235/8237 AC97 Audio Controller [3059]
SVendor:        ABIT Computer Corp. [147b]
SDevice:        Device [1415]
Rev:    60
Wizel603
 
Posts: 2
Joined: Mon Oct 10, 2011 1:45 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 4 guests