[alsa-devel] how to find the last plugged in USB headset ?

reetesh chandran reeteshchandran at yahoo.com
Sat Apr 18 18:26:46 CEST 2009


Hi all,

Is there a way to find the card number associated with the USB headset that was plugged in last. I am listening to udev events and I can find the card number by comparing the VendorId product Id combination. But if there are multiple devices of same VendorId and productId, how do I find the card number associated with the device that was plugged in the last ?

Thanks in advance ?
Reetesh



      


More information about the Alsa-devel mailing list