OK then we can not proceed. Can you make sure you are not trying to use sound when you repeat that rmmod = remove module command. But lets go back a step just to check something.
So lets try this first.....I assuming you agreed to move all sound configs and if created any sound_config.xzm from their respective folders and done a full reboot.
Code: Select all
su
lsmod | grep snd
fuser /dev/snd/*
I shall show you mine and why.....your codec may vary but as we both have intel devices the driver should already be there.
snd_hda_intel 15640 0
snd_hda_codec_hdmi 26628 1
snd_hda_codec_realtek 42800 1
snd_hda_codec_generic 33008 1 snd_hda_codec_realtek
snd_hda_controller 12928 1 snd_hda_intel
snd_hda_codec 58816 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 3944 1 snd_hda_codec
snd_pcm 48304 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 12780 1 snd_pcm
firmware_class 4664 2 drm_kms_helper,snd_hda_intel
####################
with no sound I get the top strings and with sound playing I get the bottom strings
fuser /dev/snd/*
Cannot stat file /proc/2005/fd/57: Stale NFS file handle
Cannot stat file /proc/2005/fd/58: Stale NFS file handle
Cannot stat file /proc/2103/fd/17: Stale NFS file handle
Cannot stat file /proc/2103/fd/18: Stale NFS file handle
Cannot stat file /proc/2103/fd/19: Stale NFS file handle
Cannot stat file /proc/2103/fd/20: Stale NFS file handle
Cannot stat file /proc/2103/fd/21: Stale NFS file handle
Cannot stat file /proc/2103/fd/22: Stale NFS file handle
(sound playing)
/dev/snd/controlC0: 2232
/dev/snd/pcmC0D0p: 2232m
/dev/snd/timer: 2232
I claim.....you should not have any bottom strings as nothing should be playing any sound files. YMMV
Can you post results if something is playing with your sound device please. We will need to kill it
2) Only if you see "snd_hda_intel" can you proceed to the next command and I would like a copy and paste of the output for any error please.
Code: Select all
root@porteus:/# rmmod snd_hda_intel
root@porteus:/#
That empty line above shows it works and reports no error, in case you did not know?
3) I am too lazy to google, but since we know that you have a working sound on the other distro we can cheat off it. What I would like to know is, did you need any firmware for card 1, the hdmi device?
You could boot up into that distro and show us the output for these commands please.....no need for root
Code: Select all
dpkg -l | grep firm*
dpkg -l | grep alsa*
lsmod | grep snd
What I hope it might show, is a special firmware file that the *buntu needs to enable sound....AFAIK firmware is special software to enable hardware.
good luck
################
4) only if you did not truly get an error because you misunderstood the exit condition of a good remove module command then try the next bits
modprobe snd_hda_intel index=1
alsactl init 0
good luck twice