how to find the last plugged in USB headset ?

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

 



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



      
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux