>
> I've removed "default-sample-format = s24le", now it uses S16_LE
everywhere, fresh log: http://pastebin.com/aaLvtEUQ

Some error messages can be reproduced by set default-sample-format to s24le

But cannot reproduce  SNDRV_PCM_IOCTL_HW_PARAMS

Any error meesage in system log , it seem snd_usb_pcm_hw_params return
error with your usb sound card

>
>>
>> (   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

It is strange that hardware volume are -19.5dB/-20dB when  dB range of Mic
capture volume and Line Capture Volume from -12 dB to +12dB

9.416|   0.000) D: [alsa-source-USB Audio] alsa-mixer.c: Setting
analog-input-linein (analog-input-linein) priority=0
(   9.418|   0.001) I: [alsa-source-USB Audio] alsa-source.c: Successfully
enabled deferred volume.
(   9.418|   0.000) I: [alsa-source-USB Audio] alsa-source.c: Hardware
volume ranges from -12,00 dB to 12,00 dB.
(   9.418|   0.000) I: [alsa-source-USB Audio] alsa-source.c: Fixing base
volume to -12,00 dB
(   9.418|   0.000) I: [alsa-source-USB Audio] alsa-source.c: Using
hardware volume control. Hardware dB scale supported.
(   9.418|   0.000) I: [alsa-source-USB Audio] alsa-source.c: Using
hardware mute control.
   9.419|   0.000) I: [pulseaudio] source.c: Changed port of source 2
"alsa_input.usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51.analog-stereo-input"
to analog-input-linein
(   9.419|   0.000) I: [pulseaudio] module-device-restore.c: Restoring
volume for source
alsa_input.usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51.analog-stereo-input.
(   9.419|   0.000) D: [alsa-source-USB Audio] alsa-source.c: Requested
volume: front-left: 31008 /  47% / -19,50 dB,   front-right: 30419 /  46% /
-20,00 dB
(   9.419|   0.000) D: [alsa-source-USB Audio] alsa-source.c: Got hardware
volume: front-left: 31008 /  47% / -19,50 dB,   front-right: 30419 /  46% /
-20,00 dB
(   9.419|   0.000) D: [alsa-source-USB Audio] alsa-source.c: Calculated
software volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 /
100% / 0,00 dB (accurate-enough=yes)
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to