Re: Kernel crashes for unsupported sample rates

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

 



I have tried to apply the patch manually but I couldn't because I am on kernel version 2.6.22.1.

Is the patch available for my kernel version? How should I go about it?

One observation I had was when I removed "SNDRV_PCM_INFO_MMAP" from the "pcm_hardware_playback", the kernel stopped crashing. It gave me some error and returned.

[root@OMAP3EVM bin]# [root@OMAP3EVM bin]# ./pcm -f cd -r 1000
Playback device is plughw:0,0
Stream parameters are 4000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Using transfer method: write
ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'plughw:0,0'
Rate 4000Hz not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument

Thanks and Regards,
Anuj Aggarwal

Platform Support Products
Texas Instruments Inc
Ph: +91-80-2509-9542
TI IP Ph: 509-9542
PSP Products RSS Feed PSP Product Announcements


-----Original Message-----
From: Takashi Iwai [mailto:tiwai@xxxxxxx]
Sent: Thursday, May 15, 2008 6:28 PM
To: Aggarwal, Anuj
Cc: alsa-devel@xxxxxxxxxxxxxxxx
Subject: Re:  Kernel crashes for unsupported sample rates

At Thu, 15 May 2008 18:09:21 +0530,
Aggarwal, Anuj wrote:
>
> Can you point me to any particular git tree which I can download and apply the patches directly, instead of committing any silly mistake? It would be really helpful.

You can try my experimental tree:
    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable-2.6.git


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux