Missing module snd-pcm-oss in Lubuntu 13.10

Asked by MarekH on 2013-10-25

I would like to ask whether there Is a particular reason than in Lubuntu's 13.10 version of linux kernel and kernel modules packages is not included a module snd-pcm-oss?

(Probable) version of the affected package: linux-image-extra-3.11.0-12-generic

Is there a simple way how to obtain such module? (I know that reconfiguration and recompilation is the one possible way.)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
MarekH
Solved:
2013-10-27
Last query:
2013-10-27
Last reply:
2013-10-25

OSS support was ended in Ubuntu 10.10's kernel. The reason for its removal was more political than technical, so let's not go into it...

Anyway, most OSS programs will run okay with pulseaudio's OSS emulation. Command:
padsp <program>

MarekH (mhycko) said : #2

Thank you for your answer. Unfortunately, neither padsp, nor alsa-oss scripts work in my case.

(I am not sure, whether missing /dev/dsp* devices are the cause of not playing sounds in Lingea 5 dictionary. I have just found the string /dev/dsp in a binary of the application. So I am trying to get OSS emulation support in my computer. Currently, I am rebuilding kernel with the alsa-oss emulation support. The result (whether it would help) will be hopefully known on Monday.)

MarekH (mhycko) said : #3

I have tried to recompile the kernel with adding support for OSS emulation is ALSA driver and it HELPED to resolve my problem with Lingea 5 dictionary.

The steps are decribed e.g. in

https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

With addition that "Modifying the configuration" step is a must. After enabling OSS emulation in

amd64/config.flavour.generic (probably {architecture}/config.flavour.generic)

Device Drivers -->
  <M> Sound Card Support -->
     <M> Advanced Linux Sound System -->
Here add: <M> OSS PCM (digital audio) API (and check both optional parameters, i.e. "OSS PCM (digital audio) API - Include plugin system" and "OSS Sequencer API")

The next is to build kernel packages and install them into system. After reboot it worked.

(This was tried on amd64 13.04 Ubuntu and I suspect that it would work also on i386 13.10 (L)Ubuntu.)