From: Arnold K. <ar...@ar...> - 2011-03-10 13:01:19
|
On Thursday 10 March 2011 13:18:40 Clemens Ladisch wrote: > AV/C devices cannot be handled this easily; "user space helps kernel" > is exactly what was proposed. I'm wondering if it is possible for the > driver to detect (only) the current configuration, and to let userspace > notify it when the configuration was changed. But the kernel will "see" the changes much earlier because the streaming will not work correctly. Waiting then for user-space to notify about the changes sounds dangerous. One point I see is that suspend/resume shouldn't worry us. I think it is very save to assume the once the machine goes into suspend, the external devices are unplugged and will most probably not be there on resume. At least not with the same configuration as before. Bus-topology might change, sync might change, number of channels might change. Have fun, Arnold |