All mute after upgrading ALSA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I didn't have ALSA loopback so I could record streaming, so I upgraded
ALSA following these instructions:

http://alsa.opensrc.org/index.php/Jack_and_Loopback_device_as_Alsa-to-Jack_bridge#Compiling_snd-aloop_if_needed

First thing: that page is WRONG. It instructs me to backup the
kernel/sound directory:

# p -a /lib/modules/`uname -r`/kernel/sound  .

"...
In case anything went wrong and you wish to go back to your previous
ALSA installation, no problem:
sudo rm /lib/modules/`uname -r`/kernel/sound
sudo cp -a ~/backup/sound /lib/modules/`uname -r`/kernel/
sudo alsa force-reload
... "

But that is not enough. As soon as I ran 'sudo make install' I saw
that another directory should have been backed up:

if [ -L /usr/include/sound ]; then \
                rm -f /usr/include/sound; \

I didn't make a backup of /usr/include/sound and now I am screwed. The
backup /lib/modules/`uname -r`/kernel/sound directory doesn't work at
all. My sound card is not even recognized when I boot with it.


What about the new, upgraded ALSA modules? Well, they *look* OK, but I
don't get any sound through the speakers or headphone jack.

The only part I didn't follow verbatim in those instructions was the final step:

"...
Allrighty, time to load it. But before that, shut down all audio apps
(including firefox). Once done, do this:
sudo alsa force-unload
sudo modprobe snd-whatever-module-you-need
sudo modprobe snd-aloop
..."

I was unsure about "snd-whatever-module-you-need" so I decided to just reboot.

When KDE was just about to kick in, I saw a lot of new text I had
never seen before scroll past very, very fast. Then it stopped and I
could see it had something to with ALSA, but I couldn't really read
anything. KDE started and... now I have no sound.

I checked kmixer, it looks normal. It doesn't seem to be mute.

I ran alsamixer in the command line, it doesn't seem to be mute either.

I ran Kcontrol and checked the audio section, couldn't figure anything out.

Here is the output of lsmod BEFORE the upgrade:

$luc> lsmod | grep snd
snd_hda_intel         434100  6
snd_pcm_oss            46336  0
snd_mixer_oss          22656  2 snd_pcm_oss
snd_pcm                83076  3 snd_hda_intel,snd_pcm_oss
snd_seq_dummy          10756  0
snd_seq_oss            37760  0
snd_seq_midi           14336  0
snd_rawmidi            29696  1 snd_seq_midi
snd_seq_midi_event     15104  2 snd_seq_oss,snd_seq_midi
snd_seq                56880  7
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              29704  3 snd_pcm,snd_seq
snd_seq_device         14988  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    62756  18
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15200  2 snd
snd_page_alloc         16904  2 snd_hda_intel,snd_pcm

Here is the output of lsmod AFTER the upgrade:

$luc> lsmod | grep snd
snd_hda_codec_realtek   226308  1
snd_hda_intel          35840  3
snd_hda_codec         100992  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              15364  1 snd_hda_codec
snd_pcm_oss            46112  0
snd_mixer_oss          23040  3 snd_pcm_oss
snd_pcm                85636  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_oss            36224  0
snd_seq_midi_event     15232  1 snd_seq_oss
snd_seq                57584  5 snd_seq_oss,snd_seq_midi_event
snd_timer              29320  2 snd_pcm,snd_seq
snd_seq_device         15372  2 snd_seq_oss,snd_seq
snd                    69412  14
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
soundcore              15200  3 snd
snd_page_alloc         17032  2 snd_hda_intel,snd_pcm

Looks like I have lost snd_seq_dummy, snd_seq_midi and snd_rawmidi. I
don't need midi, so I just tried to load snd_seq_dummy with modprobe.
The module is not found.

I rebooted another two times hoping to be able to read something in
that new boot sequence text, but I don't see it anymore. It's gone.

I don't know what else to do. I can't go back to the backup modules,
they are useless without /usr/include/sound which the installation
method erased and nobody warned me it would. Please advise.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux