After reading through the forums, I already built OSS from source using Mercurial.
Everything went fine until I executed the newly install deb package. It could no load the module oss_cmpci:
-----------------------------
Detected VIA High Definition Audio
Detected CMedia CM8738/CM8768
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)
-----------------------------
Forcing re-detection of installed soundcards
Starting Open Sound System
Segmentation fault
Loading module oss_cmpci failed - ignored
At this point I am not sure how I should continue.
Outcome for ossinfo -v3:
Code: Select all
Version info: OSS 4.2 (b 2003/201101031831) (0x00040100) OSS_HG
Hg revision: changeset: 920:232d0de71550, tag: tip, date: Tue Nov 02 23:45:15 2010 +0200, summary: Misc changes to ossplay
Platform: Linux/x86_64 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010 (homebase)
Number of audio devices: 9
Number of audio engines: 16
Number of MIDI devices: 0
Number of mixer devices: 2
Device objects
0: osscore0 OSS core services
1: oss_cmpci0 CMedia CM8738 interrupts=1978 (1978)
2: oss_hdaudio0 VIA HD Audio interrupts=1936 (1936)
HD Audio controller VIA HD Audio
Vendor ID 0x11063288
Subvendor ID 0x1631e028
Codec 0: ALC888 (0x10ec0888/0x1631e028)
3: oss_usb0 USB audio core services
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:00:09.0-mx01
Device priority: 1
1: High Definition Audio ALC888 (Mixer 0 of device object 2)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer1
Priority: 10
Caps:
Device handle: PCIe0281631-0000:80:01.0-mx01
Device priority: 10
Audio devices
CMedia CM8738 (rev 37) /dev/oss/oss_cmpci0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Engine 1: 0/CMedia CM8738 (rev 37)
Available for use
Engine 2: 1/CMedia CM8738 (rev 37) (vmix)
Available for use
Engine 3: 2/CMedia CM8738 (rev 37) (vmix)
Available for use
Engine 4: 15/CMedia CM8738 (rev 37) (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:00:09.0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 6
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 1)
Legacy device /dev/dsp1
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 3/HD Audio play front
Available for use
Engine 2: 11/HD Audio play front (vmix)
Available for use
Engine 3: 12/HD Audio play front (vmix)
Available for use
Engine 4: 13/HD Audio play front (vmix)
Available for use
Engine 5: 14/HD Audio play front (vmix)
Available for use
Engine 6: 15/CMedia CM8738 (rev 37) (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: PCIe0281631-0000:80:01.0-au01
Related mixer dev: 1
Sample rate source: 3
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 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 4/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: PCIe0281631-0000:80:01.0-au02
Related mixer dev: 1
Sample rate source: 3
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 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 5/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: PCIe0281631-0000:80:01.0-au03
Related mixer dev: 1
Sample rate source: 3
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 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 6/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: PCIe0281631-0000:80:01.0-au04
Related mixer dev: 1
Sample rate source: 3
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 5)
Legacy device /dev/dsp5
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 7/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: PCIe0281631-0000:80:01.0-au05
Related mixer dev: 1
Sample rate source: 3
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 6)
Legacy device /dev/dsp6
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 8/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: PCIe0281631-0000:80:01.0-au06
Related mixer dev: 1
Sample rate source: 3
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 mix /dev/oss/oss_hdaudio0/pcmin0 (device index 7)
Legacy device /dev/dsp7
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 9/HD Audio rec mix
Available for use
Engine 2: 11/HD Audio play front (vmix)
Available for use
Engine 3: 12/HD Audio play front (vmix)
Available for use
Engine 4: 13/HD Audio play front (vmix)
Available for use
Engine 5: 14/HD Audio play front (vmix)
Available for use
Engine 6: 15/CMedia CM8738 (rev 37) (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: PCIe0281631-0000:80:01.0-au07
Related mixer dev: 1
Sample rate source: 3
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 mix /dev/oss/oss_hdaudio0/pcmin1 (device index 8)
Legacy device /dev/dsp8
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 10/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: PCIe0281631-0000:80:01.0-au08
Related mixer dev: 1
Sample rate source: 3
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
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_cmpci0/pcm0
/dev/dsp_mmap -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_multich -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_spdifout -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_spdifin -> /dev/oss/oss_cmpci0/pcm0
Outcome for osstest: (I only get sound for /dev/oss/oss_cmpci0/pcm0)
Code: Select all
Sound subsystem and version: OSS 4.2 (b 2003/201101031831) (0x00040100)
Platform: Linux/x86_64 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010
*** Scanning sound adapter #-1 ***
/dev/oss/oss_cmpci0/pcm0 (audio engine 0): CMedia CM8738 (rev 37)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47995.00 Hz (-0.01%)>
*** Scanning sound adapter #1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 3): HD Audio play front
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47983.00 Hz (-0.04%)>
/dev/oss/oss_hdaudio0/pcm1 (audio engine 4): HD Audio play rear
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47983.00 Hz (-0.04%)>
/dev/oss/oss_hdaudio0/pcm2 (audio engine 5): HD Audio play center/LFE
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47983.00 Hz (-0.04%)>
/dev/oss/oss_hdaudio0/pcm3 (audio engine 6): HD Audio play side
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47983.00 Hz (-0.04%)>
/dev/oss/oss_hdaudio0/pcm4 (audio engine 7): HD Audio play pcm4
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47983.00 Hz (-0.04%)>
/dev/oss/oss_hdaudio0/spdout0 (audio engine 8): HD Audio play spdif-out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47983.00 Hz (-0.04%)>
/dev/oss/oss_hdaudio0/pcmin0 (audio engine 9): HD Audio rec mix
- Skipping input only device
/dev/oss/oss_hdaudio0/pcmin1 (audio engine 10): HD Audio rec mix
- Skipping input only device
*** All tests completed OK ***
Could someone point me kindly to a possible solution or let me know if more information is needed?
Thanks
Edit: sudo soundoff and ossmix give me a Segmentation fault