Sound input/output not functioning - ALSA and OSS4

OSS related discussion in general (i.e. not limited to Linux/Solaris/BSD)

Moderators: hannu, dev, cesium, kodachi

Sound input/output not functioning - ALSA and OSS4

Postby data_ » Wed Feb 09, 2011 6:33 am

Hi everyone!

I recently installed a copy of Ubuntu 10.10, everything was a success except for sound inputs. Output still worked fine, with ALSA, and the default configuration. I attempted to troubleshoot, and configure ALSA to work, with no avail. So I attempted and decided to use OSS4, which was suggested here https://help.ubuntu.com/community/OpenSound after following the instructions, which I assumed would work with 10.10 as well, even though it was meant for 9.04.

The install succeeded and for about 5 minutes, I could see the input levels working correctly in ossxmix. Once closed, input and output stopped functioning.

Here are the outputs for ossmix and ossinfo -v3. Any ideas would be much appreciated! Been attempted to get this working for the last 3 days now.

Code: Select all
$ ossmix
Selected mixer 0/High Definition Audio 92HD71B7X
Known controls are:
jack.fp-gray.mode <pcm1|pcm2|mix> (currently pcm1)
jack.int-speaker.mode <pcm1|pcm2|mix> (currently pcm1)
jack.int-pink <0.0dB|16.0dB|32.0dB|48.0dB> (currently 0.0dB)
jack.black.select5 <spdifout2|select3|select4> (currently spdifout2)
record.select3 <0.0dB|16.0dB|32.0dB|48.0dB> (currently 0.0dB)
record.select3.select31 [<leftvol>:<rightvol>] (currently 19.4:19.4 dB)
record.select3.select32 <select1|mix|int-mic> (currently select1)
record.select4 <0.0dB|16.0dB|32.0dB|48.0dB> (currently 0.0dB)
record.select4.select41 [<leftvol>:<rightvol>] (currently 19.4:19.4 dB)
record.select4.select42 <select2|mix|int-mic> (currently select2)
misc.pcm11 [<leftvol>:<rightvol>] (currently 76.4:76.4 dB)
misc.pcm21 [<leftvol>:<rightvol>] (currently 76.4:76.4 dB)
misc.pcm12 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.pcm22 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.select1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.select2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.mix <pcm1|pcm2|select1|select2> (currently pcm1)
misc <-28.-8dB|-19.-2dB|-9.-6dB|0.0dB|mute> (currently -28.-8dB)
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 24.8 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)


Code: Select all
~$ ossinfo -v3
Version info: OSS 4.2 (b 2004/201101051152) (0x00040100) TRIAL
Platform: Linux/i686 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 (b)

Number of audio devices:   5
Number of audio engines:   9
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=209116 (254750)
    HD Audio controller ATI HD Audio
    Vendor ID    0x10024383
    Subvendor ID 0x103c1506
     Codec  0: 92HD71B7X (0x111d76b2/0x103c1506)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

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

HD Audio play spdifout2           /dev/oss/oss_hdaudio0/spdout0  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/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: PCI1506103c-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,176400,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec select3              /dev/oss/oss_hdaudio0/pcmin0  (device index 3)
    Legacy device /dev/dsp3
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 3/HD Audio rec select3
                     Available for use
      Engine      2: 5/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      3: 6/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 7/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 8/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: PCI1506103c-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,176400,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec select4              /dev/oss/oss_hdaudio0/pcmin1  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 4/HD Audio rec select4
                     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: PCI1506103c-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,176400,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


Thanks in advance, again. I appreciate any suggestions or ideas, one might have.

Best,
data
data_
New Member
 
Posts: 1
Joined: Wed Feb 09, 2011 6:24 am

Re: Sound input/output not functioning - ALSA and OSS4

Postby cesium » Thu Feb 10, 2011 11:05 pm

A) "I could see the input levels working correctly in ossxmix" I'm not sure it was the card. Does actual recording work if it's open? And how did you test recording? I suggest testing with the oss supplied util - e.g. 'ossrecord - | ossplay -' (and see if you can get an echo).

B) Trying changing recording.select... comboboxes in ossxmix to int-mic values and retest recording.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Sound input/output not functioning - ALSA and OSS4

Postby justin_ruch1180 » Fri Apr 08, 2011 2:11 am

Is there a new version for UBUNTU?
justin_ruch1180
New Member
 
Posts: 1
Joined: Fri Apr 08, 2011 1:33 am

Re: Sound input/output not functioning - ALSA and OSS4

Postby roimadhan » Mon Jun 27, 2011 8:20 am

i got much information about from it. How should i use the cards for ALSA? what will be the sampling rate?
roimadhan
New Member
 
Posts: 2
Joined: Mon Jun 27, 2011 6:42 am

Re: Sound input/output not functioning - ALSA and OSS4

Postby igorzwx » Mon Jun 27, 2011 7:18 pm

roimadhan wrote:i got much information about from it. How should i use the cards for ALSA? what will be the sampling rate?


Do you want to learn ALSA?
You may ask for help on the Russian Ubuntu forum http://forum.ubuntu.ru/index.php?topic=112480.0
arateconf - ALSA configuration tool (made in Russia) http://forum.ubuntu.ru/index.php?topic= ... #msg939449
fftrate is the Russian "scientific resampler" (it is said to be very exact).

You may also try to find ALSA forums (if it is not deprecated), or try to subscribe to the Russian Ubuntu forum as a "foreign guest".

This forum has nothing to do with ALSA, it is the OSS4 support forum
viewtopic.php?f=3&t=4231#p16817
igorzwx
Moderator
 
Posts: 1005
Joined: Sun Jun 28, 2009 9:31 pm

Re: Sound input/output not functioning - ALSA and OSS4

Postby roimadhan » Tue Jun 28, 2011 12:43 am

Thanks for your information. I will go through all those things.
roimadhan
New Member
 
Posts: 2
Joined: Mon Jun 27, 2011 6:42 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest