18 Apr
2009
18 Apr
'09
6:26 p.m.
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