All of lore.kernel.org
 help / color / mirror / Atom feed
* [alsa-devel] alsa conformance test fails to run for playback (and works for capture)
@ 2019-10-17 14:14 Hin-Tak Leung
  2019-10-18  2:59 ` Yu-hsuan Hsu
  0 siblings, 1 reply; 9+ messages in thread
From: Hin-Tak Leung @ 2019-10-17 14:14 UTC (permalink / raw)
  To: Yu-Hsuan Hsu; +Cc: alsa-devel

Hi Yu-Hsuan,

I have encountered another problem with the alsa conformance test. It works for capture, but not for playback.

The device is - 

http://wiki.seeedstudio.com/ReSpeaker_6-Mic_Circular_Array_kit_for_Raspberry_Pi/

and running on a pi / raspbian buster.

The actual message is:

Fail - ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
snd_pcm_open hw:CARD=seeed8micvoi: No such device

I think the truncation is harmless .

The actual device name according to aplay -L is "hw:CARD=seeed8micvoicec,DEV=0" and as I noted earlier, arecord -L shows it as "hw:CARD=seeed8micvoicec,DEV=0" also, and the comformance test running in CAPTURE mode works, just not in PLAYBACK mode.

Is there anything I can do to look further?

Since it says "invalid value", I tried deleting the parameters around line 190 of src/alsa_conformance_helper.c, but perhaps I should do something else?

src/alsa_conformance_helper.c-191-    conformance_timer_start(timer, SND_PCM_OPEN);
src/alsa_conformance_helper.c:192:    rc = snd_pcm_open(handle,
src/alsa_conformance_helper.c-193-                      dev_name,
src/alsa_conformance_helper.c-194-                      stream,
src/alsa_conformance_helper.c-195-                      SND_PCM_NONBLOCK |
src/alsa_conformance_helper.c-196-                      SND_PCM_NO_AUTO_RESAMPLE |
src/alsa_conformance_helper.c-197-                      SND_PCM_NO_AUTO_CHANNELS |
src/alsa_conformance_helper.c-198-                      SND_PCM_NO_AUTO_FORMAT);
src/alsa_conformance_helper.c-199-    conformance_timer_stop(timer, SND_PCM_OPEN);


Regards,
Hin-Tak

 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-10-23 10:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17 14:14 [alsa-devel] alsa conformance test fails to run for playback (and works for capture) Hin-Tak Leung
2019-10-18  2:59 ` Yu-hsuan Hsu
2019-10-18 10:56   ` Hin-Tak Leung
2019-10-20 10:51     ` Yu-Hsuan Hsu
2019-10-21 13:57       ` Hin-Tak Leung
2019-10-22  3:11         ` Yu-Hsuan Hsu
2019-10-22  9:39           ` Hin-Tak Leung
2019-10-22 16:13             ` Yu-Hsuan Hsu
2019-10-23 10:06               ` Hin-Tak Leung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.