Re: Detect USB-Card appear/disappear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 Jul 2010, at 12:55, Sebastian H. wrote:

> 
> I'm looking for a way to detect if an USB-Sound-Card has been
> attached/detached without polling the card list with
> snd_card_next() and friends.
> Does ALSA provide a signaling mechanism for this or is there maybe an
> other Linux way to recommend?
> 

udev is the basic mechanism for this

Depending on your distro, you may also be able to use dbus.

jch


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux