[alsa-devel] Device creation order
mznyfn at 0pointer.de
Fri Apr 3 13:42:13 CEST 2009
On Fri, 03.04.09 09:12, Jaroslav Kysela (perex at perex.cz) wrote:
> - dynamic device creation at runtime - for example we have an
> experimental HDA driver configuration code which might change
> the arrangement of PCM devices on request from the user space
Hmm, this could be handled by issueing a 'change' event on the control
device after all those changes have been applied.
> I would suggest to wait awhile with some small timeout (0.5 sec?) for all
> devices to get the usual static arrangement working and handle extra
> dynamic cases, too.
We used to do this. But it's ugly. If the system is loaded .5s might
not be enough. We managed to get rid of all those waits for hotplugged
USB sticks and everyone is enjoying it. I think it is equally
advisable to do the same for audio devices.
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the Alsa-devel