# 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

### 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
:::

> mute 0x19 pin as `Not connected`
### Hope everything work :smile:


### DREAM LIKE A HACKER TYPING



### 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 😢
:::