How will the Linux detect that I connected a USB Audio Peripheral?
If I connect a USB Charger it will charge my mobile and it does not show any Headset icon on my status bar(Android).
But when I connect the USB Audio Headset to the same USB type c port it is detecting it as Audio Device.
I am interested in how the kernel handles all these?
Any call flow diagram or any starting point for me to look into this?