DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've seen a question similar to this somewhere in the forums, but I can't find the thread. Sorry.
Sound does not work after boot. Running alsaconf fixes the problem until next reboot. When I run alsaconf, there is an error report that may shed some light on why it didn't work during the boot. (For the record, I did turn off all sound programs before running alsaconf) Here is the message:
"Terminating processes 3858, 3993, 4011, 4015, 4036 (failed: processes still using sound devices: 4054 (gnome settings - ))
"/etc/init.d/alsa: Warning: Processes still using sound devices : 4054 (gnome settings - ))
alsaconf, then goes on to successfully install the Maestro card ... for this session.
I am setting this PC up for my son, who is not qualified to have root priviledges, so I need to get it fixed before he takes it back to school. Thank for any help.
To begin with, I must first confess that I don't know much about solving ALSA problems and, furthermore, I don't even use Gnome. That being said, the alsaconf message seems a bit puzzling to me. I'd understand if sound doesn't work after booting because all the necessary modules are not loaded but it appears that alsaconf tries to *unload* modules.
While we're waiting for better informed suggestions, you could perhaps run "lsmod |grep snd" before and after running alsaconf and compare the results to see if alsaconf loads any modules that weren't loaded during boot time. If this is the case, then you could try adding these missing modules to /etc/modules and then reboot to see if that helps.
Aha! Some very distinctive differences there. In the thread I referenced in my last post here, the very last entry reads:
"...similar problem on my asus laptop having an AC97 integrated audio card ... Unloading the debian original i810_audio module from /etc/modules. ... [It] was preventing the loading of alsa modules at boot. Commenting it worked."
It appears that I have the same, or a very similar, problem. snd_intel8x0m is, for some reason, already loaded by the time ALSA comes along wanting to install the correct drivers.
So... how do I go about making sure that doesn't happen?
Debian uses programs called discover and hotplug for automatic hardware detection during boot time. These programs detect your hardware and load the needed modules. It appears that ALSA doesn't need the snd_intel8x0m module, so you can prevent discover from loading it by adding the line
Code:
skip snd_intel8x0m
to the end of /etc/discover.conf and adding snd_intel8x0m to /etc/hotplug/blacklist should prevent also hotplug from loading it.
Debian uses programs called discover and hotplug for automatic hardware detection during boot time. These programs detect your hardware and load the needed modules. It appears that ALSA doesn't need the snd_intel8x0m module, so you can prevent discover from loading it by ...
Rather than ALSA not needing snd_intel8x0m, perhaps it's this particular sound card that doesn't need it, or perhaps ALSA's install script for this driver lacks the correct means of handling it. I say that because I have another laptop with a different card that got the same installation with no problems.
At any rate, your solution, as usual, ended the problem. Thanks.
Is there a central place to look to see all the modules, drivers, etc, that are being loaded during the boot process?
Is there a central place to look to see all the modules, drivers, etc, that are being loaded during the boot process?
Place? I guess that would be /proc/modules -- it's the file where the lsmod command gets its info from. If you want to view the messages that were printed on the screen while your computer booted, try the "dmesg | more" command.
Are you sure about those before and after images ... and that the sound wasn't working before alsaconf, and that it was workinf afterward? I don't see any difference between the before and after outputs.
Yeah, I'm sure,
Every time, no sound upon boot, after running alsaconf OK. The only difference in the lsmod outputs is the number at the end of the first line. I think your output showed this change too.
I'm not sure whether this is a safe answer, or will even work, but why not set the alsaconf to run as a late process on boot up? It would mean that you wouldn't have to run the command, but its not a proper fix.
put the module in /etc/hotplug/blacklist doesn't work out, and from another reply... adding alsaconf as a part of the startup, that's like compiling a kernel at every bootup
okay, perhaps overreacting, but you know what i mean
if i have time, probably tomorrow, i'll take a look at other options .. thansk a lot anyway
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.