You are not logged in.
Hi
I have some old style programs installed on my linux box that require /dev/dsp to run.
I've upgraded my machine recently and now I find /dev/dsp1 only.
I got several onboard sound cards in my system. "aplay -l" shows me:
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3220 Analog [ALC3220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
dmesg shows:
[ 1.868159] sound hdaudioC1D0: autoconfig: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:line
[ 1.868161] sound hdaudioC1D0: speaker_outs=1 (0x14/0x0/0x0/0x0/0x0)
[ 1.868162] sound hdaudioC1D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[ 1.868163] sound hdaudioC1D0: mono: mono_out=0x0
[ 1.868163] sound hdaudioC1D0: inputs:
[ 1.868165] sound hdaudioC1D0: Front Mic=0x1a
[ 1.868166] sound hdaudioC1D0: Rear Mic=0x18
[ 1.873324] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input4
[ 1.873340] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input5
[ 1.873355] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card1/input6
[ 1.873369] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input7
...
[ 2.311149] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input12
[ 2.311194] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input13
"lsmod | grep snd" shows:
snd_hda_codec_hdmi 49263 1
snd_hda_codec_realtek 63196 1
snd_hda_codec_generic 63087 1 snd_hda_codec_realtek
snd_hda_intel 26387 0
snd_hda_controller 26938 1 snd_hda_intel
snd_hda_codec 112621 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 17244 1 snd_hda_codec
snd_pcm_oss 49005 0
snd_mixer_oss 21998 1 snd_pcm_oss
snd_pcm 88785 5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 26614 1 snd_pcm
snd 73436 10 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_mixer_oss
soundcore 13031 2 snd,snd_hda_codec
I tried several steps but they didn't help. I still cannot rename /dev/dsp1 to /dev/dsp.
I put the following into ~/.asoundrc:
pcm.!default {
type hw
card 1
}ctl.!default {
type hw
card 1
}
I prevented the snd_hda_codec_hdmi from beeing loaded at boot.
I want to have my /dev/dsp back :-) Please help me.
When I manualy rename /dev/dsp1 to /dev/dsp everything works fine.
Thanks in advance for help.
Last edited by jaro (2017-08-07 19:31:05)
Offline
When I needed /dev/dsp I had to run 'sudo modprobe snd-pcm-oss'.
When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
like thisIt makes the code more readable and - in case of longer listings - more convenient to scroll through.
Offline
Thanks for the reply.
Unfortunately it is not that issue.
You can see the module snd_pcm_oss listed above.
Offline
I put the following into ~/.asoundrc:
...
I prevented the snd_hda_codec_hdmi from beeing loaded at boot.
Hard to predict if it will solve the porblem, but you can simplify your sound configuration a lot.
Create /etc/modprobe.d/50-alsa.conf like this :
options snd-hda-intel index=1,0 # hdmi will be secondary card, analog defaultThen revert whatever you did to prevent the snd_hda_codec_hdmi from beeing loaded at boot and remove ~/.asoundrc .
Reboot and you should have both audio outputs present and usable, with the analog output as default.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline