Discussion:
/dev/dsp missing
(too old to reply)
Benjamí Villoslada
2006-12-30 02:50:06 UTC
Permalink
/dev/dsp is missing in my Debian Sid --I've used it one week ago with XMMS.

I've tried a oss-compat reinstallation, and have /dev/dsp again. But
disappears with the system reboot.

I've run alsaconf again. ALSA works fine.

Any idea? Thanks :)

Installed packages:

$ dpkg -l "*oss*" | grep ^i | awk '{print $2, $3}'
oss-compat 0.0.4

$ dpkg -l "*alsa*" | grep ^i | awk '{print $2, $3}'
alsa-base 1.0.13-3
alsa-firmware-loaders 1.0.13-1
alsa-tools 1.0.13-1
alsa-utils 1.0.13-1
alsamixergui 0.9.0rc2-1-9
libsdl1.2debian-alsa 1.2.11-7

Kernel:
$ uname -a
Linux itaca 2.6.18-3-686 #1 SMP Sun Dec 10 19:37:06 UTC 2006 i686 GNU/Linux

Regards,
--
Benjamí
http://blog.bitassa.cat



.
Nigel Henry
2006-12-30 13:20:15 UTC
Permalink
Post by Benjamí Villoslada
/dev/dsp is missing in my Debian Sid --I've used it one week ago with XMMS.
I've tried a oss-compat reinstallation, and have /dev/dsp again. But
disappears with the system reboot.
I've run alsaconf again. ALSA works fine.
Any idea? Thanks :)
$ dpkg -l "*oss*" | grep ^i | awk '{print $2, $3}'
oss-compat 0.0.4
$ dpkg -l "*alsa*" | grep ^i | awk '{print $2, $3}'
alsa-base 1.0.13-3
alsa-firmware-loaders 1.0.13-1
alsa-tools 1.0.13-1
alsa-utils 1.0.13-1
alsamixergui 0.9.0rc2-1-9
libsdl1.2debian-alsa 1.2.11-7
$ uname -a
Linux itaca 2.6.18-3-686 #1 SMP Sun Dec 10 19:37:06 UTC 2006 i686 GNU/Linux
Regards,
It's worth checking if the alsa-oss package is available on synaptic, and
installing it if so.

Strange that Xmms was working ok. Perhaps apt-get updates for Sid have removed
the alsa-oss package for some reason.

Nigel.
Benjamí Villoslada
2006-12-30 13:50:07 UTC
Permalink
Post by Nigel Henry
It's worth checking if the alsa-oss package is available on synaptic, and
installing it if so.
I've installed alsa-oss without results :(
Post by Nigel Henry
Strange that Xmms was working ok. Perhaps apt-get updates for Sid have
removed the alsa-oss package for some reason.
I can't see it in aptitude logs --always I use aptitude. Only one oss-compat
0.0.3 to 0.0.4 at Oct 2 2006. Seems that I never installed alsa-oss, but
oss works in my system before the last week :??

I can manually load oss modules:

$ sudo modprobe snd-pcm-oss
$ lsmod |grep -i oss
snd_pcm_oss 38368 0
snd_mixer_oss 15200 1 snd_pcm_oss
snd_pcm 68644 2 snd_pcm_oss,snd_cmipci
snd 47012 10
snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device

And have this in /etc/modules.conf but the boot process doesn't load those
modules:

------------------------------
### update-modules: start processing /etc/modutils/alsa-base
# autoloader aliases
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
alias sound-slot-4 snd-card-4
alias sound-slot-5 snd-card-5
alias sound-slot-6 snd-card-6
alias sound-slot-7 snd-card-7
above sound-slot-0 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-1 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-2 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-3 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-4 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-5 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-6 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-7 snd-pcm-oss snd-mixer-oss snd-seq-oss
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# Load optional modules above their base modules
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss snd-seq-midi
above snd-emu10k1 snd-emu10k1-synth
above snd-via82xx snd-seq
------------------------------

Thanks :)
--
Benjamí
http://blog.bitassa.cat



.
Benjamí Villoslada
2006-12-30 15:00:13 UTC
Permalink
I've seen this message durning one reboot (in order to test oss modules
load): "/etc/modprobe.conf exists but does not include /etc/modprobe.d/!"

I see that my /etc/modprobe.conf is empty (no idea about the reason) I've
added include /etc/modprobe.d and now the system loads oss modules on boot:

$ cat /etc/modprobe.conf
include /etc/modprobe.d
$ lsmod|grep -i oss
snd_pcm_oss 38368 0
snd_mixer_oss 15200 1 snd_pcm_oss
snd_pcm 68644 3 snd_cmipci,snd_pcm_oss
snd_seq_oss 28768 0
snd_seq_midi_event 7008 2 snd_seq_oss,snd_seq_midi
snd_seq 45680 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device 7820 6
snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 47012 16
snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
--
Benjamí
http://blog.bitassa.cat



.
h***@topoi.pooq.com
2006-12-31 22:40:06 UTC
Permalink
Post by Benjamí Villoslada
I've seen this message durning one reboot (in order to test oss modules
load): "/etc/modprobe.conf exists but does not include /etc/modprobe.d/!"
I see that my /etc/modprobe.conf is empty (no idea about the reason) I've
$ cat /etc/modprobe.conf
include /etc/modprobe.d
I did this on my sarge system (which also didn't have a /dev/dsp) and
one appeared. I could cat from it, and cat /dev/urandom to it and get
noise. There are probably better things to cat to it.

Unfortunately, after I did this, none of my audio programs worked.
Couldn't get sound out of kaffeine, xmms, konqueror....

Is this a matter of /dev/dsp disabling alsa or something?

When I took the line out of /etc/modprobe.conf, making it empty again,
and rebooted (just in case), /dev/dsp vanished, and sould still didn't
come back. I had a mute system. It took powering it down to restore
normal sound, without /dev/dsp. This is probably a bug somewhere, that
the sound card isn't being initialised properly.

Can anyone tell me how to get audio input without disbling the rest of
the sound system? That's what I thought I needed /dev/dsp for. I need
to rip cassette tapes of church services to post on the church web site.

-- hendrik
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Marty
2006-12-31 23:50:07 UTC
Permalink
Post by h***@topoi.pooq.com
Post by Benjamí Villoslada
I've seen this message durning one reboot (in order to test oss modules
load): "/etc/modprobe.conf exists but does not include /etc/modprobe.d/!"
I see that my /etc/modprobe.conf is empty (no idea about the reason) I've
$ cat /etc/modprobe.conf
include /etc/modprobe.d
I did this on my sarge system (which also didn't have a /dev/dsp) and
one appeared. I could cat from it, and cat /dev/urandom to it and get
noise. There are probably better things to cat to it.
Unfortunately, after I did this, none of my audio programs worked.
Couldn't get sound out of kaffeine, xmms, konqueror....
I know that xmms at least requires you to specify either ALSA or OSS in the
sound driver configuration menu.
Post by h***@topoi.pooq.com
Is this a matter of /dev/dsp disabling alsa or something?
When I took the line out of /etc/modprobe.conf, making it empty again,
and rebooted (just in case), /dev/dsp vanished, and sould still didn't
come back. I had a mute system. It took powering it down to restore
normal sound, without /dev/dsp. This is probably a bug somewhere, that
the sound card isn't being initialised properly.
Can anyone tell me how to get audio input without disbling the rest of
the sound system? That's what I thought I needed /dev/dsp for.
In Sarge some audio programs, like audacity use only OSS. Otherwise you can use
the ALSA sound devices. With ALSA I suppose you have to disable real OSS, which
has been deprecated anyway, and use the ALSA OSS-compatibility driver instead.
I do this myself but use a combination of OSS programs that seems to require
that I turn off the Gnome sound server (using the sound options in desktop
preferences) but that could be a configuration error on my part. This setup
obviously does not support audio mixing.

I need
Post by h***@topoi.pooq.com
to rip cassette tapes of church services to post on the church web site.
I've digitized a number of audio cassettes that using Gnome sound recorder, but
getting the volume right was always tricky.
Post by h***@topoi.pooq.com
-- hendrik
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Benjamí Villoslada
2007-01-01 03:50:06 UTC
Permalink
Post by h***@topoi.pooq.com
Can anyone tell me how to get audio input without disbling the rest of
the sound system?  That's what I thought I needed /dev/dsp for. I need
to rip cassette tapes of church services to post on the church web site.
Maybe with alsaconf (as root) and then look for mute channels with alsamixer.
--
Benjamí
http://blog.bitassa.cat



.
h***@topoi.pooq.com
2007-01-03 16:00:18 UTC
Permalink
Post by Benjamí Villoslada
Post by h***@topoi.pooq.com
Can anyone tell me how to get audio input without disbling the rest of
the sound system? ?That's what I thought I needed /dev/dsp for. I need
to rip cassette tapes of church services to post on the church web site.
Maybe with alsaconf (as root) and then look for mute channels with alsamixer.
The problem is that the recordin programs I've used say they cannot open
/dev/dsp, and, indeed, when I ls /dev I find that there is no /dev/dsp/
making the changes mentioned a few posts ago does indeed give me a
/dev/dsp, but then none of the usual audio programs (like xmms and
kaffeine) provide any sound. Would the existence of /dev/dsp set all
the volume controls to zero? And would they mysteriously reset to
their usable values when I undo the changes and reboot without a
/dev/dsp?

There's something I don't understand here.

-- hendrik
Post by Benjamí Villoslada
--
Benjam?
http://blog.bitassa.cat
.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Alan Ianson
2007-01-03 16:20:07 UTC
Permalink
Post by h***@topoi.pooq.com
Post by Benjamí Villoslada
Post by h***@topoi.pooq.com
Can anyone tell me how to get audio input without disbling the rest of
the sound system? ?That's what I thought I needed /dev/dsp for. I need
to rip cassette tapes of church services to post on the church web site.
Maybe with alsaconf (as root) and then look for mute channels with alsamixer.
The problem is that the recordin programs I've used say they cannot open
/dev/dsp, and, indeed, when I ls /dev I find that there is no /dev/dsp/
making the changes mentioned a few posts ago does indeed give me a
/dev/dsp, but then none of the usual audio programs (like xmms and
kaffeine) provide any sound. Would the existence of /dev/dsp set all
the volume controls to zero? And would they mysteriously reset to
their usable values when I undo the changes and reboot without a
/dev/dsp?
There's something I don't understand here.
Alsa's mixer settings are all muted and set to zero by default, why I don't
know. I always run aslamixer and set them to good values and then
run "alsactl store" to save them, but kmix or any other mixer can be used
also.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
h***@topoi.pooq.com
2007-01-03 17:10:10 UTC
Permalink
Post by Alan Ianson
Post by h***@topoi.pooq.com
Post by Benjamí Villoslada
Post by h***@topoi.pooq.com
Can anyone tell me how to get audio input without disbling the rest of
the sound system? ?That's what I thought I needed /dev/dsp for. I need
to rip cassette tapes of church services to post on the church web site.
Maybe with alsaconf (as root) and then look for mute channels with alsamixer.
The problem is that the recordin programs I've used say they cannot open
/dev/dsp, and, indeed, when I ls /dev I find that there is no /dev/dsp/
making the changes mentioned a few posts ago does indeed give me a
/dev/dsp, but then none of the usual audio programs (like xmms and
kaffeine) provide any sound. Would the existence of /dev/dsp set all
the volume controls to zero? And would they mysteriously reset to
their usable values when I undo the changes and reboot without a
/dev/dsp?
There's something I don't understand here.
Alsa's mixer settings are all muted and set to zero by default, why I don't
know.
To avoid blowing up loudspeakers, I've been told.
Post by Alan Ianson
I always run aslamixer and set them to good values and then
run "alsactl store" to save them, but kmix or any other mixer can be used
also.
I run alsaconf. It sets them to usable values. But it didn't help when
I had /dev/dsp in existence.

- hendrik
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Matus UHLAR - fantomas
2006-12-31 00:30:10 UTC
Permalink
Post by Benjamí Villoslada
/dev/dsp is missing in my Debian Sid --I've used it one week ago with XMMS.
I've tried a oss-compat reinstallation, and have /dev/dsp again. But
disappears with the system reboot.
I've run alsaconf again. ALSA works fine.
Any idea? Thanks :)
configure xmms to use ALSA, you won't need /dev/dsp
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Benjamí Villoslada
2006-12-31 04:10:06 UTC
Permalink
Post by Matus UHLAR - fantomas
configure xmms to use ALSA, you won't need /dev/dsp
Right, but maybe some another programs need /dev/dsp ... such as mpg123?
--
Benjamí
http://blog.bitassa.cat



.
Sven Arvidsson
2006-12-31 11:10:07 UTC
Permalink
Post by Benjamí Villoslada
Right, but maybe some another programs need /dev/dsp ... such as mpg123?
mpg123 can use alsa, see the -o option.
--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
Benjamí Villoslada
2007-01-01 03:50:09 UTC
Permalink
Post by Sven Arvidsson
Post by Benjamí Villoslada
Right, but maybe some another programs need /dev/dsp ... such as mpg123?
mpg123 can use alsa, see the -o option.
Ok, thanks! And Audacity, can works with ALSA?
--
Benjamí
http://blog.bitassa.cat



.
Sven Arvidsson
2007-01-01 19:50:09 UTC
Permalink
Post by Benjamí Villoslada
Ok, thanks! And Audacity, can works with ALSA?
It seems the current stable release of Audacity doesn't support ALSA by
default, but there are workarounds.
http://audacityteam.org/wiki/index.php?title=LinuxIssues#OSS_vs_ALSA
--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
Benjamí Villoslada
2007-01-02 17:10:07 UTC
Permalink
Post by Sven Arvidsson
It seems the current stable release of Audacity doesn't support ALSA by
default, but there are workarounds.
http://audacityteam.org/wiki/index.php?title=LinuxIssues#OSS_vs_ALSA
Thanks again, is a good objective to get OSS free :)
--
Benjamí
http://blog.bitassa.cat



.
Continue reading on narkive:
Loading...