Using 'aplay -l' seems like a rather strange hack to detect a software modem. I think either the Python ALSA bindings or /proc/asound/cards for that instead only. Right now 'aplay -l' apparently is only called when no modem is found through /proc/asound/cards as a fallback.
Martin Pitt, is there any specific reason for this fallback behavior? Should it be reimplemented using Python's ALSA bindings or maybe could be gotten rid off completely?
Also solved the problem here!
Using 'aplay -l' seems like a rather strange hack to detect a software modem. I think either the Python ALSA bindings or /proc/asound/cards for that instead only. Right now 'aplay -l' apparently is only called when no modem is found through /proc/asound/cards as a fallback.
Martin Pitt, is there any specific reason for this fallback behavior? Should it be reimplemented using Python's ALSA bindings or maybe could be gotten rid off completely?