sound.enable = true;
hardware.pulseaudio .enable=true;
lsof /dev/snd/* ----> nothing
lsmod | grep snd :
snd_hda_codec_hdmi 57344 1
snd_hda_codec_realtek 102400 1
snd_hda_codec_generic 81920 1 snd_hda_codec_realtek
snd_hda_intel 40960 0
snd_hda_codec 131072 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 77824 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_pcm_oss 57344 0
snd_mixer_oss 28672 1 snd_pcm_oss
snd_pcm 102400 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_hda_core
snd_timer 32768 1 snd_pcm
snd 81920 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm_oss,snd_pcm,snd_mixer_oss
soundcore 16384 1 snd
run amixer :
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
amixer: Mixer attach default error: Connection refused
aplay -L :
null
Discard all samples (playback) or generate zero samples (capture)
default
Default Audio Device (via PulseAudio)
sysdefault:CARD=MID
HDA Intel MID, ALC269 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, ALC269 Analog
Front speakers
surround21:CARD=MID,DEV=0
HDA Intel MID, ALC269 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, ALC269 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, ALC269 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, ALC269 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, ALC269 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, ALC269 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=MID,DEV=0
HDA Intel MID, HDMI 0
HDMI Audio Output
cat /etc/asound.conf :
pcm_type.pulse {
libs.native = /nix/store/0bffwfr4g8b0rbs0q3f9d5xll6n16hf0-alsa-plugins-1.1.6/lib/alsa-lib/libasound_module_pcm_pulse.so ;
}
pcm.!default {
type pulse
hint.description "Default Audio Device (via PulseAudio)"
}
ctl_type.pulse {
libs.native = /nix/store/0bffwfr4g8b0rbs0q3f9d5xll6n16hf0-alsa-plugins-1.1.6/lib/alsa-lib/libasound_module_ctl_pulse.so ;
}
ctl.!default {
type pulse
}
also i install pavucontrol-qt but don’t work :
establishing connection to pulseaudio . please wait