Spdout just plays stereo (intel HDA; rev 40)?

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Spdout just plays stereo (intel HDA; rev 40)?

Postby niko11 » Wed Aug 17, 2011 8:46 pm

Hi All,

I hava a big problem. I installed OSS4 and just get stereo on my spdout0 or pmc0. The osstest just plays also stereo? Also XBMC and VDR just knows stereo. After the PC there is an Denon 2308 reseiver. Can I test the 5.1 Sound?

The onboard card is an (the nVidia I don´t use):
Code: Select all
0:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
01:00.1 Audio device: nVidia Corporation Device 0be4 (rev a1)


and the ossinfo -v3 shows:
Code: Select all
Version info: OSS 4.2 (b 2004/201101131841) (0x00040100) OSS_HG
Hg revision: changeset: 923:09a210f84f55, tag: tip, date: Thu Jan 06 07:55:36 2011 +0200, summary: yet another patch for build2004
Platform: Linux/x86_64 2.6.35-gentoo-r15 #19 SMP Mon Feb 14 21:29:56 CET 2011 (MediaPC)

Number of audio devices:   10
Number of audio engines:   14
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=506516 (506516)
    HD Audio controller ATI HD Audio
    Vendor ID    0x10024383
    Subvendor ID 0x1458a102
     Codec  0: Unknown (0x10ec0892/0x1458a102)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio 0x10ec089 (Mixer 0 of device object 1)
    Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCIa1021458-0000:00:14.2-mx01
    Device priority: 10


