No sound from REAR CHANNELS

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium, kodachi

No sound from REAR CHANNELS

Postby mhtkhan » Wed Dec 01, 2010 6:19 pm

Hi,

I'm using OSS4 on Ubuntu 10.10. My sound card is Creative SoundBlaster Live. I have 4.1 speakers. I'm not getting any sound from the rear speakers, only getting sound from the front speakers. I've tried changing the different sliders but didn't work. Could you fix this problem ? How can I get surround sound ?

My ossmix output:

Code: Select all
Selected mixer 0/SB Live (STAC9758)
Known controls are:
line [<leftvol>:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently ON)
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 77:77)
aux1 [<leftvol>:<rightvol>] (currently 34:34)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
rear [<leftvol>:<rightvol>] (currently 90:90)
center [<leftvol>:<rightvol>] (currently 85:85)
autorese ON|OFF (currently ON)
spkmode <FRONT|SURR|FRONT+SURR|DISCRETE> (currently FRONT+SURR)
pcm.main <monovol> (currently 100)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 19.5:19.5 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 21.7:21.7 dB)
pcm2 [<leftvol>:<rightvol>] (currently 100:100)
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 126)
equalizer.bypass ON|OFF (currently OFF)
front.spdif <monovol> (currently 100)
front.digcd <monovol> (currently 100)
front.ac97 <monovol> (currently 0)
front.pcm <monovol> (currently 100)
front.aux <monovol> (currently 100)
front.vol [<leftvol>:<rightvol>] (currently 60:60)
surr.spdif <monovol> (currently 99)
surr.digcd <monovol> (currently 100)
surr.ac97 <monovol> (currently 0)
surr.pcm <monovol> (currently 100)
surr.aux <monovol> (currently 100)
surr.vol [<leftvol>:<rightvol>] (currently 100:100)
record.spdif <monovol> (currently 100)
record.digcd <monovol> (currently 100)
record.ac97 <monovol> (currently 100)
record.pcm <monovol> (currently 0)
record.aux <monovol> (currently 100)
record.vol [<leftvol>:<rightvol>] (currently 84:84)


My ossinfo -v3 output:
Code: Select all
Version info: OSS 4.2 (b 2003/201012011753) (0x00040100) OSS_HG
Hg revision: changeset: 920:232d0de71550, tag: tip, date: Tue Nov 02 23:45:15 2010 +0200, summary: Misc changes to ossplay
Platform: Linux/i686 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 (MAK)

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_sblive0 SB Live interrupts=12622 (12622)
2: oss_via823x0 VIA VT8233 interrupts=0 (273)
3: oss_usb0 USB audio core services

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


Mixer devices
0: SB Live (STAC9758) (Mixer 0 of device object 1)
    Device file /dev/oss/oss_sblive0/mix0, Legacy device /dev/mixer2
    Priority: 2
    Caps:
    Device handle: PCI100a1102-0000:05:08.0-mx01
    Device priority: 2

1: VIA823x AC97 Mixer (ALC655) (Mixer 0 of device object 2)
    Device file /dev/oss/oss_via823x0/mix0, Legacy device /dev/mixer1
    Priority: 10
    Caps:
    Device handle: PCI81b91043-0000:00:11.5-mx01
    Device priority: 10


Audio devices
SB Live main                      /dev/oss/oss_sblive0/pcm0  (device index 0)
    Legacy device /dev/dsp1
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/SB Live main
                     Available for use
      Engine      2: 1/SB Live main (vmix)
                     Available for use
      Engine      3: 2/SB Live main (vmix)
                     Available for use
      Engine      4: 3/SB Live main (vmix)
                     Available for use
      Engine      5: 4/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: PCI100a1102-0000:05:08.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    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 1)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/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: PCI100a1102-0000:05:08.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    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 2)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 6/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: PCI100a1102-0000:05:08.0-au03
    Related mixer dev: 0
    Sample rate source: 0
    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 3)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 7/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: PCI100a1102-0000:05:08.0-au04
    Related mixer dev: 0
    Sample rate source: 0
    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 4)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 8/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: PCI100a1102-0000:05:08.0-au05
    Related mixer dev: -1
    Sample rate source: 5
    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

VIA VT8233                        /dev/oss/oss_via823x0/pcm0  (device index 5)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 9/VIA VT8233
                     Available for use
      Engine      2: 10/VIA VT8233 (vmix)
                     Available for use
      Engine      3: 11/VIA VT8233 (vmix)
                     Available for use
      Engine      4: 12/VIA VT8233 (vmix)
                     Available for use
      Engine      5: 13/VIA VT8233 (vmix)
                     Available for use
      Engine      6: 14/VIA VT8233
                     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: PCI81b91043-0000:00:11.5-au01
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_via823x0/pcm0
  /dev/dsp_in -> /dev/oss/oss_via823x0/pcm0
  /dev/dsp_out -> /dev/oss/oss_via823x0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_via823x0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_via823x0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_via823x0/pcm0


My osstest output:

Code: Select all
Sound subsystem and version: OSS 4.2 (b 2003/201012011753) (0x00040100)
Platform: Linux/i686 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010

*** Scanning sound adapter #-1 ***
/dev/oss/oss_sblive0/pcm0 (audio engine 0): SB Live main
Note! Device is in use (by PID 0/VMIX) but will try anyway
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47612.00 Hz (-0.81%)>
/dev/oss/oss_sblive0/pcm1 (audio engine 5): SB Live front out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47923.00 Hz (-0.16%)>
/dev/oss/oss_sblive0/pcm2 (audio engine 6): SB Live side out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47942.00 Hz (-0.12%)>
/dev/oss/oss_sblive0/pcm3 (audio engine 7): SB Live center/lfe out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47950.00 Hz (-0.10%)>
/dev/oss/oss_sblive0/pcm4 (audio engine 8): SB Live 5.1 output device
- Skipping multi channel device

*** Scanning sound adapter #1 ***
/dev/oss/oss_via823x0/pcm0 (audio engine 9): VIA VT8233
- Performing audio playback test...
  <left> Device returned error: Input/output error

*** Some errors were detected during the tests ***


Note: My speakers are conncted to the SBLive card, maybe that's why there were errors with the VIA test. :( :(
mhtkhan
 
Posts: 1
Joined: Wed Dec 01, 2010 5:35 pm

Re: No sound from REAR CHANNELS

Postby cesium » Thu Dec 02, 2010 8:02 pm

Try outputting to /dev/oss/oss_sblive0/pcm4 (/dev/dsp5) - I think that might work. (It's possible to change this to default output - the wiki has instructions - but I'm not sure whether you want it).
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot], Yahoo [Bot] and 3 guests

cron