PINE64
Audio jack and external mic? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Audio jack and external mic? (/showthread.php?tid=10134)



Audio jack and external mic? - johns - 06-08-2020

Will the headset jack on the PBP work with combined mic/headsets? The wiki seems to say it should, but so far it doesn't for me. Using Manjaro, have tried two different headsets which work on other machines. Headset function works, but mic does not. The mic privacy switch is set to enabled, and the built-in mics are working (with the reported whine, of course). USB mic also works.

-john


RE: Audio jack and external mic? - tophneal - 06-08-2020

(06-08-2020, 12:18 PM)johns Wrote: Will the headset jack on the PBP work with combined mic/headsets? The wiki seems to say it should, but so far it doesn't for me. Using Manjaro, have tried two different headsets which work on other machines. Headset function works, but mic does not. The mic privacy switch is set to enabled, and the built-in mics are working (with the reported whine, of course). USB mic also works.

-john

You likely need to change the input port within your system sound settings.

The privacy switches only disable the internal mics, IIRC, and should not effect any external mics.


RE: Audio jack and external mic? - johns - 06-08-2020

(06-08-2020, 01:53 PM)tophneal Wrote:
(06-08-2020, 12:18 PM)johns Wrote: Will the headset jack on the PBP work with combined mic/headsets? The wiki seems to say it should, but so far it doesn't for me. Using Manjaro, have tried two different headsets which work on other machines. Headset function works, but mic does not. The mic privacy switch is set to enabled, and the built-in mics are working (with the reported whine, of course). USB mic also works.

-john

You likely need to change the input port within your system sound settings.

The privacy switches only disable the internal mics, IIRC, and should not effect any external mics.

That makes sense, but the system sound settings don't show the headset mic as an option. Whereas, if I connect a USB webcam with a mic, that does show up as an input device.

-john


RE: Audio jack and external mic? - tophneal - 06-08-2020

You might want to look at the settings in ALSA, then: https://linuxconfig.org/how-to-test-microphone-with-audio-linux-sound-architecture-alsa


RE: Audio jack and external mic? - johns - 06-10-2020

(06-08-2020, 02:59 PM)tophneal Wrote: You might want to look at the settings in ALSA, then: https://linuxconfig.org/how-to-test-microphone-with-audio-linux-sound-architecture-alsa

Okay. I guess I'm confused about how ALSA and PulseAudio might interact here. pavucontrol seems to provide accurate controls for my other input and output devices, just not the headset mic.

On another system, where the headset mic works, it shows up as a selectable input device in pavucontrol (something like "headset microphone (plugged in)")

Thanks for the ALSA test link. I tried it, but arecord -l only shows a single device with the headset plugged in.

**** List of CAPTURE Hardware Devices ****
card 0: rockchipes8316c [rockchip,es8316-codec], device 0: ff890000.i2s-ES8316 HiFi ES8316 HiFi-0 [ff890000.i2s-ES8316 HiFi ES8316 HiFi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

Attempting to record on that device (which I assume is the built-in mic anyway) gives an error:

arecord -f S16_LE -d 10 -r 16000 --device="hw:0,0" /tmp/test-mic.wav

arecord: main:830: audio open error: Device or resource busy

which is odd because nothing is using the input device (and both the toolbar audio mixer and pavucontrol show no active input).

Any ideas about next things to try? Are we sure that this should work to begin with?

-john


RE: Audio jack and external mic? - tophneal - 06-10-2020

Have you run across this wiki section yet? https://wiki.pine64.org/index.php/Pinebook_Pro#Microphones

I tried to pull out some old iPhone headphones that have the microphones, but it turns out they are trash, and I have no other 3.5mm headphones. :/