Re: Can't play sounds on HDA Intel with latest kernel

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

 




I have he same issue, if anyone can help it would be great !



On 10/05/10 09:31, Vlady Rafael wrote:
When booting a LiveCD (CentOS 5.4 with alsa 1.0.17 kernel 2.6.18.el5) speaker-test works fine. However when we use custom built kernel version 2.6.32.4 with alsa version 1.0.17 or 1.0.23 on the same hardware the speaker-test fails with the following error:

ALSA lib pcm_direct.c:866:(snd1_pcm_direct_initialize_slave) snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:1020:(snd_pcm_dmix_open) unable to initialize slave

After modifying the pcm/pcm_params.c to enable REFINE_DEBUG and also added printout of the driver version(pcm_hw->version) to the hw_refine_call function. We got the following output:

REFINE called:
ACCESS:  ALL
FORMAT:  ALL
SUBFORMAT:  ALL
SAMPLE_BITS: ALL
FRAME_BITS: ALL
CHANNELS: ALL
RATE: ALL
PERIOD_TIME: ALL
PERIOD_SIZE: ALL
PERIOD_BYTES: ALL
PERIODS: ALL
BUFFER_TIME: ALL
BUFFER_SIZE: ALL
BUFFER_BYTES: ALL
TICK_TIME: ALL
hw_refine_call called:
hw_refine_call version 131082:
refine done - result = -22
ACCESS:  MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: [32 128]
CHANNELS: [2 8]
RATE: [44100 192000]
PERIOD_TIME: ALL
PERIOD_SIZE: [8 134217728]
PERIOD_BYTES: [128 536870912]
PERIODS: [2 32]
BUFFER_TIME: ALL
BUFFER_SIZE: [16 268435456]
BUFFER_BYTES: NONE
TICK_TIME: ALL
ALSA lib pcm_direct.c:866:(snd1_pcm_direct_initialize_slave) snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:1020:(snd_pcm_dmix_open) unable to initialize slave

In this output we noticed that the hw_refine is returning 22 (Invalid Argument) and some of the returned parameters seems to be unusual such as the PERIOD_BYTES: [128 536870912]. Can this be the cause of the problem?

Anyone have any ideas why this problem happens?  Or what else we should investigate?
V.
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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