Skip to contentSkip to conversation

how to find the last plugged in USB headset ?

DISCUSSION reetesh chandran 1 participant 1 message Apr 18, 2009

lore
Share & tools
lore
#0 lore raw

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