[Techtalk] OSS4 (fedora 20 64 bit) - installed but only Dummy Output device

Gwen Morse gwen.morse at gmail.com
Sun Nov 9 16:13:00 UTC 2014


I decided to play with OSS v 4. I downloaded the 64-bit fedora rpm from the
4front-tech site and installed it. it appeared to install cleanly.
Rebooted.

I can play .wav files using ossplay and I can control the volume/etc using
ossxmix. Sound output from ossplay is very sharp and clean. osstest outputs
to my laptop speakers and my USB wireless headset. That's good so far :D.

However, none of my kde packages can see I have a sound device. All Kmix
shows is a "Dummy Output" sound card device when I check the Audio Hardware
Setup.

I tried searching for solutions but most information is either Ubuntu
specific (install this ppa to magically fix things) or suggestions that the
poster give up and just use ALSA. I also stumbled across a surprising
amount of hostility towards OSS in the Fedora community; it gives the
impression that every scrap of OSS 4 code is disabled by default (and that
may be the problem).

I figure my issue is one of two things:

1) I need to edit one (or more) config file(s) somewhere to tell my devices
I'm using the OSS kernel drivers instead of the ALSA kernel drivers.

2) Something in the chain of sound packages needs its OSS 4 support enabled
(most likely by rebuilding a package or packages by hand).

System is Fedora 20 64-bit. My daily desktop is KDE and I use Kmix with the
Phonon Gstreamer backend. Alsa and Pulse Audio are on the system but Pulse
is disabled.

I logged into Gnome and Xfce to confirm their audio packages don't find my
sound card either.

Any pointers on where to go from here would be appreciated.




[root at localhost system]# gst-inspect-0.10 | grep OSS
ossaudio:  osssink: Audio Sink (OSS)
ossaudio:  osssrc: Audio Source (OSS)
ossaudio:  ossmixer: OSS Mixer
oss4:  oss4mixer: OSS v4 Audio Mixer
oss4:  oss4src: OSS v4 Audio Source
oss4:  oss4sink: OSS v4 Audio Sink


[goldmoon at localhost ~]$ dmesg -T -l err,crit,alert,emerg
[Sun Nov  9 13:23:22 2014] oss_hdaudio: HDA codec 0x10de0005 not known yet
[Sun Nov  9 13:23:22 2014] oss_hdaudio: HDA codec 0x10de0005 not known yet
[goldmoon at localhost ~]$


[goldmoon at localhost ~]$ sudo soundon
[sudo] password for goldmoon:
OSS is already loaded.
[goldmoon at localhost ~]$


[goldmoon at localhost ~]$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 03)
[goldmoon at localhost ~]$


[goldmoon at localhost ~]$ lsmod | grep oss
oss_usb               129904  5
oss_hdaudio           157640  5
osscore               582802  4 oss_hdaudio,oss_usb
[goldmoon at localhost ~]$



[goldmoon at localhost ~]$ ossinfo -v9
Version info: OSS 4.2 (b 2010/201409040528) (0x00040100) TRIAL
Platform: Linux/x86_64 3.16.7-200.fc20.x86_64 #1 SMP Thu Oct 30 18:12:41
UTC 2014 (localhost.localdomain)

Number of audio devices:        11
Number of audio engines:        15
Number of MIDI devices:         0
Number of mixer devices:        4


Device objects
 0: osscore0 OSS core services
 1: oss_hdaudio0 Intel HD Audio interrupts=10326 (10326)
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086293e
    Subvendor ID 0x107b0696
     Codec  0: CX20561 (0x14f15051/0x107b0698)
     Codec  1: Conexant2c06 (0x14f12c06)
     Codec  2: Unknown (0x10de0005/0x10de0101)
 2: oss_usb0 USB audio core services
 3: usb046d0a29-0 USB sound device
 4: usb046d0a29-1 USB sound device
 5: usb046d0a29-2 USB sound device
 6: usb046d0a29-3 USB sound device
 7: usb046d0a29-4 USB sound device
 8: usb046d0a29-5 USB sound device
 9: usb046d0a29-6 USB sound device
10: usb046d0a29-7 USB sound device
11: usb046d0a29-8 USB sound device

MIDI devices (/dev/midi*)

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

 1: (USB sound device )(Mixer 0 of device object 3)
    Device file /dev/oss/usb046d0a29-0/mix0, Legacy device /dev/mixer1
   ******* DEVICE NOT PLUGGED IN *******
    Priority: 0
    Caps:
    Device handle: USB-usb046d0a29-0-mx01
    Device priority: 0

 2: (USB sound device )(Mixer 0 of device object 6)
    Device file /dev/oss/usb046d0a29-3/mix0, Legacy device /dev/mixer2
   ******* DEVICE NOT PLUGGED IN *******
    Priority: 0
    Caps:
    Device handle: USB-usb046d0a29-3-mx01
    Device priority: 0

 3: USB sound device (Mixer 0 of device object 9)
    Device file /dev/oss/usb046d0a29-6/mix0, Legacy device /dev/mixer3
    Priority: 0
    Caps:
    Device handle: USB-usb046d0a29-6-mx01
    Device priority: 0


