better ALSA card name
David Zeuthen
david at fubar.dk
Wed Jan 31 13:34:52 PST 2007
Hi,
Sorry for the delay; been traveling for the past three weeks.
On Sat, 2007-01-13 at 21:00 +0100, Matthias Kretz wrote:
> > So if I were to ask anything of the ALSA developers it would be to add
> > another file to easily get the card name... (because it's not easy to
> > extract out of /proc/asound/cards)
Would be nice to file a bug for that.
> Until that is available here's a new patch that gets the card_id property for
> all ALSA and OSS devices from /proc/asound/cards. (Patch against the git repo
> this time.)
>
> Without this patch on my computer:
> card 1: Intel
> card 2: io2
> card 3: default
>
> With this patch:
> card 1: HDA Intel
> card 2: Alesis io|2
> card 3: C-Media USB Headphone Set
I've committed this patch for now. Thanks.
David
More information about the hal
mailing list