[alsa-devel] Card driver: device or resource busy

Clemens Ladisch clemens at ladisch.de
Mon Jan 17 08:46:20 CET 2011

torsten.schenk wrote:
> I figured out that the difference between my driver and existing ones
> is, that my driver only allows one client and others multiple.

Very few devices can mix streams in hardware.

To get software mixing, you have to add the dmix plugin to the default
device for your card; see alsa-lib/src/conf/cards/.

> Another point (perhaps not unrelated to this) is, that I get a bug
> (see below) that seems to tell me, that prepare cannot schedule.

ALSA doesn't prevent the prepare callback from scheduling, but I'd guess
that your code disables interrupts somewhere.


More information about the Alsa-devel mailing list