# Using mic on the laptop while having earphones plugged in :::info kernel: 6.2.13-arch1-2-surface ::: ### You feel me? * An idea came up that what if I can hear my self typing, it might sounds a bit awkward but I kind like the clattering, it makes me excited, and the more up-speed the more I get, dreaming like a hack or some other shhxt hah ![](https://media.giphy.com/media/dJD0xpWqYDkic/giphy.gif) ### Issue * The first thing I am facing is that the Interal mic would shown `unplugin` while 3.5mm earphone pluged-in on my Surface7), no matter how many time I tried. ### Using hdajackretask Aimming to turn off the mic on my earphone, so system will always detect buid-in(internal) microphon. ```bash= # First thing is to find out what pin is connected # in my case I have 0x19 pin as my 3.5mm mic $ sudo hdajacksensetest Pin 0x19 (Black Mic, Left side): present = Yes Pin 0x21 (Black Headphone, Left side): present = Yes # kill pulseaudio before running hdajackretask # so you wont encounter the error `Device or resource buy` $ pulseaudio -k # might not be working if it's running as a daemon $ systemctl --user stop pulseaudio.socket # overwrite 0x19 as 'Not connected' # its up to you if you want to `install boot override` $ sudo hdajackretask # put back up pulseaudio $ pulseaudio --start #------------------------------------------------------- # last monitor your mic by using the loop module $ pactl load-module module-loopback latency_msec=1 rate=48000 # unload pulseaudio module $ pactl unload-module moduel-loopback ``` :::info Use pavucontrol to check if any sink(output) is muted ::: ![](https://hackmd.io/_uploads/rJRtazcHh.png =500x500) > mute 0x19 pin as `Not connected` ### Hope everything work :smile: ![](https://media3.giphy.com/media/1yn2e6uHgJHuAs5d0m/giphy.gif?cid=ecf05e47cbdef86c88e0e4ec4ccad314749eb32ce0b04a0a&ep=v1_gifs_gifId&rid=giphy.gif&ct=g) ![](https://media.giphy.com/media/2YliBVbeYZF4ADCOzs/giphy.gif) ### DREAM LIKE A HACKER TYPING ![](https://media.giphy.com/media/hOzfvZynn9AK4/giphy.gif) ![](https://media.giphy.com/media/mCRJDo24UvJMA/giphy.gif) ![](https://media.giphy.com/media/dwEweAW0zXcGQupuAC/giphy.gif) ### etc. Typing game - Practice your typing speed: [Typingclub](https://www.typingclub.com) - Shooting increase dopamine: [ztype](https://monkeytype.com/) :::info Reference: - [Internal microphone unavaliable when headphoenes plugged in (E495) ](https://bbs.archlinux.org/viewtopic.php?id=253387) - I also read a post on reddit but I can't it now 😢 :::