Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stsp@aknet.ru>
To: Jaroslav Kysela <perex@perex.cz>
Cc: ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: namehint: Evaluate more possibilities for hw devices
Date: Fri, 01 Oct 2010 16:26:01 +0400	[thread overview]
Message-ID: <4CA5D359.9040400@aknet.ru> (raw)
In-Reply-To: <alpine.LNX.2.00.1010011408410.20467@eeebox2.perex-int.cz>

  01.10.2010 16:08, Jaroslav Kysela wrote:
> This patch should definitely fix it:
>
> http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=c049d48407ff0459ff15e466edeeee6ecff67fcd 
>
Much better now, thanks!
I still have an issue though.
If the device registers only the playback
substreams and no record substreams,
it is still not listed. To reproduce, set the
"/capture_count" param of /*snd_pcm_new()
*to 0 in dummy.c, and then it disappears
from the list, as follows:
---
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
   Subdevices: 8/8
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
   Subdevice #2: subdevice #2
   Subdevice #3: subdevice #3
   Subdevice #4: subdevice #4
   Subdevice #5: subdevice #5
   Subdevice #6: subdevice #6
   Subdevice #7: subdevice #7
card 2: STx7109 [STx7109 audio subsystem], device 0:  [PCM player #0 (HDMI)]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 2: STx7109 [STx7109 audio subsystem], device 1:  [PCM player #1]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 2: STx7109 [STx7109 audio subsystem], device 2:  [SPDIF player (HDMI)]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

$ aplay -L
null
     Discard all samples (playback) or generate zero samples (capture)
---

Here you can see also the STx7109 driver, which
is not yet in an alsa tree, having the same problem.
Could you please fix also this?

  reply	other threads:[~2010-10-01 12:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 16:11 namehint: Evaluate more possibilities for hw devices Stas Sergeev
2010-10-01  9:08 ` Raymond Yau
2010-10-01 11:32 ` Jaroslav Kysela
2010-10-01 11:50   ` Stas Sergeev
2010-10-01 12:08     ` Jaroslav Kysela
2010-10-01 12:26       ` Stas Sergeev [this message]
2010-10-01 13:14         ` Jaroslav Kysela
2010-10-01 14:05           ` Stas Sergeev
2010-10-01 14:53           ` Stas Sergeev
2010-10-01 15:04             ` Jaroslav Kysela
2010-10-01 15:21               ` Stas Sergeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA5D359.9040400@aknet.ru \
    --to=stsp@aknet.ru \
    --cc=alsa-devel@alsa-project.org \
    --cc=perex@perex.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox