Comment 10 for bug 862626

Revision history for this message
Ryan Harkin (ryanharkin) wrote :

I've tested Dave's branch (above) and confirm that the audio works with the drivers configured either as modules. (It also works with the drivers compiled into the kernel).

The LT kernel works when build with the drivers are built-in (set to 'y' in .config), but not when configured as modules. When configured as modules, I get the following output at boot time:

     * Starting restore sound card(s') mixer state(s) [fail]

Then, if I check for pcm files as Dave suggested, there are none:

    root@linaro-ubuntu-desktop:~# ls /dev/snd/pcm*
    ls: cannot access /dev/snd/pcm*: No such file or directory

And finally, when I try to play a sound, I get the following error output:

    root@linaro-ubuntu-desktop:~# ogg123 /usr/share/sounds/gnome/default/alerts/bark.ogg

    Audio Device: Advanced Linux Sound Architecture (ALSA) output

    Playing: /usr/share/sounds/gnome/default/alerts/bark.ogg
    Ogg Vorbis stream: 2 channel, 48000 Hz
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
    ERROR: Cannot open device alsa.