No mic output and not even a mic setting in mixer


#1

I have no mic output and looking in Mixer => system Configuration => Recording Device, there is no mic option in the drop down menu. Default setting after installing the OS is “monitor” (the only other settings are: “vol, pcm, speaker, rec, igain, ogain”). I’ve tested them all before with Skype’s test call. All sound output works, but not the mic. I’ve tested both with the built in mic and with an external mic connected to the 3,5 mm input.

It was the same in 18.03 and prior TrueOS versions.

@jgroenveld , you told me to include the output these two command:

root@Trident:~ # cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC269 (Analog 2.0+HP/2.0)> (play/rec) default
pcm1: <Realtek ALC269 (Left Digital)> (play)
pcm2: <Realtek ALC269 (Left Analog Mic)> (rec)
pcm3: <Intel Cantiga (HDMI 8ch)> (play)
No devices installed from userspace.
root@Trident:~ # 


root@Trident:~ # mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  98:98
Mixer speaker  is currently set to  59:59
Mixer rec      is currently set to  37:37
Mixer igain    is currently set to   0:0
Mixer ogain    is currently set to 100:100
Mixer monitor  is currently set to  80:80
Recording source: monitor
root@Trident:~ # 

This is the computers hardware specs for audio that I can find, if it can help.

Optimized 2nd Generation Dolby® Sound Room®4 audio
enhancement, featuring Dolby® Headphone, Dolby®
Natural Bass and Dolby® Sound Space Expander
High-definition audio support
S/PDIF (Sony/Philips Digital Interface)5 support
for digital speakers
MS-Sound compatible
Built-in microphone

#2
# echo "hw.snd.verbose=4" >>/boot/loader.conf
# shutdown -r now
On reboot,
# dmesg |grep ^hdaa>/tmp/dmesg.output
And pastebin the dmesg.output

John
groenveld@acm.org

#3

I typed it exactly as you wrote it in root, but I got no output.


#4
# cat /tmp/dmesg.output

John
groenveld@acm.org

#5

Since I turned the computer off yesterday, I did this again

echo "hw.snd.verbose=4" >>/boot/loader.conf

Then this

root@Trident:~ # cat /tmp/dmesg.output
cat: /tmp/dmesg.output: No such file or directory
root@Trident:~ # dmesg |grep ^hdaa> /tmp/dmesg.output
root@Trident:~ # cat /tmp/dmesg.output
root@Trident:~ #

#6
# sysctl dev.hdac.0.pindump=1
# dmesg |grep ^hdaa

John
groenveld@acm.org

#7

Now I got some output, but it’s not so long so I paste it here.

root@Trident:~ # sysctl dev.hdac.0.pindump=1
dev.hdac.0.pindump: 0 -> 0
root@Trident:~ # dmesg |grep ^hdaa
hdaa0: Dumping AFG pins:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 17 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa0: 18 99a30930 3  0  Mic           Fixed ATAPI   Onboard    Unknown 9
hdaa0:     Caps: IN                 
hdaa0: 20 99130110 1  0  Speaker       Fixed ATAPI   Onboard    Unknown 1
hdaa0:     Caps:    OUT    EAPD     
hdaa0: 21 0321101f 1  15 Headphones    Jack  1/8     Left       Black   0
hdaa0:     Caps:    OUT HP EAPD      Sense: 0x00000000 (disconnected)
hdaa0: 22 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps:    OUT             
hdaa0: 24 03a19840 4  0  Mic           Jack  1/8     Left       Pink    8
hdaa0:     Caps: IN OUT         VREF Sense: 0x00000000 (disconnected)
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN OUT         VREF Sense: 0x00000000 (disconnected)
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN OUT HP      VREF Sense: 0x00000000 (disconnected)
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN OUT         VREF Sense: 0x00000000 (disconnected)
hdaa0: 30 03451120 2  0  SPDIF-out     Jack  Optical Left       Black   1
hdaa0:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1: Dumping AFG pins:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
root@Trident:~ #

Edit:
I lost the mixer for a while, but after reboot I got it back.


#8
Do your speakers or headphone work?
John
groenveld@acm.org

#9

Yes on both.

Btw, I tried to change the output setting, but then it won’t work. Speakers and headphone only work on the present setting.


#10
Test your output
# dd if=/usr/local/lib/python2.7/email/test/data/audiotest.au of=/dev/dsp0
Test your microphone:
# dd if=/dev/dsp1 of=/tmp/recording count=600
# dd if=/tmp/recording of=/dev/dsp0

John
groenveld@acm.org

#11

The output sounded terrible, but it works. I also get the login/logout tone every time. I can also play e.g. Youtube videos and off line audio and video files.

root@Trident:~ # dd if=/usr/local/lib/python2.7/email/test/data/audiotest.au of=/dev/dsp0
54+1 records in
54+1 records out
28144 bytes transferred in 3.561347 secs (7903 bytes/sec)
root@Trident:~ # dd if=/dev/dsp1 of=/tmp/recording count=600
dd: /dev/dsp1: Operation not supported
root@Trident:~ # dd if=/tmp/recording of=/dev/dsp0
dd: /tmp/recording: No such file or directory
root@Trident:~ #

#12

@jgroenveld @RodMyers
Since I got these results “Operation not supported” and “No such file or directory” on the last commands and I haven’t got any further reply, I have to ask if there is any solving on this issue?

Btw, after I put in the commands @jgroenveld told me, I noticed that I get a whole lot more text when I turn off or reboot the computer.

Since I had it connected to the Internet during all that, I have to ask if it installed, added or changed something? (it seems that way according to all that new text it didn’t have before).

If so, is there a way to delete it? I’m thinking since it didn’t help out anything, maybe it shouldn’t be there?