Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* how to find the last plugged in USB headset ?
@ 2009-04-18 16:26 reetesh chandran
  0 siblings, 0 replies; only message in thread
From: reetesh chandran @ 2009-04-18 16:26 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-18 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-18 16:26 how to find the last plugged in USB headset ? reetesh chandran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox