Could we get the card name in /sys/clas/sound/card0/name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux