Weird interface

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Weird interface

Postby DeFender1031 » Mon Jan 02, 2012 8:13 pm

I'm having trouble getting input to work with OSS4. My ossxmix looks like this which is highly confusing to me. Nonetheless, i've tried every option in that "select1" list with most of the available /dev/dsp's to no avail. A friend of mine with the same family of sound card has an ossxmix that looks like this which is far more descriptive, intuitive, and even color-coded. He's having no issues whatsoever. Is there something I'm doing wrong?

Relevant info:
ossinfo: http://paste.nachsoftware.com/DeFender1 ... 1cea0320Pt
Code: Select all
~# lspci  | grep -i audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
~# uname -a
Linux Compe 3.0.0-2-amd64 #1 SMP Fri Oct 7 20:48:45 UTC 2011 x86_64 GNU/Linux

Running on Debian with dkms.
DeFender1031
New Member
 
Posts: 4
Joined: Mon Jan 02, 2012 7:55 pm

Re: Weird interface

Postby nuc » Sat Sep 08, 2012 5:23 pm

same question
nuc
Moderator
 
Posts: 93
Joined: Fri Aug 03, 2012 10:20 am
Sound Card: Onboard VIA VT2020
OS: ArchLinux

Re: Weird interface

Postby cesium » Sat Sep 08, 2012 6:23 pm

Can you post your "ossmix -a" and "ossinfo -v3" output? Also, how did you test it? I suggest trying ossrecord for testing.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Weird interface

Postby DeFender1031 » Mon Sep 10, 2012 2:08 pm

Sorry. Apparently the pastebin post expired. Here's the info:

Code: Select all
> ossmix -a
Selected mixer 0/High Definition Audio 0x11060397
Known controls are:
jack.jack1c.mute ON|OFF (currently OFF)
jack.jack1c.pcm11 [<leftvol>:<rightvol>] (currently 62.9:62.9 dB)
jack.jack1c.pcm12 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.int-cd [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.pcm3 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.pcm2 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.jack6 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.jack5 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1c.pcm4 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
jack.jack1d.mute ON|OFF (currently OFF)
jack.jack1e.mute ON|OFF (currently OFF)
record.select1.select1 <int-cd|pcm3|pcm2|jack6|jack5|mix> (currently mix)
record.select1 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
record.jack6 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
misc.pcm2 [<leftvol>:<rightvol>] (currently 62.9:62.9 dB)
misc.mute1 ON|OFF (currently OFF)
misc.pcm3 [<leftvol>:<rightvol>] (currently 62.9:62.9 dB)
misc.pcm4 [<leftvol>:<rightvol>] (currently 62.9:62.9 dB)
misc.mute2 ON|OFF (currently OFF)
misc.mute3 ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 23.3 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 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)
vmix0.pcm14 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
> ossinfo -v3
Version info: OSS 4.2 (b 2005/201110151348) (0x00040100) GPL
Platform: Linux/x86_64 3.0.0-2-amd64 #1 SMP Fri Oct 7 20:48:45 UTC 2011 (Compe)

Number of audio devices:        8                                                                                                                                                             
Number of audio engines:        15                                                                                                                                                           
Number of MIDI devices:         0                                                                                                                                                             
Number of mixer devices:        1                                                                                                                                                             
                                                                                                                                                                                             
                                                                                                                                                                                             
Device objects                                                                                                                                                                               
0: osscore0 OSS core services                                                                                                                                                               
1: oss_hdaudio0 ATI HD Audio interrupts=195278620 (199403256)                                                                                                                               
    HD Audio controller ATI HD Audio                                                                                                                                                         
    Vendor ID    0x10024383                                                                                                                                                                   
    Subvendor ID 0x83571043
     Codec  0: Unknown (0x11060397/0x1043836c)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio 0x1106039 (Mixer 0 of device object 1)
    Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCI10438357-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: 8/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      3: 9/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 10/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 11/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      6: 12/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      7: 13/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      8: 14/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: PCI10438357-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,88200,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: PCI10438357-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,88200,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: PCI10438357-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,88200,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: PCI10438357-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,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout1           /dev/oss/oss_hdaudio0/spdout0  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 4/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: PCI10438357-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,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout2           /dev/oss/oss_hdaudio0/spdout1  (device index 5)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/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: PCI10438357-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): 44100 - 192000 (44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec select1              /dev/oss/oss_hdaudio0/pcmin0  (device index 6)
    Legacy device /dev/dsp6
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 6/HD Audio rec select1
                     Available for use
      Engine      2: 8/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      3: 9/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 10/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 11/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      6: 12/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      7: 13/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      8: 14/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: PCI10438357-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): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec jack6                /dev/oss/oss_hdaudio0/pcmin1  (device index 7)
    Legacy device /dev/dsp7
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 7/HD Audio rec jack6
                     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: PCI10438357-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


Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
  /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
DeFender1031
New Member
 
Posts: 4
Joined: Mon Jan 02, 2012 7:55 pm

Re: Weird interface

Postby DeFender1031 » Mon Sep 10, 2012 2:11 pm

As for how I tested it, I used a variety of programs which expected microphone input, including and primarily, ossrecord. It was all silent.
DeFender1031
New Member
 
Posts: 4
Joined: Mon Jan 02, 2012 7:55 pm

Re: Weird interface

Postby cesium » Fri Sep 14, 2012 10:53 pm

This is a far too late response, so perhaps useless (I use the RSS feed to check the forum, and I missed the reply)... But some general ideas: try recording from pcmin1. Try hdaudio_noskip=7 setting in oss_hdaudio.conf (see "man oss_hdaudio").
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Weird interface

Postby DeFender1031 » Sun Dec 02, 2012 2:22 am

So my motherboard fried last week and i had to get a new one (along with half of my other components) and ossxmix looks a lot fuller on my new board. Guess my old one just had crappy embedded sound hardware, but whatever the case, this is probably no longer an issue for me (i haven't tested recording anything yet, as my mic also broke a few months ago).
DeFender1031
New Member
 
Posts: 4
Joined: Mon Jan 02, 2012 7:55 pm


Return to Linux

Who is online

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