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
0 Likes

#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
0 Likes

#3

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

0 Likes

#4
# cat /tmp/dmesg.output

John
groenveld@acm.org
0 Likes

#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:~ #
0 Likes

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

John
groenveld@acm.org
0 Likes

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

0 Likes

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

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

0 Likes

#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
0 Likes

#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:~ #
0 Likes

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

0 Likes

#13

@jgroenveld @RodMyers
I just updated to U7 with no problem what so ever, it worked perfect. But the mic is still disabled and the setting options in the Mixer => system Configuration => Recording Device are like before, Default setting is “monitor” and the only other settings are still: “vol, pcm, speaker, rec, igain, ogain”.

Changing the Audio Output Channel doesn’t help, it just disables the sound, it has to be on pcm0.
It there maybe some driver for the <Realtek ALC269 (Analog 2.0+HP/2.0)> on hdaa0 (1p:1v/1r:1v) audio card I’m missing?

I was abroad in Europe recently and since it’s free roaming I could make phone calls etc. at the same terms as at home. But I may go out of Europe next time and then I’ll need to use e.g. Skype and for that I need a functioning mic. I’ve tried a Samsung tablet, it works, but I hate those touch screens, they just flash and do things by them self without control, that’s why I don’t own a smartphone. I’ve used a Nokia C2-01 for years (great phone) but I needed to upgrade to something that has wi-fi, so recently I got a Cat B35, but KaiOS doesn’t have Skype, at least not yet.

0 Likes

#14

Skype on Trident? I need you to do a miracle.

0 Likes

#15

I think it does, at least it did on 18.03 (I tried it). The mic didn’t work, so it was useless, but everything else did. Note, you need to go for Skype4.

Edit: When I made a test install on my stationary desktop the mic did in fact work (didn’t test Skype, but I will). So it isn’t TrueOS or Trident that f**ks up the audio card, it has to be some kind on driver problem with Realtek ALC269 card.

0 Likes

Total catastrophy installing Trident
#16

I’ll try that. It’s replacing linux-c7 by linux-c6. I think I didn’t need linux-c7 anyway.

Downloading…

Running…

Broken. Aborted. :cry:

0 Likes

#17

OK, I will also test it and then install Trident on the desktop as soon as the problem I described in this thread is solved since I need to be able to access my phones memory card.

I get back here with a report in the Skype install was a success or not.

1 Like

#18
Plug your microphone into the left side mic jack and then run 
# sysctl dev.hdac.0.pindump=1
# dmesg | grep -A1 Mic

John
groenveld@acm.org
0 Likes

#19

Eh? OK, I’ll try that, but first…

  1. What do you mean by “left side mic jack”? The laptop only has one (3,5 mm) mic jack.
  2. It also has a built in mic, won’t it work with that? It uses the same driver for both and since the problem seems to be in the mixer/driver. So far it haven’t made any difference whether I try to use the built in mic or plug in an external one.
0 Likes

#20

@jgroenveld I ran the commands but without plugging in an external mic into the left side mic jack (don’t know what that means, I don’t have a left side (nor a right side) mic jack, only one jack for mic and one for earphones). Here is the outcome of that:

%                                                                    Trident% su -
Password:
root@Trident:~ # sysctl dev.hdac.0.pindump=1
dev.hdac.0.pindump: 0 -> 0
root@Trident:~ # dmesg | grep -A1 Mic
hdaa0: 18 99a30930 3  0  Mic           Fixed ATAPI   Onboard    Unknown 9
hdaa0:     Caps: IN                 
--
hdaa0: 24 03a19840 4  0  Mic           Jack  1/8     Left       Pink    8
hdaa0:     Caps: IN OUT         VREF Sense: 0x00000000 (disconnected)
root@Trident:~ # 

There is still no mic setting options in the Mixer => system Configuration => Recording Device.

0 Likes