[alsa-devel] Could we get the card name in /sys/clas/sound/card0/name?
Lennart Poettering
mznyfn at 0pointer.de
Tue Jan 20 03:41:23 CET 2009
Heya!
Hmm, it would be nifty if we could get the alsa card name (i.e. the
one shown in [] in /proc/pcm/cards) as an attribute file in
/sys/class/sound/cardX/name. Even more useful would be if this
property would be writable so that the cards may be renamed during
runtime.
This could be very useful to establish stable card names via udev
rules, similar to what is already done to network interface names
("eth0", ...).
Would such a change be acceptable?
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the Alsa-devel
mailing list