How can I identify which /dev file is associated with a specific device? (microphone)
I want to know what /dev file is associated with my front microphone jack, how can I do that?
Relevant information:
aplay -L
sysdefault:CARD=PCH HDA Intel PCH, ALC892 Analog Default Audio Device
front:CARD=PCH,DEV=0 HDA Intel PCH, ALC892 Analog Front speakers
ls /dev/snd
by-path/ controlC1 hwC1D0 pcmC0D0p pcmC0D2c pcmC1D7p pcmC1D9p timer controlC0 hwC0D2 pcmC0D0c pcmC0D1p pcmC1D3p pcmC1D8p seq
About this post
- Posted
- Archived
- Score
- 6 · 100% up
- Kind
- Text
- ID
- 424309
9 comments
Assuming there is plug detection, could you just plug the mic in then dmesg?
Out of curiosity, what are you using the /dev entry for?
I wanted to try something like this and I wanted to see if I could do it with Gqrx.
I was trying to tell Gqrx from which device to get the input from
Relevant lspci
The by-path entries symlink to the /dev/snd entry