[pulseaudio-discuss] (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)

Nazar Mokrynskyi nazar at mokrynskyi.com
Fri Jun 5 07:01:49 PDT 2015


> try_order does contain PA_SAMPLE_S24LE
I've removed "default-sample-format = s24le", now it uses S16_LE 
everywhere, fresh log: http://pastebin.com/aaLvtEUQ
>
> (   0.091|   0.000) D: [pulseaudio] alsa-util.c: Trying hw:1,1,0 with 
> SND_PCM_NO_AUTO_FORMAT ...
> (   0.091|   0.000) D: [pulseaudio] alsa-util.c: Managed to open hw:1,1,0
> (   0.091|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode 
> since BATCH flag is set
> (   0.091|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer 
> size is 3640 ms
> (   0.091|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.091|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.092|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.092|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.092|   0.000) D: [pulseaudio] alsa-util.c: Set neither period 
> nor buffer size.
> (   0.093|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.093|   0.000) I: [pulseaudio] alsa-util.c: snd_pcm_hw_params 
> failed: Input/output error
> (   0.093|   0.000) D: [pulseaudio] alsa-util.c: Trying hw:1,1,0 
> without SND_PCM_NO_AUTO_FORMAT ...
> (   0.093|   0.000) D: [pulseaudio] alsa-util.c: Managed to open hw:1,1,0
> (   0.093|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode 
> since BATCH flag is set
> (   0.093|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer 
> size is 3640 ms
> (   0.093|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.094|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.094|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.094|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.094|   0.000) D: [pulseaudio] alsa-util.c: Set neither period 
> nor buffer size.
> (   0.095|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.095|   0.000) I: [pulseaudio] alsa-util.c: snd_pcm_hw_params 
> failed: Input/output error
> (   0.095|   0.000) D: [pulseaudio] alsa-util.c: Trying plug:hw:1,1,0 
> with SND_PCM_NO_AUTO_FORMAT ...
>
> Do capture work as there is no output of snd_pcm_dump of the 
> snd-usb-audio 's hw params ?
>
Well, after system restart Mic is not working, while it is available and 
selected in UI.
After single switch to Line and back to Mic it starts working fine.
I wasn't able to reproduce it twice during working session, so, here is 
verbose log of the first start right after system restart where Mic was 
initially selected but didn't work, and started working after switching 
to Line and back: http://pastebin.com/fr0cTUu3

Sincerely, Nazar Mokrynskyi
github.com/nazar-pc
Skype: nazar-pc
Diaspora:nazarpc at diaspora.mokrynskyi.com
Tox: A9D95C9AA5F7A3ED75D83D0292E22ACE84BA40E912185939414475AF28FD2B2A5C8EF5261249


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: Кріптографічний підпис S/MIME
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150605/b34dd1c5/attachment.bin>


More information about the pulseaudio-discuss mailing list