Need Asound.state file with mic enabled
#1
Hello,

I have archlinux running on pine64+, everything is fine except mic input. Output to 3.5mm jack works nice, but I can't get recording anything. Can you please share asound.state file with mic enabled.
So far I went through sound codec code and tried to enabled the path from Mic2 -> DAC Mixer -> AIF1 -> Capture, but only thing I'm having is white noise.

Here is some debug info from capture:

Code:
$ cat './1c22e00.codec/dapm/AIF1 Capture'
AIF1 Capture: On  in 4 out 1
stream AIF1 Capture active
out  "static" "Capture"
in  "static" "AIF1 AD0L"
$ cat /sys/kernel/debug/asoc/sun50i-a64-audio/1c22e00.codec/dapm/AIF1 AD0L
AIF1 AD0L: Off  in 4 out 0 - R68(0x44) mask 0x8000
stream AIF1 Capture inactive
out  "static" "AIF1 Capture"
in  "static" "AIF1 AD0L Stereo Mux"
in  "static" "RST AIF1"
$ cat './1c22e00.codec/dapm/AIF1 AD0L'
AIF1 AD0L: On  in 4 out 1 - R68(0x44) mask 0x8000
stream AIF1 Capture inactive
out  "static" "AIF1 Capture"
in  "static" "AIF1 AD0L Stereo Mux"
in  "static" "RST AIF1"
$ cat './1c22e00.codec/dapm/AIF1 AD0L Stereo Mux'
AIF1 AD0L Stereo Mux: On  in 4 out 1
out  "static" "AIF1 AD0L"
in  "Sum Mono" "AIF1 AD0R Mixer"
in  "Sum Mono" "AIF1 AD0L Mixer"
$ cat './1f015c0.codec-analog/dapm/Mic2 Amplifier'
Mic2 Amplifier: On  in 1 out 2 - R8(0x8) mask 0x8
out  "Mic2 Capture Switch" "Right ADC Mixer"
out  "Mic2 Capture Switch" "Left ADC Mixer"
in  "static" "MIC2"
  Reply
#2
Hi,

I'm afraid the two attached files won't help you, they come from buster version installed on pineA64 and were not checked for microphone input ,one (nok) does not give any sound out of jack and the other one (ok) gives sound. Now using bookworms version, I still have very hard time to get sound out of jack.

Good luck. I'm not good enough for much.


Attached Files
.txt   asound.state_ok.txt (Size: 5.4 KB / Downloads: 28)
.txt   asound.state_nok.txt (Size: 10.04 KB / Downloads: 27)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot issues: What todo when you muck up your FSTAB file Dagremote 1 3,788 04-16-2017, 10:28 PM
Last Post: pfeerick
  Current state of Linux/most "complete" Version Corkonian 5 6,187 08-02-2016, 10:39 AM
Last Post: MarkHaysHarris777
Question Move root file system to usb drive? monty 7 10,221 05-23-2016, 04:13 PM
Last Post: Luke
  Encoder for Allwinner H3 based SOCs (alpha state) taros 0 3,513 03-16-2016, 12:20 PM
Last Post: taros

Forum Jump:


Users browsing this thread: 1 Guest(s)