LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linux often failed to find soundcard during boot (http://www.linuxquestions.org/questions/linux-hardware-18/linux-often-failed-to-find-soundcard-during-boot-900380/)

bigeagle 08-31-2011 05:36 AM

Linux often failed to find soundcard during boot
 
Hy everybody!

I work with an embedded Linux, kernel 2.6.18.
The problem is that the sound card of the system is often not found.
The boot msg:
Code:

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
MUX: initialized MCBSP
AIC3X Audio Codec 0.1
ALSA device list:
  No soundcards found.

Sometime is works good and I got:
Code:

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
MUX: initialized MCBSP
AIC3X Audio Codec 0.1
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
  #0: DaVinci EVM (aic3x)

I set the boot log-level to 8 but got no further outputs.
Is their a possibility to "solve" this problem after the boot? To probe the aic3x driver and create the audio devices with a script or program?

Thanks a lot,
BigEagle

business_kid 09-01-2011 04:38 AM

can you modprobe the module before starting alsa?

bigeagle 09-01-2011 04:46 AM

The driver is not build as module. It's build in the kernel. Do you think it could help to build the driver as module?

business_kid 09-01-2011 07:05 AM

I would.

Then at least you could see what's going on. There are too many detection problems otherwise. I'll bet when it's not picked up, /dev/snd is emptier.

bigeagle 09-29-2011 03:11 AM

I recompiled my kernel with the codec as module. While booting alsa starts without finding a sound card. After that I load the driver via modprobe. It works. But there are no sound entries in /dev. I thought that udev will automatically make them after modprobe the driver.

What do I have to do to get the /dev entries? Manually create them?

Thanks,
bigeagle

business_kid 09-29-2011 02:13 PM

If you modprobe the module, and no sound devices appear, that's a problem. You should get some talk from it. Try

modprobe <your sound module>
dmesg |tail


All times are GMT -5. The time now is 08:27 PM.