Eliot Blennerhassett wrote: > can anyone tell me how to find out which processes are using an ALSA > driver and preventing it from being unloaded. > > I know that "lsof /dev/snd" will tell me who has these files open, but > often this shows nothing and still the driver can't be unloaded. > > Where else should I look? The device files for the OSS emulation are in not in /dev/snd but in /dev, try "lsof /dev/dsp*". > Is there an equivalent to lsof for memory mapped regions? Yes, it's called lsof. ;-) Memory-mapping requires an open file handle. HTH Clemens ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user