Doug Laidlaw <laidlaws@hotkey.net.au> writes:
I have an app which shows voice from the mic. getting as far as
pavucontrol, but no further. I have installed aoss and libalsa-oss0.
From forums, it seems that I need to load the snd* modules as well.
How do I do this?
On 21/07/18 18:24, Ivan Shmakov wrote:
Thanks, Ivan. Where do I put that to make it permanent on bootup?Doug Laidlaw <laidlaws@hotkey.net.au> writes:
> I have an app which shows voice from the mic. getting as far as
> pavucontrol, but no further. I have installed aoss and libalsa-oss0.
> From forums, it seems that I need to load the snd* modules as well.
I've never used aoss myself, but I assume you need either that
/or/ the modules, not both. Cf. [1].
[1] The aoss script for OSS emulation // ALSA wiki.
URI: https://web.archive.org/web/20170826/http://alsa.opensrc.org:80/Aoss
> How do I do this?
# modprobe -- snd-pcm-oss
At least then $ mpg123 -o oss -- file.mp3 starts working for me.
You may also want # modprobe -- snd-mixer-oss.
[...]
Doug Laidlaw <laidlaws@hotkey.net.au> writes:
> I have an app which shows voice from the mic. getting as far as
> pavucontrol, but no further. I have installed aoss and libalsa-oss0.
> From forums, it seems that I need to load the snd* modules as well.
I've never used aoss myself, but I assume you need either that
/or/ the modules, not both. Cf. [1].
[1] The aoss script for OSS emulation // ALSA wiki.
URI: https://web.archive.org/web/20170826/http://alsa.opensrc.org:80/Aoss
> How do I do this?
# modprobe -- snd-pcm-oss
At least then $ mpg123 -o oss -- file.mp3 starts working for me.
You may also want # modprobe -- snd-mixer-oss.
[...]
Bit Twister <BitTwister@mouse-potato.com> writes:
On Sat, 21 Jul 2018 22:05:19 +1000, Doug Laidlaw wrote:
On 21/07/18 18:24, Ivan Shmakov wrote:
# modprobe -- snd-pcm-oss
At least then $ mpg123 -o oss -- file.mp3 starts working for me.
You may also want # modprobe -- snd-mixer-oss.
Thanks, Ivan. Where do I put that to make it permanent on bootup?
A quick read from man modprobe would suggest /etc/modprobe.d
For examples:
$ ls /etc/modprobe.d
00_modprobe.conf blacklist-compat.conf lockd.conf
01_mga-config.conf blacklist-mga.conf snd-oss.conf
20_xx__custom.conf ipw-no-associate.conf visor.conf
Bit Twister <BitTwister@mouse-potato.com> writes:
On Sat, 21 Jul 2018 22:05:19 +1000, Doug Laidlaw wrote:
On 21/07/18 18:24, Ivan Shmakov wrote:
[...]
# modprobe -- snd-pcm-oss
At least then $ mpg123 -o oss -- file.mp3 starts working for me.
You may also want # modprobe -- snd-mixer-oss.
Thanks, Ivan. Where do I put that to make it permanent on bootup?
A quick read from man modprobe would suggest /etc/modprobe.d
For examples:
$ ls /etc/modprobe.d
00_modprobe.conf blacklist-compat.conf lockd.conf
01_mga-config.conf blacklist-mga.conf snd-oss.conf
20_xx__custom.conf ipw-no-associate.conf visor.conf
IMO, these files are supposed to hold options passed to modules
when they are loaded; or if a module should be prevented from
loading ("blacklisted.")
Whether the module gets loaded at all is a different matter
altogether.
Thanks, Ivan. Where do I put that to make it permanent on bootup?
A quick read from man modprobe would suggest /etc/modprobe.d
For examples:
$ ls /etc/modprobe.d
00_modprobe.conf blacklist-compat.conf lockd.conf
01_mga-config.conf blacklist-mga.conf snd-oss.conf
20_xx__custom.conf ipw-no-associate.conf visor.conf
Doug Laidlaw <laidlaws@hotkey.net.au> writes:
On 21/07/18 18:24, Ivan Shmakov wrote:
# modprobe -- snd-pcm-oss
At least then $ mpg123 -o oss -- file.mp3 starts working for me.
You may also want # modprobe -- snd-mixer-oss.
Thanks, Ivan. Where do I put that to make it permanent on bootup?
IMO, these files are supposed to hold options passed to modules
when they are loaded; or if a module should be prevented from
loading ("blacklisted.")
On Sat, 21 Jul 2018 08:24:50 -0400, Ivan Shmakov <ivan@siamics.net> wrote:
IMO, these files are supposed to hold options passed to modules
when they are loaded; or if a module should be prevented from
loading ("blacklisted.")
And in this particular case, on a Mageia 6 x86_64 system ...
$ cat /etc/modprobe.d/snd-oss.conf
# We need to ensure that no ALSA OSS compatibility modules are loaded so
# we can use osspd easily
blacklist snd_pcm_oss
blacklist snd_mixer_oss
blacklist snd_seq_oss
The osspd daemon is in the ossp package, which has the description ...
OSS Proxy Daemon is Linux userland OSS sound device (/dev/[a]dsp
and /dev/mixer) implementation using CUSE. Currently it supports
forwarding OSS sound streams to PulseAudio and ALSA.
$ systemctl -a status osspd.service
should show the service is active (running)
$ ll /dev/*dsp*
crw-rw----+ 1 root audio 14, 12 Jul 16 21:31 /dev/adsp
crw-rw----+ 1 root audio 14, 3 Jul 16 21:31 /dev/dsp
With those devices present, oss should be working without the need
to load the snd_*_oss modules.
Regards, Dave Hodgins
Thanks Dave. I installed the package; now I need to undo my fumbling.
The osspd daemon is in the ossp package, which has the description ...Thanks Dave. I installed the package; now I need to undo my fumbling.
I have an app which shows voice from the mic. getting as far as pavucontrol, but
no further. I have installed aoss and libalsa-oss0. From forums, it seems that
I need to load the snd* modules as well. How do I do this? I am running Mageia,
with all its directories ending in ".d" to replace readable config files, and with systemd.
Ah, for the good old user-friendly days!
Doug.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 64:48:19 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,096 |
Messages: | 5,274,905 |