Re: alsa driver and udev.

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

 



On Thu, 7 Dec 2006, James Courtier-Dutton wrote:

> Hi,
> 
> How much work would it be to get alsa driver to work nicely with udev, 
> so that a specific udev config could be used to decide which sound card 
> is card 0 etc.
> How about a global config interface whereby userland processes could 
> modify the sound card order and possibly provide other general sound 
> card related services to userspace. In this way, even if a sound card 
> booted up as card 0, we could swap it with card 1 without having to 
> unload it.
> This might require the device naming in /dev/snd to change so that the 
> card number was not included in the device name. Maybe use an extra 
> subdirectory for each card, much like the /proc filesystem uses.

Hi,

	my idea was a bit different. We have card id (aka text alias) 
already. They are fully supported in alsa-lib. So, only missing thing is 
to change these aliases and to use these aliases in application 
configurations rather than card numbers.
	I had already a discussion with Greg on LKML and in mm tree (I 
think) are patches to create a soundcard class. We can put card id (alias) 
to this class with read/write priviledges. So udev can freely change it 
like network device names. I think it could be in 2.6.20.

						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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