Hi, I was wondering
- Why can't my HPCOM with Rigth output sound?
2, why the audio recording sound from MIC2R input to pgaR is particularly small or even inaudible, you must increase the gain of pga to record.
If you know, very much looking forward to your reply。
Kind regards,
Bowen
This is the register configuration at the time of recording
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 10 04 00 00 0a 00 00 00 01 00 00 00 00 ...??..?...?....
10: 00 0f f0 00 78 78 78 78 78 06 00 fe 00 00 fe 00 .??.xxxxx?.?..?.
20: 00 00 00 00 88 e0 10 00 00 00 00 00 00 2f 00 80 ....???....../.?
30: 00 80 00 0f 2f 00 80 00 00 00 0f 00 80 00 2f 00 .?.?/.?...?.?./.
40: 00 0f 00 00 80 2f 00 00 0f 00 00 00 00 00 00 00 .?..?/..?.......
50: 2f 00 00 00 80 80 0b 00 00 80 2f 00 00 0b de 0c /...???..?/..???
60: 00 00 00 00 00 01 a2 00 00 00 00 00 00 00 00 00 .....??.........
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80: 00 00 00 10 04 00 00 0a 00 00 00 01 00 00 00 00 ...??..?...?....
90: 00 0f f0 00 78 78 78 78 78 06 00 fe 00 00 fe 00 .??.xxxxx?.?..?.
a0: 00 00 00 00 88 e0 10 00 00 00 00 00 00 2f 00 80 ....???....../.?
b0: 00 80 00 0f 2f 00 80 00 00 00 0f 00 80 00 2f 00 .?.?/.?...?.?./.
c0: 00 0f 00 00 80 2f 00 00 0f 00 00 00 00 00 00 00 .?..?/..?.......
d0: 2f 00 00 00 80 80 0b 00 00 80 2f 00 00 0b de 0c /...???..?/..???
e0: 00 00 00 00 00 01 a2 00 00 00 00 00 00 00 00 00 .....??.........
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
root@imx6ull-14x14-p572-01:~/aic# amixer scontents
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB]
Front Right: Playback 127 [100%] [0.00dB]
Simple mixer control 'Line',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Line DAC',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 118
Mono:
Front Left: Playback 118 [100%] [0.00dB]
Front Right: Playback 118 [100%] [0.00dB]
Simple mixer control 'Line PGA Bypass',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 118
Front Left: 118 [100%] [0.00dB]
Front Right: 118 [100%] [0.00dB]
Simple mixer control 'ADC HPF Cut-off',0
Capabilities: enum
Items: 'Disabled' '0.0045xFs' '0.0125xFs' '0.025xFs'
Item0: 'Disabled'
Item1: 'Disabled'
Simple mixer control 'AGC',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [off]
Front Right: Playback [off]
Simple mixer control 'De-emphasis',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [off]
Front Right: Playback [off]
Simple mixer control 'HP',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'HP DAC',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 118
Mono:
Front Left: Playback 118 [100%] [0.00dB]
Front Right: Playback 118 [100%] [0.00dB]
Simple mixer control 'HP PGA Bypass',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 118
Front Left: 118 [100%] [0.00dB]
Front Right: 118 [100%] [0.00dB]
Simple mixer control 'HPCOM',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'HPCOM DAC',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 118
Mono:
Front Left: Playback 118 [100%] [0.00dB]
Front Right: Playback 118 [100%] [0.00dB]
Simple mixer control 'HPCOM PGA Bypass',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 118
Front Left: 118 [100%] [0.00dB]
Front Right: 118 [100%] [0.00dB]
Simple mixer control 'Left AGC Attack time',0
Capabilities: enum
Items: '8ms' '11ms' '16ms' '20ms'
Item0: '8ms'
Simple mixer control 'Left AGC Decay time',0
Capabilities: enum
Items: '100ms' '200ms' '400ms' '500ms'
Item0: '100ms'
Simple mixer control 'Left AGC Target level',0
Capabilities: enum
Items: '-5.5dB' '-8dB' '-10dB' '-12dB' '-14dB' '-17dB' '-20dB' '-24dB'
Item0: '-5.5dB'
Simple mixer control 'Left DAC Mux',0
Capabilities: enum
Items: 'DAC_L1' 'DAC_L3' 'DAC_L2'
Item0: 'DAC_L1'
Simple mixer control 'Left HP Mixer DACL1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Left HP Mixer DACR1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [off]
Simple mixer control 'Left HP Mixer PGAL Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Left HP Mixer PGAR Bypass',0
Capabilities: volume volume-joined pswitch pswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 118
Mono: 118 [100%] [0.00dB] Playback [on]
Simple mixer control 'Left HPCOM Mixer DACL1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Left HPCOM Mixer DACR1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [off]
Simple mixer control 'Left HPCOM Mixer PGAL Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Left HPCOM Mixer PGAR Bypass',0
Capabilities: volume volume-joined pswitch pswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 118
Mono: 118 [100%] [0.00dB] Playback [off]
Simple mixer control 'Left HPCOM Mux',0
Capabilities: enum
Items: 'differential of HPLOUT' 'constant VCM' 'single-ended'
Item0: 'single-ended'
Simple mixer control 'Left Line Mixer DACL1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Left Line Mixer DACR1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [on]
Simple mixer control 'Left Line Mixer PGAL Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Left Line Mixer PGAR Bypass',0
Capabilities: volume volume-joined pswitch pswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 118
Mono: 118 [100%] [0.00dB] Playback [on]
Simple mixer control 'Left Line1L Mux',0
Capabilities: enum
Items: 'single-ended' 'differential'
Item0: 'single-ended'
Simple mixer control 'Left Line1R Mux',0
Capabilities: enum
Items: 'single-ended' 'differential'
Item0: 'single-ended'
Simple mixer control 'Left PGA Mixer Line1L',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Left PGA Mixer Line1R',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Left PGA Mixer Mic2L',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Left PGA Mixer Mic2R',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Output Driver Power-On time',0
Capabilities: enum
Items: '0us' '10us' '100us' '1ms' '10ms' '50ms' '100ms' '200ms' '400ms' '800ms' '2s' '4s'
Item0: '0us'
Simple mixer control 'Output Driver Ramp-up step',0
Capabilities: enum
Items: '0ms' '1ms' '2ms' '4ms'
Item0: '0ms'
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Right AGC Attack time',0
Capabilities: enum
Items: '8ms' '11ms' '16ms' '20ms'
Item0: '8ms'
Simple mixer control 'Right AGC Decay time',0
Capabilities: enum
Items: '100ms' '200ms' '400ms' '500ms'
Item0: '100ms'
Simple mixer control 'Right AGC Target level',0
Capabilities: enum
Items: '-5.5dB' '-8dB' '-10dB' '-12dB' '-14dB' '-17dB' '-20dB' '-24dB'
Item0: '-5.5dB'
Simple mixer control 'Right DAC Mux',0
Capabilities: enum
Items: 'DAC_R1' 'DAC_R3' 'DAC_R2'
Item0: 'DAC_R1'
Simple mixer control 'Right HP Mixer DACL1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [off]
Simple mixer control 'Right HP Mixer DACR1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right HP Mixer PGAL Bypass',0
Capabilities: volume volume-joined pswitch pswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 118
Mono: 118 [100%] [0.00dB] Playback [on]
Simple mixer control 'Right HP Mixer PGAR Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right HPCOM Mixer DACL1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [on]
Simple mixer control 'Right HPCOM Mixer DACR1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right HPCOM Mixer PGAL Bypass',0
Capabilities: volume volume-joined pswitch pswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 118
Mono: 118 [100%] [0.00dB] Playback [off]
Simple mixer control 'Right HPCOM Mixer PGAR Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right HPCOM Mux',0
Capabilities: enum
Items: 'differential of HPROUT' 'constant VCM' 'single-ended' 'differential of HPLCOM' 'external feedback'
Item0: 'single-ended'
Simple mixer control 'Right Line Mixer DACL1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [on]
Simple mixer control 'Right Line Mixer DACR1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right Line Mixer PGAL Bypass',0
Capabilities: volume volume-joined pswitch pswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 118
Mono: 118 [100%] [0.00dB] Playback [off]
Simple mixer control 'Right Line Mixer PGAR Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right Line1L Mux',0
Capabilities: enum
Items: 'single-ended' 'differential'
Item0: 'single-ended'
Simple mixer control 'Right Line1R Mux',0
Capabilities: enum
Items: 'single-ended' 'differential'
Item0: 'single-ended'
Simple mixer control 'Right PGA Mixer Line1L',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right PGA Mixer Line1R',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right PGA Mixer Mic2L',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right PGA Mixer Mic2R',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
[1]+ Done aplay 002.wav
root@imx6ull-14x14-p572-01:~/aic#
root@imx6ull-14x14-p572-01:~/aic#
root@imx6ull-14x14-p572-01:~/aic#
root@imx6ull-14x14-p572-01:~/aic#
root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACR1' on
Simple mixer control 'Left HP Mixer DACR1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [on]
root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACL1' off
Simple mixer control 'Left HP Mixer DACL1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav
Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACL1' on
Simple mixer control 'Left HP Mixer DACL1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav
Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
root@imx6ull-14x14-p572-01:~/aic# alsactl --file ./states/1212121212.state restore
12041512.state 12121212.state
root@imx6ull-14x14-p572-01:~/aic# alsactl --file ./states/12121212.state restore
root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav
Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACL1' off
Simple mixer control 'Left HP Mixer DACL1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav
Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACR1' on
Simple mixer control 'Left HP Mixer DACR1',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 118
Mono: Playback 118 [100%] [0.00dB] [on]
root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav
Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
root@imx6ull-14x14-p572-01:~/aic# amixer get 'PGA'
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]
root@imx6ull-14x14-p572-01:~/aic# amixer set 'PGA' 0,30
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 30 [25%] [15.00dB] [on]
root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav
Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
root@imx6ull-14x14-p572-01:~/aic# amixer set 'PGA' 0,100
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 100 [84%] [50.00dB] [on]
root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav
Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
root@imx6ull-14x14-p572-01:~/aic# amixer set 'PGA' 0,0
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]