Audio devices
HD Audio play pcm                 /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 pcm
                     Available for use
      Engine      2: 7/HD Audio play pcm (vmix)
                     Available for use
      Engine      3: 8/HD Audio play pcm (vmix)
                     Available for use
      Engine      4: 9/HD Audio play pcm (vmix)
                     Available for use
      Engine      5: 10/HD Audio play pcm (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: PCI0696107b-0000:00:1b.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): 44100 - 192000
(44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm                 /dev/oss/oss_hdaudio0/pcm1  (device index
1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/HD Audio play pcm
                     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: PCI0696107b-0000:00:1b.0-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 modem-out           /dev/oss/oss_hdaudio0/pcm2  (device index
2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/HD Audio play modem-out
                     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: PCI0696107b-0000:00:1b.0-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): 16000 - 48000 (16000,48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout            /dev/oss/oss_hdaudio0/spdout0  (device
index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 3/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: PCI0696107b-0000:00:1b.0-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 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout            /dev/oss/oss_hdaudio0/spdout1  (device
index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 4/HD Audio play spdifout
                     Available for use
    Input formats (0x00001418):
      AFMT_U8           - 8 bit unsigned
      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 (0x00001418):
      AFMT_U8           - 8 bit unsigned
      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: PCI0696107b-0000:00:1b.0-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): 48000 - 88200 (48000,88200)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec rec                  /dev/oss/oss_hdaudio0/pcmin0  (device
index 5)
    Legacy device /dev/dsp5
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 5/HD Audio rec rec
                     Available for use
      Engine      2: 7/HD Audio play pcm (vmix)
                     Available for use
      Engine      3: 8/HD Audio play pcm (vmix)
                     Available for use
      Engine      4: 9/HD Audio play pcm (vmix)
                     Available for use
      Engine      5: 10/HD Audio play pcm (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: PCI0696107b-0000:00:1b.0-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 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec modem-out            /dev/oss/oss_hdaudio0/pcmin1  (device
index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER MMAP
    Modes: INPUT
      In engine   1: 6/HD Audio rec modem-out
                     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: PCI0696107b-0000:00:1b.0-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): 16000 - 48000 (16000,48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

(USB sound device rec              /dev/oss/usb046d0a29-1/pcmin0 ) (device
index 7)
    Legacy device /dev/dsp7
    Caps: TRIGGER MMAP
    Modes: INPUT
   ******* DEVICE NOT PLUGGED IN *******
    Input formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Output formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Device handle: USB-usb046d0a29-1-au01
    Related mixer dev: 1
    Sample rate source: 11
    Preferred channel configuration: MONO
    Supported number of channels (min - max): 1 - 1
    Native sample rates (min - max): 48000 - 48000 (48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

(USB sound device play             /dev/oss/usb046d0a29-2/pcm0 ) (device
index 8)
    Legacy device /dev/dsp8
    Caps: TRIGGER MMAP
    Modes: OUTPUT
   ******* DEVICE NOT PLUGGED IN *******
    Input formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Output formats (0x00000010):
      AFMT_S16_LE       - 16 bit signed little endian
    Device handle: USB-usb046d0a29-2-au01
    Related mixer dev: 1
    Sample rate source: 11
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000 (48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

USB sound device rec              /dev/oss/usb046d0a29-7/pcmin0  (device
index 9)
    Legacy device /dev/dsp9
    Caps: TRIGGER MMAP
    Modes: INPUT
      In engine   1: 13/USB sound device rec
                     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: USB-usb046d0a29-7-au01
    Related mixer dev: 3
    Sample rate source: 11
    Preferred channel configuration: MONO
    Supported number of channels (min - max): 1 - 1
    Native sample rates (min - max): 48000 - 48000 (48000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

USB sound device play             /dev/oss/usb046d0a29-8/pcm0  (device
index 10)
    Legacy device /dev/dsp10
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 14/USB sound device play
                     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: USB-usb046d0a29-8-au01
    Related mixer dev: 3
    Sample rate source: 11
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000 (48000)
    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
[goldmoon at localhost ~]$




-- 
Program designers have a tendency to think of the users as idiots who need
to be controlled. They should rather think of their program as a servant,
whose master, the user, should be able to control it. If designers and
programmers think about the apparent mental qualities that their programs
will have, they'll create programs that are easier and pleasanter — more
humane — to deal with.  -- John McCarthy


More information about the Techtalk mailing list