Audio devices
HD Audio play pcm1                /dev/oss/oss_hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Out engine  1: 0/HD Audio play pcm1
                     Available for use
      Engine      2: 10/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      3: 11/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 12/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 13/HD Audio play pcm1 (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm2                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/HD Audio play pcm2
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm3                /dev/oss/oss_hdaudio0/pcm2  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/HD Audio play pcm3
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au03
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm3  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 3/HD Audio play pcm4
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au04
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm5                /dev/oss/oss_hdaudio0/pcm4  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 4/HD Audio play pcm5
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au05
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout1           /dev/oss/oss_hdaudio0/spdout0  (device index 5)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/HD Audio play spdifout1
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au06
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 32000 - 192000 (32000,44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout2           /dev/oss/oss_hdaudio0/spdout1  (device index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 6/HD Audio play spdifout2
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au07
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 32000 - 192000 (32000,44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix7                 /dev/oss/oss_hdaudio0/pcmin0  (device index 7)
    Legacy device /dev/dsp7
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 7/HD Audio rec mix7
                     Available for use
      Engine      2: 10/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      3: 11/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 12/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 13/HD Audio play pcm1 (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au08
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix6                 /dev/oss/oss_hdaudio0/pcmin1  (device index 8)
    Legacy device /dev/dsp8
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 8/HD Audio rec mix6
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au09
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec spdifin2             /dev/oss/oss_hdaudio0/spdin0  (device index 9)
    Legacy device /dev/dsp9
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 9/HD Audio rec spdifin2
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au10
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcmin0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


I hope you can help me, because the OSS Sound is so good ;-)
Greetings from Winterthur
niko11
New Member
 
Posts: 6
Joined: Wed Aug 17, 2011 8:12 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby igorzwx » Wed Aug 17, 2011 8:59 pm

niko11 wrote:Hi All,

I hava a big problem. I installed OSS4 and just get stereo on my spdout0 or pmc0. The osstest just plays also stereo? Also XBMC and VDR just knows stereo. After the PC there is an Denon 2308 reseiver. Can I test the 5.1 Sound?

The onboard card is an (the nVidia I don´t use):
Code: Select all
0:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
01:00.1 Audio device: nVidia Corporation Device 0be4 (rev a1)


and the ossinfo -v3 shows:
Code: Select all
Version info: OSS 4.2 (b 2004/201101131841) (0x00040100) OSS_HG
Hg revision: changeset: 923:09a210f84f55, tag: tip, date: Thu Jan 06 07:55:36 2011 +0200, summary: yet another patch for build2004
Platform: Linux/x86_64 2.6.35-gentoo-r15 #19 SMP Mon Feb 14 21:29:56 CET 2011 (MediaPC)

Number of audio devices:   10
Number of audio engines:   14
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=506516 (506516)
    HD Audio controller ATI HD Audio
    Vendor ID    0x10024383
    Subvendor ID 0x1458a102
     Codec  0: Unknown (0x10ec0892/0x1458a102)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio 0x10ec089 (Mixer 0 of device object 1)
    Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCIa1021458-0000:00:14.2-mx01
    Device priority: 10


Audio devices
HD Audio play pcm1                /dev/oss/oss_hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Out engine  1: 0/HD Audio play pcm1
                     Available for use
      Engine      2: 10/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      3: 11/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 12/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 13/HD Audio play pcm1 (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm2                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/HD Audio play pcm2
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm3                /dev/oss/oss_hdaudio0/pcm2  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/HD Audio play pcm3
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au03
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm3  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 3/HD Audio play pcm4
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au04
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm5                /dev/oss/oss_hdaudio0/pcm4  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 4/HD Audio play pcm5
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au05
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout1           /dev/oss/oss_hdaudio0/spdout0  (device index 5)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/HD Audio play spdifout1
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au06
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 32000 - 192000 (32000,44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout2           /dev/oss/oss_hdaudio0/spdout1  (device index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 6/HD Audio play spdifout2
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au07
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 32000 - 192000 (32000,44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix7                 /dev/oss/oss_hdaudio0/pcmin0  (device index 7)
    Legacy device /dev/dsp7
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 7/HD Audio rec mix7
                     Available for use
      Engine      2: 10/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      3: 11/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 12/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 13/HD Audio play pcm1 (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au08
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix6                 /dev/oss/oss_hdaudio0/pcmin1  (device index 8)
    Legacy device /dev/dsp8
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 8/HD Audio rec mix6
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au09
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec spdifin2             /dev/oss/oss_hdaudio0/spdin0  (device index 9)
    Legacy device /dev/dsp9
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 9/HD Audio rec spdifin2
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au10
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcmin0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


I hope you can help me, because the OSS Sound is so good ;-)
Greetings from Winterthur


Where is your "ossmix"?

Code: Select all
$ ossmix
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby niko11 » Wed Aug 17, 2011 9:02 pm

oh, here is it

Code: Select all
Selected mixer 0/High Definition Audio 0x10ec0892
Known controls are:
jack.green.mode <mix2|input> (currently input)
jack.green.mute ON|OFF (currently OFF)
jack.green.pcm1 [<leftvol>:<rightvol>] (currently 34.9:34.9 dB)
jack.green.pcm1-mute ON|OFF (currently OFF)
jack.green.mix1-mute ON|OFF (currently OFF)
jack.black.mode <mix3|input> (currently mix3)
jack.black.mute ON|OFF (currently OFF)
jack.black.pcm2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
jack.black.pcm2-mute ON|OFF (currently OFF)
jack.black.mix1-mute ON|OFF (currently OFF)
jack.orange.mode <mix4|input> (currently mix4)
jack.orange.mute ON|OFF (currently OFF)
jack.orange.pcm3 [<leftvol>:<rightvol>] (currently 40.9:40.9 dB)
jack.orange.pcm3-mute ON|OFF (currently OFF)
jack.orange.mix1-mute ON|OFF (currently OFF)
jack.gray.mode <mix5|input> (currently mix5)
jack.gray.mute ON|OFF (currently OFF)
jack.gray.pcm4 [<leftvol>:<rightvol>] (currently 35.9:35.9 dB)
jack.gray.pcm4-mute ON|OFF (currently OFF)
jack.gray.mix1-mute ON|OFF (currently OFF)
jack.pink.mode <mix2|mix3|mix4|mix5|mix8|input> (currently mix4)
jack.pink [<leftvol>:<rightvol>] (currently 19.9:19.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <mix2|mix3|mix4|mix5|mix8|input> (currently mix4)
jack.fp-pink [<leftvol>:<rightvol>] (currently 19.9:19.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <mix2|mix3|mix4|mix5|mix8|input> (currently mix4)
jack.blue [<leftvol>:<rightvol>] (currently 19.9:19.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <mix2|mix3|mix4|mix5|mix8|input> (currently mix4)
jack.fp-green [<leftvol>:<rightvol>] (currently 19.9:19.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix7.mute.mic ON|OFF (currently OFF)
record.mix7.mute.fp-mic ON|OFF (currently OFF)
record.mix7.mute.linein ON|OFF (currently OFF)
record.mix7.mute.fp-headphone ON|OFF (currently OFF)
record.mix7.mute.mix2 ON|OFF (currently OFF)
record.mix7.mute.mix3 ON|OFF (currently OFF)
record.mix7.mute.mix4 ON|OFF (currently OFF)
record.mix7.mute.mix5 ON|OFF (currently OFF)
record.mix7.mute.mix1 ON|OFF (currently OFF)
record.mix7 [<leftvol>:<rightvol>] (currently 22.9:22.9 dB)
record.mix6.mute.mic ON|OFF (currently OFF)
record.mix6.mute.fp-mic ON|OFF (currently OFF)
record.mix6.mute.linein ON|OFF (currently OFF)
record.mix6.mute.fp-headphone ON|OFF (currently OFF)
record.mix6.mute.mix2 ON|OFF (currently OFF)
record.mix6.mute.mix3 ON|OFF (currently OFF)
record.mix6.mute.mix4 ON|OFF (currently OFF)
record.mix6.mute.mix5 ON|OFF (currently OFF)
record.mix6.mute.mix1 ON|OFF (currently OFF)
record.mix6 [<leftvol>:<rightvol>] (currently 30.9:30.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 28.4:28.4 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 28.4:28.4 dB)
misc.linein [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 28.4:28.4 dB)
misc.mix2 [<leftvol>:<rightvol>] (currently 31.4:31.4 dB)
misc.mix3 [<leftvol>:<rightvol>] (currently 25.4:25.4 dB)
misc.mix4 [<leftvol>:<rightvol>] (currently 23.9:23.9 dB)
misc.mix5 [<leftvol>:<rightvol>] (currently 17.9:17.9 dB)
misc.mix1 <mic|fp-mic|linein> (currently linein)
misc.pcm5 [<leftvol>:<rightvol>] (currently 34.9:34.9 dB)
misc.pcm5-mute ON|OFF (currently OFF)
misc.mix1-mute ON|OFF (currently OFF)
misc.mix8 <pcm5|mix1> (currently mix1)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Multich)
vmix0-src <Fast|High|OFF> (currently High)
vmix0-outvol <monovol> (currently 13.6 dB)
vmix0-invol <monovol> (currently 13.6 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm12 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm13 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
niko11
New Member
 
Posts: 6
Joined: Wed Aug 17, 2011 8:12 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby igorzwx » Wed Aug 17, 2011 9:30 pm

niko11 wrote:
Code: Select all
vmix0-channels <Stereo|Multich> (currently Multich)


Yes, "Multich" means MultiChannel.
You may try to find Cesium on IRC, see: https://help.ubuntu.com/community/OpenSound#IRC
You may also find a special test audio file (and discussions) on this forum (google it).

Read this:
http://www.opensound.com/wiki/index.php ... to_play.21
https://wiki.archlinux.org/index.php/OS ... und_Output

niko11 wrote:
Code: Select all
vmix0-enable ON|OFF (currently ON)
vmix0-src <Fast|High|OFF> (currently High)

"High" means "bad sound quality", "Fast" means "very bad sound quality".
"OFF" should produce normal sound quality with your HDA soundcard.
These switches may not always work. This problem can be fixed with "/usr/lib/oss/scripts/killprocs.sh" script https://wiki.archlinux.org/index.php/OS ... ample_Rate

You may also try "ossplay -R" with a stereo wave.
Code: Select all
$ man ossplay
       -R     Disable  redirection  to  virtual  mixer  engines   and   sample
              rate/format  conversions.  Should  not be used unless absolutely
              necessary.

You may want to enable "Production quality" viewtopic.php?f=3&t=3543&start=30#p15711
niko11 wrote:I hope you can help me, because the OSS Sound is so good ;-)

If you perceive your sound quality as "so good", you may urgently need a medical help (it is not a joke).

http://www.sennheiser.com/sennheiser/ho ... ing_living
Reduced hearing capacity – understanding less and less, almost without noticing it
People are creatures of habit. We can quickly adapt to reductions in our hearing capacity. We barely notice how we keep having to ask people to repeat things, how we increase the volume on the television set, or how we are no longer able to filter out the voice of the person we are talking to when there are many other conversations going on around us. This is because the deterioration of our hearing is a subtle process. Those who recognize this in time and act accordingly have the best chance of counteracting this process and being able to continue hearing.

Did you know? Even a brief, violent sound (such as an exploding firecracker) can cause permanent hearing impairment.

Read this: viewtopic.php?f=3&t=4387
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby niko11 » Thu Aug 18, 2011 10:37 am

Thank you igorzwx

I will try to find the right configuration in ossmix and get a test sound file. I just mean the soundquality between alsa and oss, when the surround sond works i will get time for the production quality, but first the oss should work.

Should i disable: vmix0-enable ON|OFF (currently ON)?

Does anybody has a tip of my oss_hdaudio.conf file.
niko11
New Member
 
Posts: 6
Joined: Wed Aug 17, 2011 8:12 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby igorzwx » Thu Aug 18, 2011 12:12 pm

niko11 wrote:Should i disable: vmix0-enable ON|OFF (currently ON)?


You can disable it when you do not need it, and enable it when you need it.

"vmix" means "virtual mixer". It is a "software mixer", a kind of PulseAudio.
Since the Linux drivers for your soundcard do not support "hardware mixing", you may need a "software mixer".

You can disable vmix, if you want to play an audio file directly to your soundcard (it can do it well, because it is "HDA").
Then you can enable vmix. You may need it for your "surround".

Code: Select all
$ man vmixctl
CHANGING THE VMIX CHANNEL MAP
       The  vmix  subsystem  can  remap channels, so that all output sent to a
       channel via vmix will end up being played on a different  channel.  The
       syntax  uses  a  list  of  channels, where typically 0=default, 1=left,
       2=right, 3=center, 4=lfe, 5=left  surround,  6=right  surround,  7=left
       rear  and 8=right rear.  Note that vmix-channels should be set first to
       Multich if vmix is to recognize the extra channels.

   EXAMPLES
       o      vmixctl remap /dev/dsp 2 1 #switch left and right

       o      vmixctl remap /dev/dsp 0 0 0 0 6 5 #switch left and  right  sur‐
              round


niko11 wrote:Does anybody has a tip of my oss_hdaudio.conf file.

Usually, you do not need to change anything in this file.
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby niko11 » Sat Aug 20, 2011 3:43 pm

I bought a new sound card to try a new way, but i have always the problem, no sourround.
When the system boot it always look like this:

Code: Select all
oss_hdaudio           145874  1
oss_cmpci              19065  3
osscore               566728  2 oss_hdaudio,oss_cmpci


I also try with the Kernel Driver Realtek as a modul. Do you know what Kernel Option i should have?
new ossinfo -v3

Code: Select all
Version info: OSS 4.2 (b 2005/201108191816) (0x00040100) OSS_HG
Hg revision: Zusammenfassung: Added tag v4.2-2005 for changeset 11205524a8ce, Zusammenfassung: Added tag v4.2-2005 for changeset 11205524a8ce, ,
Platform: Linux/x86_64 2.6.35-gentoo-r15 #21 SMP Fri Aug 19 17:58:46 CEST 2011 (MediaPC)

Number of audio devices:   12
Number of audio engines:   20
Number of MIDI devices:      0
Number of mixer devices:   2


Device objects
0: osscore0 OSS core services
1: oss_cmpci0 CMedia CM8738 interrupts=44998 (44998)
2: oss_hdaudio0 ATI HD Audio interrupts=972 (972)
    HD Audio controller ATI HD Audio
    Vendor ID    0x10024383
    Subvendor ID 0x1458a102
     Codec  0: ALC892 (0x10ec0892/0x1458a102)

MIDI devices (/dev/midi*)

Mixer devices
0: CMedia CMPCI (Mixer 0 of device object 1)
    Device file /dev/oss/oss_cmpci0/mix0, Legacy device /dev/mixer0
    Priority: 1
    Caps:
    Device handle: PCI011113f6-0000:05:06.0-mx01
    Device priority: 1

1: High Definition Audio ALC892 (Mixer 0 of device object 2)
    Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer1
    Priority: 10
    Caps:
    Device handle: PCIa1021458-0000:00:14.2-mx01
    Device priority: 10


Audio devices
CMedia CM8768 (rev 68)            /dev/oss/oss_cmpci0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/CMedia CM8768 (rev 68)
                     Busy (IN/OUT) label 'VMIX'
      Engine      2: 1/CMedia CM8768 (rev 68) (vmix)
                     Busy (OUT) by PID 4928 / xbmc.bin label 'xbmc.bin'
      Engine      3: 2/CMedia CM8768 (rev 68) (vmix)
                     Available for use
      Engine      4: 3/CMedia CM8768 (rev 68) (vmix)
                     Available for use
      Engine      5: 4/CMedia CM8768 (rev 68) (vmix)
                     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: PCI011113f6-0000:05:06.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 5000 - 48000
    HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN     Minimum latency: Not indicated

CMedia CM8768 (playback only)     /dev/oss/oss_cmpci0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/CMedia CM8768 (playback only)
                     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: PCI011113f6-0000:05:06.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 5000 - 48000
    HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN     Minimum latency: Not indicated

HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 2)
    Legacy device /dev/dsp2
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Out engine  1: 6/HD Audio play front
                     Available for use
      Engine      2: 16/HD Audio play front (vmix)
                     Available for use
      Engine      3: 17/HD Audio play front (vmix)
                     Available for use
      Engine      4: 18/HD Audio play front (vmix)
                     Available for use
      Engine      5: 19/HD Audio play front (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au01
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play rear                /dev/oss/oss_hdaudio0/pcm1  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 7/HD Audio play rear
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au02
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm2  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 8/HD Audio play center/LFE
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au03
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play side                /dev/oss/oss_hdaudio0/pcm3  (device index 5)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 9/HD Audio play side
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au04
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm4  (device index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 10/HD Audio play pcm4
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au05
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 7)
    Legacy device /dev/dsp7
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 11/HD Audio play spdif-out
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au06
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 32000 - 192000 (32000,44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout            /dev/oss/oss_hdaudio0/spdout1  (device index 8)
    Legacy device /dev/dsp8
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 12/HD Audio play spdifout
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au07
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 32000 - 192000 (32000,44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 9)
    Legacy device /dev/dsp9
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 13/HD Audio rec mix
                     Available for use
      Engine      2: 16/HD Audio play front (vmix)
                     Available for use
      Engine      3: 17/HD Audio play front (vmix)
                     Available for use
      Engine      4: 18/HD Audio play front (vmix)
                     Available for use
      Engine      5: 19/HD Audio play front (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au08
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 10)
    Legacy device /dev/dsp10
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 14/HD Audio rec mix
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au09
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec spdifin              /dev/oss/oss_hdaudio0/spdin0  (device index 11)
    Legacy device /dev/dsp11
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 15/HD Audio rec spdifin
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: PCIa1021458-0000:00:14.2-au10
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_in -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_out -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_spdifout -> /dev/oss/oss_hdaudio0/spdout1
  /dev/dsp_spdifin -> /dev/oss/oss_cmpci0/pcm0


Can i change the Preferred channel configuration?

Code: Select all
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
niko11
New Member
 
Posts: 6
Joined: Wed Aug 17, 2011 8:12 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby cesium » Sat Aug 20, 2011 4:54 pm

http://www.opensound.com/wiki/index.php ... to_play.21 might help... Can you paste output of 'ossmix -a'? I guess 5.1 is connected to the cmedia card, right?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby niko11 » Sun Aug 21, 2011 11:10 am

both (cmedia, alc892) are connected to the reseiver. i hear this ones, without any problems:
Code: Select all
*** Scanning sound adapter #-1 ***
/dev/oss/oss_cmpci0/pcm0 (audio engine 0): CMedia CM8768 (rev 68)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47995.00 Hz (-0.01%)>
/dev/oss/oss_cmpci0/pcm1 (audio engine 5): CMedia CM8768 (playback only)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>

*** Scanning sound adapter #1 ***
...
/dev/oss/oss_hdaudio0/spdout0 (audio engine 11): HD Audio play spdif-out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47987.00 Hz (-0.03%)>


but i can´t change the vmix1
Code: Select all
MediaPC ~ # ossmix vmix1-channels Mulitch
Bad mixer control name(742) 'vmix1-channels'

the change with ossmix on vmix0 goes.

this is the ossmix -a:
Code: Select all
Selected mixer 0/CMedia CMPCI
Known controls are:
vol [<leftvol>:<rightvol>] (currently 90:90)
synth [<leftvol>:<rightvol>] (currently 75:75)
synth.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 75:75)
speaker <monovol> (currently 75)
line [<leftvol>:<rightvol>] (currently 75:75)
line.rec ON|OFF (currently OFF)
mic <monovol> (currently 32)
mic.rec ON|OFF (currently ON)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
rec [<leftvol>:<rightvol>] (currently 75:75)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 64:64)
aux1.rec ON|OFF (currently OFF)
mutectl.linemute ON|OFF (currently ON)
mutectl.cdmute ON|OFF (currently ON)
mutectl.micmute ON|OFF (currently ON)
mutectl.line1mute ON|OFF (currently ON)
jackctl.rear2line ON|OFF (currently OFF)
jackctl.cen2line ON|OFF (currently OFF)
jackctl.bass2line ON|OFF (currently OFF)
jackctl.cen2mic ON|OFF (currently ON)
mixext.spkmode <FRONT|SPREAD> (currently SPREAD)
mixext.dualdac ON|OFF (currently OFF)
mixext.micboost ON|OFF (currently OFF)
spdif.play ON|OFF (currently ON)
spdif.loop ON|OFF (currently OFF)
spdif.record ON|OFF (currently OFF)
spdif.imon ON|OFF (currently OFF)
spdif.polrev ON|OFF (currently OFF)
spdif.copyprot ON|OFF (currently OFF)
spdif.optical ON|OFF (currently ON)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Multich)
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 25.0:25.0 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 25.0:25.0 dB)

Selected mixer 1/High Definition Audio ALC892
Known controls are:
jack.green.mode <front|input> (currently front)
jack.green.mute ON|OFF (currently OFF)
jack.green.front [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.green.front-mute ON|OFF (currently OFF)
jack.green.input-mix-mute ON|OFF (currently OFF)
jack.black.mode <rear|input> (currently rear)
jack.black.mute ON|OFF (currently OFF)
jack.black.rear [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.black.rear-mute ON|OFF (currently OFF)
jack.black.input-mix-mute ON|OFF (currently OFF)
jack.orange.mode <center/LFE|input> (currently center/LFE)
jack.orange.mute ON|OFF (currently OFF)
jack.orange.center/lfe [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.orange.center/lfe-mute ON|OFF (currently OFF)
jack.orange.input-mix-mute ON|OFF (currently OFF)
jack.gray.mode <side|input> (currently side)
jack.gray.mute ON|OFF (currently OFF)
jack.gray.side [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.gray.side-mute ON|OFF (currently OFF)
jack.gray.input-mix-mute ON|OFF (currently OFF)
jack.pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.front1 ON|OFF (currently OFF)
record.mix.mute.rear1 ON|OFF (currently OFF)
record.mix.mute.center/lfe1 ON|OFF (currently OFF)
record.mix.mute.side1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.front2 ON|OFF (currently OFF)
record.mix.mute.rear2 ON|OFF (currently OFF)
record.mix.mute.center/lfe2 ON|OFF (currently OFF)
record.mix.mute.side2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.front [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.rear [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.center/lfe [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.side [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.input-mix <mic|fp-mic|linein> (currently mic)
misc.pcm41 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute ON|OFF (currently OFF)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
vmix1-enable ON|OFF (currently ON)
vmix1-rate <decimal value> (currently 48000) (Read-only)
vmix1-channels <Stereo|Multich> (currently Stereo)
vmix1-src <Fast|High|OFF> (currently Fast)
vmix1-outvol <monovol> (currently 25.0 dB)
vmix1-invol <monovol> (currently 25.0 dB)
vmix1.pcm16 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix1.pcm17 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix1.pcm18 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix1.pcm19 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
niko11
New Member
 
Posts: 6
Joined: Wed Aug 17, 2011 8:12 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby cesium » Sun Aug 21, 2011 1:34 pm

It's "ossmix -d1 vmix1-channels Mulitch" (different mixer). Anyhow, osstest will not output 5.1 in any event. How are you testing 5.1?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby igorzwx » Tue Aug 23, 2011 9:03 pm

niko11 wrote:Thank you igorzwx
I will try to find the right configuration in ossmix and get a test sound file.


The test wave for 5.1 Surround is here (thanks to Cesium):
cesium wrote:How did you test the 5.1? You can try using ossplay and this file (after gunzip).
viewtopic.php?f=3&t=3573#p14211
Download 6_Channel_ID.wav.gzhttp://www.fileupyours.com/view/77985/6 ... _ID.wav.gz

It is amusing to play it with DeadBeef converting to stereo:
Code: Select all
streamer_set_output_format 16bit int 6ch 44100Hz channelmask=3F, bufferfill: 0
oss: exclusive mode is activated!
Converter: fftrate (ver. 0.6 debug)
Input  : 44100 Hz, 6 ch, 16i bits
Output : 48000 Hz, 2 ch, 16i bits
Params.: delay = 53 ms, sync: ON, transform: 'DCT' - 'Vorbis'

It might be reasonable to include that 6_Channel_ID.wav into the OSS4 source.
The preferable Surround Sound Standard might be that of SMPT/EBU:
http://www.2l.no/hires/index.html
The track order of all 5.1 surround files follows the standard as defined by SMPT/EBU and implemented by SourceForge in FLAC (v. 1.2.1b): L – R – C – Lfe – Ls - Rs flac.sourceforge.net

The free HiRes 5.1 surround samples can be downloaded here: http://www.2l.no/hires/index.html
We invite you to join us in this evaluation of future consumer delivery formats. FLAC is a lossless encoding of WAV-files derived directly from our production original used for the SACD and Pure Audio Blu-ray. All resolutions and encodings are derived from the same original DXD source files. Please send us an e-mail and share your experience on your practical experience with these file formats. Enjoy the music!
To download audio please provide the username HD and the password 2L
http://www.2l.no/hires/index.html

Changing the Sample Rate
https://wiki.archlinux.org/index.php/OS ... ample_Rate
Changing the Default Sound Output
https://wiki.archlinux.org/index.php/OS ... und_Output
Attachments
DeadBeef_plugin_configure.png.tar.bz2
DeadBeef → Edit → Preferences → Plugins
(24.58 KiB) Downloaded 675 times
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby niko11 » Wed Aug 24, 2011 6:07 pm

I only tried 5.1 whith osstest. After that i download some testfiles and played with ossplay.

Testfiles:
http://www.kellyindustries.com/sounds.html

and bingo,there is sound on both cards and the reseiver (Denon 2308) which changes the income signal without any problem.

The vdr and xbmc always still have no surround. So I played with the configuration. Nothing happens. Now i update the gentoo system.
There is hal and udev installed, so I will try just udev and make a better make.conf on the system (thanks to Peje).

Thank you very much for your held!

When it will work i will look after the good production sound ;-) But this will take some time.

PS: I think the ALC 892 Chip is better than the CM8783 Chip (no Pro Logic II sound, just stereo).
niko11
New Member
 
Posts: 6
Joined: Wed Aug 17, 2011 8:12 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby igorzwx » Wed Aug 24, 2011 7:30 pm

niko11 wrote:I will try just udev


UDev is a notorious trouble maker, but you can load the drivers you need before it starts its "stupid business of auto-loading".
You may google this forum for more details.
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby ojin11 » Sat Nov 26, 2011 9:13 am

Well, you can give some try to find out the Cesium on IRC. Furthermore, you have also the option to find out a very special test audio file which would enable you to get more into solving your issue. By the way, make sure you work it out very well to get the correct configuration in ossimix.
ojin11
New Member
 
Posts: 4
Joined: Sat Nov 26, 2011 9:11 am

Re: Spdout just plays stereo (intel HDA; rev 40)?

Postby igorzwx » Sat Nov 26, 2011 11:56 am

ojin11 wrote:Well, you can give some try to find out the Cesium on IRC. Furthermore, you have also the option to find out a very special test audio file which would enable you to get more into solving your issue. By the way, make sure you work it out very well to get the correct configuration in ossimix.


If you do not hear the difference, you can simply ignore any tests. What is the problem?
If you see a "buffalo" sign on an elephant's cage, do not believe your eyes.
Если на клетке слона прочтёшь надпись «буйвол», не верь глазам своим.
Kozma Prutkov http://en.wikipedia.org/wiki/Kozma_Prutkov

It is very probable that a new version of OSS4 may have a better resampler. You may ask Cesium for more information.

The git-version of OSS4 plugin for Audacious has "exclusive mode" which allows to "disable redirection to virtual mixer engines and sample rate/format conversions", but it seems to be impossible to disable format conversion in Audacious. It might be a kind of "very advanced" ALSA converter, it is likely to deteriorate sound quality. In any case, it is a lossy conversion, by definition http://en.wikipedia.org/wiki/Lossy_data_conversion There is also a magic resampler for Audacious viewtopic.php?f=3&t=3834 Although the deaf may not hear the difference, it might be interesting to try.
Code: Select all
$ yaourt audacious git
2 aur/audacious-git 20111108-1 (7)
    Lightweight, GTK-based advanced audio player focused on audio quality.
3 aur/audacious-plugins-git 20111112-1 (5)
    Plugins for Audacious
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==>

Code: Select all
pkgname=audacious-oss-plugins-git

./configure --prefix=/usr --enable-amidiplug --disable-adplug --disable-pulse --disable-alsa --disable-amidiplug-alsa --disable-resample
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm


Return to Linux

Who is online

Users browsing this forum: Bing [Bot] and 1 guest