Enable Mic on 3.5 jack port
#11
(03-27-2017, 09:43 AM)xalius Wrote: That should be ok, I would use arecord too for testing, make sure you have the correct device...

Here the devices:

Code:
**** List of CAPTURE Hardware Devices ****
card 1: audiocodec [audiocodec], device 0: SUNXI-CODEC codec-aif1-0 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: audiocodec [audiocodec], device 1: bb Voice codec-aif2-1 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: audiocodec [audiocodec], device 2: bb-bt-clk codec-aif2-2 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: audiocodec [audiocodec], device 3: bt Voice codec-aif3-3 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0


**** List of PLAYBACK Hardware Devices ****
card 0: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: audiocodec [audiocodec], device 0: SUNXI-CODEC codec-aif1-0 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: audiocodec [audiocodec], device 1: bb Voice codec-aif2-1 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: audiocodec [audiocodec], device 2: bb-bt-clk codec-aif2-2 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: audiocodec [audiocodec], device 3: bt Voice codec-aif3-3 []
 Subdevices: 1/1
 Subdevice #0: subdevice #0

and the same with pactl command:
Code:
Module #0
    Name: module-device-restore
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute state of devices"
        module.version = "8.0"

Module #1
    Name: module-stream-restore
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute/device state of streams"
        module.version = "8.0"

Module #2
    Name: module-card-restore
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore profile of cards"
        module.version = "8.0"

Module #3
    Name: module-augment-properties
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Augment the property sets of streams with additional static information"
        module.version = "8.0"

Module #4
    Name: module-switch-on-port-available
    Argument:
    Usage counter: n/a
    Properties:
        

Module #5
    Name: module-udev-detect
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Detect available audio hardware and load matching drivers"
        module.version = "8.0"

Module #6
    Name: module-alsa-card
    Argument: device_id="1" name="platform-sound.6" card_name="alsa_card.platform-sound.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
    Usage counter: 0
    Properties:
        module.author = "Lennart Poettering"
        module.description = "ALSA Card"
        module.version = "8.0"

Module #7
    Name: module-alsa-card
    Argument: device_id="0" name="platform-sound.7" card_name="alsa_card.platform-sound.7" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
    Usage counter: 0
    Properties:
        module.author = "Lennart Poettering"
        module.description = "ALSA Card"
        module.version = "8.0"

Module #8
    Name: module-native-protocol-unix
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Native protocol (UNIX sockets)"
        module.version = "8.0"

Module #9
    Name: module-default-device-restore
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the default sink and source"
        module.version = "8.0"

Module #10
    Name: module-rescue-streams
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
        module.version = "8.0"

Module #11
    Name: module-always-sink
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Colin Guthrie"
        module.description = "Always keeps at least one sink loaded even if it's a null one"
        module.version = "8.0"

Module #12
    Name: module-intended-roles
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically set device of streams based on intended roles of devices"
        module.version = "8.0"

Module #13
    Name: module-suspend-on-idle
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "When a sink/source is idle for too long, suspend it"
        module.version = "8.0"

Module #14
    Name: module-systemd-login
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Create a client for each login session of this user"
        module.version = "8.0"

Module #15
    Name: module-position-event-sounds
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
        module.version = "8.0"

Module #16
    Name: module-filter-heuristics
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Colin Guthrie"
        module.description = "Detect when various filters are desirable"
        module.version = "8.0"

Module #17
    Name: module-filter-apply
    Argument:
    Usage counter: n/a
    Properties:
        module.author = "Colin Guthrie"
        module.description = "Load filter sinks automatically when needed"
        module.version = "8.0"

Sink #0
    State: SUSPENDED
    Name: alsa_output.platform-sound.6.analog-stereo
    Description: audiocodec Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 6
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: alsa_output.platform-sound.6.analog-stereo.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "SUNXI-CODEC codec-aif1-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "1"
        alsa.card_name = "audiocodec"
        alsa.long_card_name = "audiocodec"
        alsa.driver_name = "sunxi_sndcodec"
        device.bus_path = "platform-sound.6"
        sysfs.path = "/devices/soc.0/sound.6/sound/card1"
        device.string = "hw:1"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "audiocodec Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Ports:
        analog-output-headphones: Headphones (priority: 9000)
    Active Port: analog-output-headphones
    Formats:
        pcm

Sink #1
    State: SUSPENDED
    Name: alsa_output.platform-sound.7.analog-stereo
    Description: sndhdmi Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 7
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: alsa_output.platform-sound.7.analog-stereo.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "SUNXI-HDMIAUDIO sndhdmi-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "sndhdmi"
        alsa.long_card_name = "sndhdmi"
        device.bus_path = "platform-sound.7"
        sysfs.path = "/devices/soc.0/sound.7/sound/card0"
        device.string = "hw:0"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "sndhdmi Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Ports:
        analog-output: Analog Output (priority: 9900)
    Active Port: analog-output
    Formats:
        pcm

Source #0
    State: SUSPENDED
    Name: alsa_output.platform-sound.6.analog-stereo.monitor
    Description: Monitor of audiocodec Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 6
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: alsa_output.platform-sound.6.analog-stereo
    Latency: 0 usec, configured 0 usec
    Flags: DECIBEL_VOLUME LATENCY
    Properties:
        device.description = "Monitor of audiocodec Analog Stereo"
        device.class = "monitor"
        alsa.card = "1"
        alsa.card_name = "audiocodec"
        alsa.long_card_name = "audiocodec"
        alsa.driver_name = "sunxi_sndcodec"
        device.bus_path = "platform-sound.6"
        sysfs.path = "/devices/soc.0/sound.6/sound/card1"
        device.string = "1"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Formats:
        pcm

Source #1
    State: SUSPENDED
    Name: alsa_input.platform-sound.6.analog-stereo
    Description: audiocodec Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 6
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: n/a
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "SUNXI-CODEC codec-aif1-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "1"
        alsa.card_name = "audiocodec"
        alsa.long_card_name = "audiocodec"
        alsa.driver_name = "sunxi_sndcodec"
        device.bus_path = "platform-sound.6"
        sysfs.path = "/devices/soc.0/sound.6/sound/card1"
        device.string = "hw:1"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "audiocodec Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Ports:
        analog-input: Analog Input (priority: 10000)
    Active Port: analog-input
    Formats:
        pcm

Source #2
    State: SUSPENDED
    Name: alsa_output.platform-sound.7.analog-stereo.monitor
    Description: Monitor of sndhdmi Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 7
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: alsa_output.platform-sound.7.analog-stereo
    Latency: 0 usec, configured 0 usec
    Flags: DECIBEL_VOLUME LATENCY
    Properties:
        device.description = "Monitor of sndhdmi Analog Stereo"
        device.class = "monitor"
        alsa.card = "0"
        alsa.card_name = "sndhdmi"
        alsa.long_card_name = "sndhdmi"
        device.bus_path = "platform-sound.7"
        sysfs.path = "/devices/soc.0/sound.7/sound/card0"
        device.string = "0"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Formats:
        pcm

Client #0
    Driver: module-systemd-login.c
    Owner Module: 14
    Properties:
        application.name = "Login Session c1"
        systemd-login.session = "c1"

Client #6
    Driver: protocol-native.c
    Owner Module: 8
    Properties:
        application.name = "pactl"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "30"
        application.process.id = "14826"
        application.process.user = "ubuntu"
        application.process.host = "pine64"
        application.process.binary = "pactl"
        application.language = "C"
        window.x11.display = "localhost:10.0"
        application.process.machine_id = "8a7eae2accb7977bad9de1e15856980a"
        application.process.session_id = "c1"

Card #0
    Name: alsa_card.platform-sound.6
    Driver: module-alsa-card.c
    Owner Module: 6
    Properties:
        alsa.card = "1"
        alsa.card_name = "audiocodec"
        alsa.long_card_name = "audiocodec"
        alsa.driver_name = "sunxi_sndcodec"
        device.bus_path = "platform-sound.6"
        sysfs.path = "/devices/soc.0/sound.6/sound/card1"
        device.string = "1"
        device.description = "audiocodec"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Profiles:
        input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 2, available: yes)
        input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
        output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority: 200, available: yes)
        output:analog-mono+input:analog-mono: Analog Mono Duplex (sinks: 1, sources: 1, priority: 202, available: yes)
        output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 260, available: yes)
        output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
        output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority: 6002, available: yes)
        output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    Active Profile: output:analog-stereo+input:analog-stereo
    Ports:
        analog-input: Analog Input (priority: 10000, latency offset: 0 usec)
            Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo
        analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec)
            Properties:
                device.icon_name = "audio-headphones"
            Part of profile(s): output:analog-mono, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo

Card #1
    Name: alsa_card.platform-sound.7
    Driver: module-alsa-card.c
    Owner Module: 7
    Properties:
        alsa.card = "0"
        alsa.card_name = "sndhdmi"
        alsa.long_card_name = "sndhdmi"
        device.bus_path = "platform-sound.7"
        sysfs.path = "/devices/soc.0/sound.7/sound/card0"
        device.string = "0"
        device.description = "sndhdmi"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Profiles:
        output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority: 200, available: yes)
        output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    Active Profile: output:analog-stereo
    Ports:
        analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
            Part of profile(s): output:analog-mono, output:analog-stereo

Aren't these correct?

Thanks in advance for your patience.
#12
Hi,
changing various parameters now Mic is ok.
Here my asound.state file:


Code:
state.audiocodec {
    control.1 {
        iface MIXER
        name 'AIF1 ADC timeslot 0 volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.2 {
        iface MIXER
        name 'AIF1 ADC timeslot 1 volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.3 {
        iface MIXER
        name 'AIF1 DAC timeslot 0 volume'
        value.0 153
        value.1 153
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -450
            dbvalue.1 -450
        }
    }
    control.4 {
        iface MIXER
        name 'AIF1 DAC timeslot 1 volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.5 {
        iface MIXER
        name 'AIF1 ADC timeslot 0 mixer gain'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 15'
            dbmin -600
            dbmax 8400
            dbvalue.0 -600
            dbvalue.1 -600
        }
    }
    control.6 {
        iface MIXER
        name 'AIF1 ADC timeslot 1 mixer gain'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 3'
            dbmin -600
            dbmax 1200
            dbvalue.0 -600
            dbvalue.1 -600
        }
    }
    control.7 {
        iface MIXER
        name 'AIF2 ADC volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.8 {
        iface MIXER
        name 'AIF2 DAC volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.9 {
        iface MIXER
        name 'AIF2 ADC mixer gain'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 15'
            dbmin -600
            dbmax 8400
            dbvalue.0 -600
            dbvalue.1 -600
        }
    }
    control.10 {
        iface MIXER
        name 'ADC volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.11 {
        iface MIXER
        name 'DAC volume'
        value.0 160
        value.1 160
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 75
            dbvalue.1 75
        }
    }
    control.12 {
        iface MIXER
        name 'DAC mixer gain'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 15'
            dbmin -600
            dbmax 8400
            dbvalue.0 -600
            dbvalue.1 -600
        }
    }
    control.13 {
        iface MIXER
        name 'digital volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 63'
            dbmin -7308
            dbmax 0
            dbvalue.0 -7308
        }
    }
    control.14 {
        iface MIXER
        name 'earpiece volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 31'
            dbmin -4350
            dbmax 300
            dbvalue.0 -4350
        }
    }
    control.15 {
        iface MIXER
        name 'speaker volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 31'
            dbmin -4800
            dbmax -150
            dbvalue.0 -4800
        }
    }
    control.16 {
        iface MIXER
        name 'headphone volume'
        value 44
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 63'
            dbmin -6300
            dbmax 0
            dbvalue.0 -1900
        }
    }
    control.17 {
        iface MIXER
        name 'MIC1_G boost stage output mixer control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.18 {
        iface MIXER
        name 'MIC1 boost AMP gain control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin 0
            dbmax 1400
            dbvalue.0 0
        }
    }
    control.19 {
        iface MIXER
        name 'MIC2 BST stage to L_R outp mixer gain'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.20 {
        iface MIXER
        name 'MIC2 boost AMP gain control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin 0
            dbmax 1400
            dbvalue.0 0
        }
    }
    control.21 {
        iface MIXER
        name 'LINEINL/R to L_R output mixer gain'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.22 {
        iface MIXER
        name 'ADC input gain control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.23 {
        iface MIXER
        name 'Phoneout gain control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.24 {
        iface MIXER
        name 'SRC FUCTION'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.25 {
        iface MIXER
        name 'I2S HUB FUNC'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.26 {
        iface MIXER
        name 'Phoneout Mixer MIC1 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.27 {
        iface MIXER
        name 'Phoneout Mixer MIC2 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.28 {
        iface MIXER
        name 'Phoneout Mixer Rout_Mixer_Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.29 {
        iface MIXER
        name 'Phoneout Mixer Lout_Mixer_Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.30 {
        iface MIXER
        name 'ADCR Mux'
        value DMIC
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 ADC
            item.1 DMIC
        }
    }
    control.31 {
        iface MIXER
        name 'ADCL Mux'
        value DMIC
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 ADC
            item.1 DMIC
        }
    }
    control.32 {
        iface MIXER
        name 'MIC2 SRC'
        value MIC2
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 MIC3
            item.1 MIC2
        }
    }
    control.33 {
        iface MIXER
        name 'RADC input Mixer MIC1 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.34 {
        iface MIXER
        name 'RADC input Mixer MIC2 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.35 {
        iface MIXER
        name 'RADC input Mixer LINEINR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.36 {
        iface MIXER
        name 'RADC input Mixer r_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.37 {
        iface MIXER
        name 'RADC input Mixer l_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.38 {
        iface MIXER
        name 'RADC input Mixer PHONINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.39 {
        iface MIXER
        name 'RADC input Mixer PHONINN-PHONINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.40 {
        iface MIXER
        name 'LADC input Mixer MIC1 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.41 {
        iface MIXER
        name 'LADC input Mixer MIC2 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.42 {
        iface MIXER
        name 'LADC input Mixer LINEINL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.43 {
        iface MIXER
        name 'LADC input Mixer l_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.44 {
        iface MIXER
        name 'LADC input Mixer r_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.45 {
        iface MIXER
        name 'LADC input Mixer PHONINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.46 {
        iface MIXER
        name 'LADC input Mixer PHONINP-PHONINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.47 {
        iface MIXER
        name 'AIF3OUT Mux'
        value 'AIF2 ADC left channel'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'AIF2 ADC left channel'
            item.1 'AIF2 ADC right channel'
        }
    }
    control.48 {
        iface MIXER
        name 'AIF2 ADR Mixer AIF1 DA0R Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.49 {
        iface MIXER
        name 'AIF2 ADR Mixer AIF1 DA1R Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.50 {
        iface MIXER
        name 'AIF2 ADR Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.51 {
        iface MIXER
        name 'AIF2 ADR Mixer ADCR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.52 {
        iface MIXER
        name 'AIF2 ADL Mixer AIF1 DA0L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.53 {
        iface MIXER
        name 'AIF2 ADL Mixer AIF1 DA1L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.54 {
        iface MIXER
        name 'AIF2 ADL Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.55 {
        iface MIXER
        name 'AIF2 ADL Mixer ADCL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.56 {
        iface MIXER
        name 'AIF2INR Mux'
        value AIF2_DACR
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_DACR
            item.1 AIF2_DACL
            item.2 SUM_AIF2DACL_AIF2DACR
            item.3 AVE_AIF2DACL_AIF2DACR
        }
    }
    control.57 {
        iface MIXER
        name 'AIF2INL Mux'
        value AIF2_DACL
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_DACL
            item.1 AIF2_DACR
            item.2 SUM_AIF2DACL_AIF2DACR
            item.3 AVE_AIF2DACL_AIF2DACR
        }
    }
    control.58 {
        iface MIXER
        name 'AIF2OUTR Mux'
        value AIF2_ADCR
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_ADCR
            item.1 AIF2_ADCL
            item.2 SUM_AIF2_ADCL_AIF2_ADCR
            item.3 AVE_AIF2_ADCL_AIF2_ADCR
        }
    }
    control.59 {
        iface MIXER
        name 'AIF2OUTL Mux'
        value AIF2_ADCL
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_ADCL
            item.1 AIF2_ADCR
            item.2 SUM_AIF2_ADCL_AIF2_ADCR
            item.3 AVE_AIF2_ADCL_AIF2_ADCR
        }
    }
    control.60 {
        iface MIXER
        name 'EAR Mux'
        value DACR
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 DACR
            item.1 DACL
            item.2 'Right Analog Mixer'
            item.3 'Left Analog Mixer'
        }
    }
    control.61 {
        iface MIXER
        name 'SPK_L Mux'
        value 'MIXEL Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'MIXEL Switch'
            item.1 'MIXL MIXR  Switch'
        }
    }
    control.62 {
        iface MIXER
        name 'SPK_R Mux'
        value 'MIXER Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'MIXER Switch'
            item.1 'MIXR MIXL Switch'
        }
    }
    control.63 {
        iface MIXER
        name 'HP_L Mux'
        value 'DACL HPL Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'DACL HPL Switch'
            item.1 'Left Analog Mixer HPL Switch'
        }
    }
    control.64 {
        iface MIXER
        name 'HP_R Mux'
        value 'DACR HPR Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'DACR HPR Switch'
            item.1 'Right Analog Mixer HPR Switch'
        }
    }
    control.65 {
        iface MIXER
        name 'Right Output Mixer DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.66 {
        iface MIXER
        name 'Right Output Mixer DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.67 {
        iface MIXER
        name 'Right Output Mixer LINEINR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.68 {
        iface MIXER
        name 'Right Output Mixer MIC2Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.69 {
        iface MIXER
        name 'Right Output Mixer MIC1Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.70 {
        iface MIXER
        name 'Right Output Mixer PHONEINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.71 {
        iface MIXER
        name 'Right Output Mixer PHONEINN-PHONEINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.72 {
        iface MIXER
        name 'Left Output Mixer DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.73 {
        iface MIXER
        name 'Left Output Mixer DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.74 {
        iface MIXER
        name 'Left Output Mixer LINEINL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.75 {
        iface MIXER
        name 'Left Output Mixer MIC2Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.76 {
        iface MIXER
        name 'Left Output Mixer MIC1Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.77 {
        iface MIXER
        name 'Left Output Mixer PHONEINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.78 {
        iface MIXER
        name 'Left Output Mixer PHONEINP-PHONEINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.79 {
        iface MIXER
        name 'DACR Mixer ADCR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.80 {
        iface MIXER
        name 'DACR Mixer AIF2DACR Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.81 {
        iface MIXER
        name 'DACR Mixer AIF1DA1R Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.82 {
        iface MIXER
        name 'DACR Mixer AIF1DA0R Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.83 {
        iface MIXER
        name 'DACL Mixer ADCL Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.84 {
        iface MIXER
        name 'DACL Mixer AIF2DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.85 {
        iface MIXER
        name 'DACL Mixer AIF1DA1L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.86 {
        iface MIXER
        name 'DACL Mixer AIF1DA0L Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.87 {
        iface MIXER
        name 'AIF1 AD1R Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.88 {
        iface MIXER
        name 'AIF1 AD1R Mixer ADCR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.89 {
        iface MIXER
        name 'AIF1 AD1L Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.90 {
        iface MIXER
        name 'AIF1 AD1L Mixer ADCL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.91 {
        iface MIXER
        name 'AIF1 AD0R Mixer AIF1 DA0R Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.92 {
        iface MIXER
        name 'AIF1 AD0R Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.93 {
        iface MIXER
        name 'AIF1 AD0R Mixer ADCR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.94 {
        iface MIXER
        name 'AIF1 AD0R Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.95 {
        iface MIXER
        name 'AIF1 AD0L Mixer AIF1 DA0L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.96 {
        iface MIXER
        name 'AIF1 AD0L Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.97 {
        iface MIXER
        name 'AIF1 AD0L Mixer ADCL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.98 {
        iface MIXER
        name 'AIF1 AD0L Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.99 {
        iface MIXER
        name 'AIF1IN1R Mux'
        value AIF1_DA1L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA1R
            item.1 AIF1_DA1L
            item.2 SUM_AIF1DA1L_AIF1DA1R
            item.3 AVE_AIF1DA1L_AIF1DA1R
        }
    }
    control.100 {
        iface MIXER
        name 'AIF1IN1L Mux'
        value AIF1_DA1L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA1L
            item.1 AIF1_DA1R
            item.2 SUM_AIF1DA1L_AIF1DA1R
            item.3 AVE_AIF1DA1L_AIF1DA1R
        }
    }
    control.101 {
        iface MIXER
        name 'AIF1IN0R Mux'
        value AIF1_DA0R
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA0R
            item.1 AIF1_DA0L
            item.2 SUM_AIF1DA0L_AIF1DA0R
            item.3 AVE_AIF1DA0L_AIF1DA0R
        }
    }
    control.102 {
        iface MIXER
        name 'AIF1IN0L Mux'
        value AIF1_DA0L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA0L
            item.1 AIF1_DA0R
            item.2 SUM_AIF1DA0L_AIF1DA0R
            item.3 AVE_AIF1DA0L_AIF1DA0R
        }
    }
    control.103 {
        iface MIXER
        name 'AIF1OUT1R Mux'
        value AIF1_AD1R
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD1R
            item.1 AIF1_AD1L
            item.2 SUM_AIF1ADC1L_AIF1ADC1R
            item.3 AVE_AIF1ADC1L_AIF1ADC1R
        }
    }
    control.104 {
        iface MIXER
        name 'AIF1OUT1L Mux'
        value AIF1_AD1L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD1L
            item.1 AIF1_AD1R
            item.2 SUM_AIF1ADC1L_AIF1ADC1R
            item.3 AVE_AIF1ADC1L_AIF1ADC1R
        }
    }
    control.105 {
        iface MIXER
        name 'AIF1OUT0R Mux'
        value AIF1_AD0R
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD0R
            item.1 AIF1_AD0L
            item.2 SUM_AIF1AD0L_AIF1AD0R
            item.3 AVE_AIF1AD0L_AIF1AD0R
        }
    }
    control.106 {
        iface MIXER
        name 'AIF1OUT0L Mux'
        value AIF1_AD0L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD0L
            item.1 AIF1_AD0R
            item.2 SUM_AIF1AD0L_AIF1AD0R
            item.3 AVE_AIF1AD0L_AIF1AD0R
        }
    }
    control.107 {
        iface MIXER
        name 'AIF2INR Mux VIR switch aif2inr aif3'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.108 {
        iface MIXER
        name 'AIF2INL Mux VIR switch aif2inl aif3'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.109 {
        iface MIXER
        name 'AIF2INR Mux switch aif2inr aif2'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.110 {
        iface MIXER
        name 'AIF2INL Mux switch aif2inl aif2'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.111 {
        iface MIXER
        name 'External Speaker Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.112 {
        iface MIXER
        name 'Headphone Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.113 {
        iface MIXER
        name 'Earpiece Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
}
state.sndhdmi {
    control.1 {
        iface MIXER
        name 'hdmi audio format Function'
        value pcm
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 null
            item.1 pcm
            item.2 AC3
            item.3 MPEG1
            item.4 MP3
            item.5 MPEG2
            item.6 AAC
            item.7 DTS
            item.8 ATRAC
            item.9 ONE_BIT_AUDIO
            item.10 DOLBY_DIGITAL_PLUS
            item.11 DTS_HD
            item.12 MAT
            item.13 WMAPRO
        }
    }
}
state.U0x46d0x9a1 {
    control.1 {
        iface MIXER
        name 'Mic Capture Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.2 {
        iface MIXER
        name 'Mic Capture Volume'
        value 1536
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 3072'
            dbmin 1800
            dbmax 3000
            dbvalue.0 2400
        }
    }
}

Thanks to Xalius for support Wink


Go to the bottom for correct asound.state file.
#13
Ok, thanks :-)

I will maybe make a diff to the original asound.state for the audiojack so we can add those things you changed to longsleep's default?
Come have a chat in the Pine IRC channel >>
#14
(03-27-2017, 03:34 PM)xalius Wrote: Ok, thanks :-)

I will maybe make a diff to the original asound.state for the audiojack so we can add those things you changed to longsleep's default?

Good Idea...
Thanks for all Xalius Smile
#15
(03-27-2017, 03:34 PM)xalius Wrote: Ok, thanks :-)

I will maybe make a diff to the original asound.state for the audiojack so we can add those things you changed to longsleep's default?

Hi Xalius,
here my correct asound.state (previous reply is not correct)
wiht the differences exposed:

differences patch file:
Code:
--- /home/noviabook3/Scrivania/asound.state
+++ /home/noviabook3/Scrivania/asound.state.OK_MIC_OUT_BKP
@@ -2,6 +2,54 @@
     control.1 {
         iface MIXER
         name 'AIF1 ADC timeslot 0 volume'
+        value.0 228
+        value.1 228
+        comment {
+            access 'read write'
+            type INTEGER
+            count 2
+            range '0 - 255'
+            dbmin -11925
+            dbmax 7200
+            dbvalue.0 5175
+            dbvalue.1 5175
+        }
+    }
+    control.2 {
+        iface MIXER
+        name 'AIF1 ADC timeslot 1 volume'
+        value.0 225
+        value.1 225
+        comment {
+            access 'read write'
+            type INTEGER
+            count 2
+            range '0 - 255'
+            dbmin -11925
+            dbmax 7200
+            dbvalue.0 4950
+            dbvalue.1 4950
+        }
+    }
+    control.3 {
+        iface MIXER
+        name 'AIF1 DAC timeslot 0 volume'
+        value.0 153
+        value.1 153
+        comment {
+            access 'read write'
+            type INTEGER
+            count 2
+            range '0 - 255'
+            dbmin -11925
+            dbmax 7200
+            dbvalue.0 -450
+            dbvalue.1 -450
+        }
+    }
+    control.4 {
+        iface MIXER
+        name 'AIF1 DAC timeslot 1 volume'
         value.0 0
         value.1 0
         comment {
@@ -15,9 +63,41 @@
             dbvalue.1 -11925
         }
     }
-    control.2 {
-        iface MIXER
-        name 'AIF1 ADC timeslot 1 volume'
+    control.5 {
+        iface MIXER
+        name 'AIF1 ADC timeslot 0 mixer gain'
+        value.0 14
+        value.1 14
+        comment {
+            access 'read write'
+            type INTEGER
+            count 2
+            range '0 - 15'
+            dbmin -600
+            dbmax 8400
+            dbvalue.0 7800
+            dbvalue.1 7800
+        }
+    }
+    control.6 {
+        iface MIXER
+        name 'AIF1 ADC timeslot 1 mixer gain'
+        value.0 3
+        value.1 3
+        comment {
+            access 'read write'
+            type INTEGER
+            count 2
+            range '0 - 3'
+            dbmin -600
+            dbmax 1200
+            dbvalue.0 1200
+            dbvalue.1 1200
+        }
+    }
+    control.7 {
+        iface MIXER
+        name 'AIF2 ADC volume'
         value.0 0
         value.1 0
         comment {
@@ -31,9 +111,41 @@
             dbvalue.1 -11925
         }
     }
-    control.3 {
-        iface MIXER
-        name 'AIF1 DAC timeslot 0 volume'
+    control.8 {
+        iface MIXER
+        name 'AIF2 DAC volume'
+        value.0 0
+        value.1 0
+        comment {
+            access 'read write'
+            type INTEGER
+            count 2
+            range '0 - 255'
+            dbmin -11925
+            dbmax 7200
+            dbvalue.0 -11925
+            dbvalue.1 -11925
+        }
+    }
+    control.9 {
+        iface MIXER
+        name 'AIF2 ADC mixer gain'
+        value.0 0
+        value.1 0
+        comment {
+            access 'read write'
+            type INTEGER
+            count 2
+            range '0 - 15'
+            dbmin -600
+            dbmax 8400
+            dbvalue.0 -600
+            dbvalue.1 -600
+        }
+    }
+    control.10 {
+        iface MIXER
+        name 'ADC volume'
         value.0 153
         value.1 153
         comment {
@@ -47,9 +159,9 @@
             dbvalue.1 -450
         }
     }
-    control.4 {
-        iface MIXER
-        name 'AIF1 DAC timeslot 1 volume'
+    control.11 {
+        iface MIXER
+        name 'DAC volume'
         value.0 0
         value.1 0
         comment {
@@ -63,9 +175,9 @@
             dbvalue.1 -11925
         }
     }
-    control.5 {
-        iface MIXER
-        name 'AIF1 ADC timeslot 0 mixer gain'
+    control.12 {
+        iface MIXER
+        name 'DAC mixer gain'
         value.0 0
         value.1 0
         comment {
@@ -79,118 +191,6 @@
             dbvalue.1 -600
         }
     }
-    control.6 {
-        iface MIXER
-        name 'AIF1 ADC timeslot 1 mixer gain'
-        value.0 0
-        value.1 0
-        comment {
-            access 'read write'
-            type INTEGER
-            count 2
-            range '0 - 3'
-            dbmin -600
-            dbmax 1200
-            dbvalue.0 -600
-            dbvalue.1 -600
-        }
-    }
-    control.7 {
-        iface MIXER
-        name 'AIF2 ADC volume'
-        value.0 0
-        value.1 0
-        comment {
-            access 'read write'
-            type INTEGER
-            count 2
-            range '0 - 255'
-            dbmin -11925
-            dbmax 7200
-            dbvalue.0 -11925
-            dbvalue.1 -11925
-        }
-    }
-    control.8 {
-        iface MIXER
-        name 'AIF2 DAC volume'
-        value.0 0
-        value.1 0
-        comment {
-            access 'read write'
-            type INTEGER
-            count 2
-            range '0 - 255'
-            dbmin -11925
-            dbmax 7200
-            dbvalue.0 -11925
-            dbvalue.1 -11925
-        }
-    }
-    control.9 {
-        iface MIXER
-        name 'AIF2 ADC mixer gain'
-        value.0 0
-        value.1 0
-        comment {
-            access 'read write'
-            type INTEGER
-            count 2
-            range '0 - 15'
-            dbmin -600
-            dbmax 8400
-            dbvalue.0 -600
-            dbvalue.1 -600
-        }
-    }
-    control.10 {
-        iface MIXER
-        name 'ADC volume'
-        value.0 0
-        value.1 0
-        comment {
-            access 'read write'
-            type INTEGER
-            count 2
-            range '0 - 255'
-            dbmin -11925
-            dbmax 7200
-            dbvalue.0 -11925
-            dbvalue.1 -11925
-        }
-    }
-    control.11 {
-        iface MIXER
-        name 'DAC volume'
-        value.0 160
-        value.1 160
-        comment {
-            access 'read write'
-            type INTEGER
-            count 2
-            range '0 - 255'
-            dbmin -11925
-            dbmax 7200
-            dbvalue.0 75
-            dbvalue.1 75
-        }
-    }
-    control.12 {
-        iface MIXER
-        name 'DAC mixer gain'
-        value.0 0
-        value.1 0
-        comment {
-            access 'read write'
-            type INTEGER
-            count 2
-            range '0 - 15'
-            dbmin -600
-            dbmax 8400
-            dbvalue.0 -600
-            dbvalue.1 -600
-        }
-    }
     control.13 {
         iface MIXER
         name 'digital volume'
@@ -236,7 +236,7 @@
     control.16 {
         iface MIXER
         name 'headphone volume'
-        value 44
+        value 50
         comment {
             access 'read write'
             type INTEGER
@@ -244,7 +244,7 @@
             range '0 - 63'
             dbmin -6300
             dbmax 0
-            dbvalue.0 -1900
+            dbvalue.0 -1300
         }
     }
     control.17 {
@@ -320,6 +320,20 @@
     control.22 {
         iface MIXER
         name 'ADC input gain control'
+        value 4
+        comment {
+            access 'read write'
+            type INTEGER
+            count 1
+            range '0 - 7'
+            dbmin -450
+            dbmax 600
+            dbvalue.0 150
+        }
+    }
+    control.23 {
+        iface MIXER
+        name 'Phoneout gain control'
         value 0
         comment {
             access 'read write'
@@ -331,20 +345,6 @@
             dbvalue.0 -450
         }
     }
-    control.23 {
-        iface MIXER
-        name 'Phoneout gain control'
-        value 0
-        comment {
-            access 'read write'
-            type INTEGER
-            count 1
-            range '0 - 7'
-            dbmin -450
-            dbmax 600
-            dbvalue.0 -450
-        }
-    }
     control.24 {
         iface MIXER
         name 'SRC FUCTION'
@@ -368,7 +368,7 @@
     control.26 {
         iface MIXER
         name 'Phoneout Mixer MIC1 boost Switch'
-        value false
+        value true
         comment {
             access 'read write'
             type BOOLEAN
@@ -378,7 +378,7 @@
     control.27 {
         iface MIXER
         name 'Phoneout Mixer MIC2 boost Switch'
-        value false
+        value true
         comment {
             access 'read write'
             type BOOLEAN
@@ -408,7 +408,7 @@
     control.30 {
         iface MIXER
         name 'ADCR Mux'
-        value DMIC
+        value ADC
         comment {
             access 'read write'
             type ENUMERATED
@@ -420,7 +420,7 @@
     control.31 {
         iface MIXER
         name 'ADCL Mux'
-        value DMIC
+        value ADC
         comment {
             access 'read write'
             type ENUMERATED
@@ -454,7 +454,7 @@
     control.34 {
         iface MIXER
         name 'RADC input Mixer MIC2 boost Switch'
-        value false
+        value true
         comment {
             access 'read write'
             type BOOLEAN
@@ -524,7 +524,7 @@
     control.41 {
         iface MIXER
         name 'LADC input Mixer MIC2 boost Switch'
-        value false
+        value true
         comment {
             access 'read write'
             type BOOLEAN
@@ -1074,7 +1074,7 @@
     control.93 {
         iface MIXER
         name 'AIF1 AD0R Mixer ADCR Switch'
-        value false
+        value true
         comment {
             access 'read write'
             type BOOLEAN
@@ -1114,7 +1114,7 @@
     control.97 {
         iface MIXER
         name 'AIF1 AD0L Mixer ADCL Switch'
-        value false
+        value true
         comment {
             access 'read write'
             type BOOLEAN



complete asound.state:
Code:
state.audiocodec {
    control.1 {
        iface MIXER
        name 'AIF1 ADC timeslot 0 volume'
        value.0 228
        value.1 228
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 5175
            dbvalue.1 5175
        }
    }
    control.2 {
        iface MIXER
        name 'AIF1 ADC timeslot 1 volume'
        value.0 225
        value.1 225
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 4950
            dbvalue.1 4950
        }
    }
    control.3 {
        iface MIXER
        name 'AIF1 DAC timeslot 0 volume'
        value.0 153
        value.1 153
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -450
            dbvalue.1 -450
        }
    }
    control.4 {
        iface MIXER
        name 'AIF1 DAC timeslot 1 volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.5 {
        iface MIXER
        name 'AIF1 ADC timeslot 0 mixer gain'
        value.0 14
        value.1 14
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 15'
            dbmin -600
            dbmax 8400
            dbvalue.0 7800
            dbvalue.1 7800
        }
    }
    control.6 {
        iface MIXER
        name 'AIF1 ADC timeslot 1 mixer gain'
        value.0 3
        value.1 3
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 3'
            dbmin -600
            dbmax 1200
            dbvalue.0 1200
            dbvalue.1 1200
        }
    }
    control.7 {
        iface MIXER
        name 'AIF2 ADC volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.8 {
        iface MIXER
        name 'AIF2 DAC volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.9 {
        iface MIXER
        name 'AIF2 ADC mixer gain'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 15'
            dbmin -600
            dbmax 8400
            dbvalue.0 -600
            dbvalue.1 -600
        }
    }
    control.10 {
        iface MIXER
        name 'ADC volume'
        value.0 153
        value.1 153
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -450
            dbvalue.1 -450
        }
    }
    control.11 {
        iface MIXER
        name 'DAC volume'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 255'
            dbmin -11925
            dbmax 7200
            dbvalue.0 -11925
            dbvalue.1 -11925
        }
    }
    control.12 {
        iface MIXER
        name 'DAC mixer gain'
        value.0 0
        value.1 0
        comment {
            access 'read write'
            type INTEGER
            count 2
            range '0 - 15'
            dbmin -600
            dbmax 8400
            dbvalue.0 -600
            dbvalue.1 -600
        }
    }
    control.13 {
        iface MIXER
        name 'digital volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 63'
            dbmin -7308
            dbmax 0
            dbvalue.0 -7308
        }
    }
    control.14 {
        iface MIXER
        name 'earpiece volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 31'
            dbmin -4350
            dbmax 300
            dbvalue.0 -4350
        }
    }
    control.15 {
        iface MIXER
        name 'speaker volume'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 31'
            dbmin -4800
            dbmax -150
            dbvalue.0 -4800
        }
    }
    control.16 {
        iface MIXER
        name 'headphone volume'
        value 50
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 63'
            dbmin -6300
            dbmax 0
            dbvalue.0 -1300
        }
    }
    control.17 {
        iface MIXER
        name 'MIC1_G boost stage output mixer control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.18 {
        iface MIXER
        name 'MIC1 boost AMP gain control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin 0
            dbmax 1400
            dbvalue.0 0
        }
    }
    control.19 {
        iface MIXER
        name 'MIC2 BST stage to L_R outp mixer gain'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.20 {
        iface MIXER
        name 'MIC2 boost AMP gain control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin 0
            dbmax 1400
            dbvalue.0 0
        }
    }
    control.21 {
        iface MIXER
        name 'LINEINL/R to L_R output mixer gain'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.22 {
        iface MIXER
        name 'ADC input gain control'
        value 4
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 150
        }
    }
    control.23 {
        iface MIXER
        name 'Phoneout gain control'
        value 0
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 7'
            dbmin -450
            dbmax 600
            dbvalue.0 -450
        }
    }
    control.24 {
        iface MIXER
        name 'SRC FUCTION'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.25 {
        iface MIXER
        name 'I2S HUB FUNC'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.26 {
        iface MIXER
        name 'Phoneout Mixer MIC1 boost Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.27 {
        iface MIXER
        name 'Phoneout Mixer MIC2 boost Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.28 {
        iface MIXER
        name 'Phoneout Mixer Rout_Mixer_Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.29 {
        iface MIXER
        name 'Phoneout Mixer Lout_Mixer_Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.30 {
        iface MIXER
        name 'ADCR Mux'
        value ADC
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 ADC
            item.1 DMIC
        }
    }
    control.31 {
        iface MIXER
        name 'ADCL Mux'
        value ADC
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 ADC
            item.1 DMIC
        }
    }
    control.32 {
        iface MIXER
        name 'MIC2 SRC'
        value MIC2
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 MIC3
            item.1 MIC2
        }
    }
    control.33 {
        iface MIXER
        name 'RADC input Mixer MIC1 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.34 {
        iface MIXER
        name 'RADC input Mixer MIC2 boost Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.35 {
        iface MIXER
        name 'RADC input Mixer LINEINR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.36 {
        iface MIXER
        name 'RADC input Mixer r_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.37 {
        iface MIXER
        name 'RADC input Mixer l_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.38 {
        iface MIXER
        name 'RADC input Mixer PHONINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.39 {
        iface MIXER
        name 'RADC input Mixer PHONINN-PHONINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.40 {
        iface MIXER
        name 'LADC input Mixer MIC1 boost Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.41 {
        iface MIXER
        name 'LADC input Mixer MIC2 boost Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.42 {
        iface MIXER
        name 'LADC input Mixer LINEINL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.43 {
        iface MIXER
        name 'LADC input Mixer l_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.44 {
        iface MIXER
        name 'LADC input Mixer r_output mixer Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.45 {
        iface MIXER
        name 'LADC input Mixer PHONINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.46 {
        iface MIXER
        name 'LADC input Mixer PHONINP-PHONINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.47 {
        iface MIXER
        name 'AIF3OUT Mux'
        value 'AIF2 ADC left channel'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'AIF2 ADC left channel'
            item.1 'AIF2 ADC right channel'
        }
    }
    control.48 {
        iface MIXER
        name 'AIF2 ADR Mixer AIF1 DA0R Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.49 {
        iface MIXER
        name 'AIF2 ADR Mixer AIF1 DA1R Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.50 {
        iface MIXER
        name 'AIF2 ADR Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.51 {
        iface MIXER
        name 'AIF2 ADR Mixer ADCR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.52 {
        iface MIXER
        name 'AIF2 ADL Mixer AIF1 DA0L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.53 {
        iface MIXER
        name 'AIF2 ADL Mixer AIF1 DA1L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.54 {
        iface MIXER
        name 'AIF2 ADL Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.55 {
        iface MIXER
        name 'AIF2 ADL Mixer ADCL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.56 {
        iface MIXER
        name 'AIF2INR Mux'
        value AIF2_DACR
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_DACR
            item.1 AIF2_DACL
            item.2 SUM_AIF2DACL_AIF2DACR
            item.3 AVE_AIF2DACL_AIF2DACR
        }
    }
    control.57 {
        iface MIXER
        name 'AIF2INL Mux'
        value AIF2_DACL
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_DACL
            item.1 AIF2_DACR
            item.2 SUM_AIF2DACL_AIF2DACR
            item.3 AVE_AIF2DACL_AIF2DACR
        }
    }
    control.58 {
        iface MIXER
        name 'AIF2OUTR Mux'
        value AIF2_ADCR
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_ADCR
            item.1 AIF2_ADCL
            item.2 SUM_AIF2_ADCL_AIF2_ADCR
            item.3 AVE_AIF2_ADCL_AIF2_ADCR
        }
    }
    control.59 {
        iface MIXER
        name 'AIF2OUTL Mux'
        value AIF2_ADCL
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF2_ADCL
            item.1 AIF2_ADCR
            item.2 SUM_AIF2_ADCL_AIF2_ADCR
            item.3 AVE_AIF2_ADCL_AIF2_ADCR
        }
    }
    control.60 {
        iface MIXER
        name 'EAR Mux'
        value DACR
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 DACR
            item.1 DACL
            item.2 'Right Analog Mixer'
            item.3 'Left Analog Mixer'
        }
    }
    control.61 {
        iface MIXER
        name 'SPK_L Mux'
        value 'MIXEL Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'MIXEL Switch'
            item.1 'MIXL MIXR  Switch'
        }
    }
    control.62 {
        iface MIXER
        name 'SPK_R Mux'
        value 'MIXER Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'MIXER Switch'
            item.1 'MIXR MIXL Switch'
        }
    }
    control.63 {
        iface MIXER
        name 'HP_L Mux'
        value 'DACL HPL Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'DACL HPL Switch'
            item.1 'Left Analog Mixer HPL Switch'
        }
    }
    control.64 {
        iface MIXER
        name 'HP_R Mux'
        value 'DACR HPR Switch'
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 'DACR HPR Switch'
            item.1 'Right Analog Mixer HPR Switch'
        }
    }
    control.65 {
        iface MIXER
        name 'Right Output Mixer DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.66 {
        iface MIXER
        name 'Right Output Mixer DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.67 {
        iface MIXER
        name 'Right Output Mixer LINEINR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.68 {
        iface MIXER
        name 'Right Output Mixer MIC2Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.69 {
        iface MIXER
        name 'Right Output Mixer MIC1Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.70 {
        iface MIXER
        name 'Right Output Mixer PHONEINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.71 {
        iface MIXER
        name 'Right Output Mixer PHONEINN-PHONEINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.72 {
        iface MIXER
        name 'Left Output Mixer DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.73 {
        iface MIXER
        name 'Left Output Mixer DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.74 {
        iface MIXER
        name 'Left Output Mixer LINEINL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.75 {
        iface MIXER
        name 'Left Output Mixer MIC2Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.76 {
        iface MIXER
        name 'Left Output Mixer MIC1Booststage Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.77 {
        iface MIXER
        name 'Left Output Mixer PHONEINP Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.78 {
        iface MIXER
        name 'Left Output Mixer PHONEINP-PHONEINN Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.79 {
        iface MIXER
        name 'DACR Mixer ADCR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.80 {
        iface MIXER
        name 'DACR Mixer AIF2DACR Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.81 {
        iface MIXER
        name 'DACR Mixer AIF1DA1R Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.82 {
        iface MIXER
        name 'DACR Mixer AIF1DA0R Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.83 {
        iface MIXER
        name 'DACL Mixer ADCL Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.84 {
        iface MIXER
        name 'DACL Mixer AIF2DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.85 {
        iface MIXER
        name 'DACL Mixer AIF1DA1L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.86 {
        iface MIXER
        name 'DACL Mixer AIF1DA0L Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.87 {
        iface MIXER
        name 'AIF1 AD1R Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.88 {
        iface MIXER
        name 'AIF1 AD1R Mixer ADCR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.89 {
        iface MIXER
        name 'AIF1 AD1L Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.90 {
        iface MIXER
        name 'AIF1 AD1L Mixer ADCL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.91 {
        iface MIXER
        name 'AIF1 AD0R Mixer AIF1 DA0R Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.92 {
        iface MIXER
        name 'AIF1 AD0R Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.93 {
        iface MIXER
        name 'AIF1 AD0R Mixer ADCR Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.94 {
        iface MIXER
        name 'AIF1 AD0R Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.95 {
        iface MIXER
        name 'AIF1 AD0L Mixer AIF1 DA0L Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.96 {
        iface MIXER
        name 'AIF1 AD0L Mixer AIF2 DACL Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.97 {
        iface MIXER
        name 'AIF1 AD0L Mixer ADCL Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.98 {
        iface MIXER
        name 'AIF1 AD0L Mixer AIF2 DACR Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.99 {
        iface MIXER
        name 'AIF1IN1R Mux'
        value AIF1_DA1L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA1R
            item.1 AIF1_DA1L
            item.2 SUM_AIF1DA1L_AIF1DA1R
            item.3 AVE_AIF1DA1L_AIF1DA1R
        }
    }
    control.100 {
        iface MIXER
        name 'AIF1IN1L Mux'
        value AIF1_DA1L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA1L
            item.1 AIF1_DA1R
            item.2 SUM_AIF1DA1L_AIF1DA1R
            item.3 AVE_AIF1DA1L_AIF1DA1R
        }
    }
    control.101 {
        iface MIXER
        name 'AIF1IN0R Mux'
        value AIF1_DA0R
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA0R
            item.1 AIF1_DA0L
            item.2 SUM_AIF1DA0L_AIF1DA0R
            item.3 AVE_AIF1DA0L_AIF1DA0R
        }
    }
    control.102 {
        iface MIXER
        name 'AIF1IN0L Mux'
        value AIF1_DA0L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_DA0L
            item.1 AIF1_DA0R
            item.2 SUM_AIF1DA0L_AIF1DA0R
            item.3 AVE_AIF1DA0L_AIF1DA0R
        }
    }
    control.103 {
        iface MIXER
        name 'AIF1OUT1R Mux'
        value AIF1_AD1R
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD1R
            item.1 AIF1_AD1L
            item.2 SUM_AIF1ADC1L_AIF1ADC1R
            item.3 AVE_AIF1ADC1L_AIF1ADC1R
        }
    }
    control.104 {
        iface MIXER
        name 'AIF1OUT1L Mux'
        value AIF1_AD1L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD1L
            item.1 AIF1_AD1R
            item.2 SUM_AIF1ADC1L_AIF1ADC1R
            item.3 AVE_AIF1ADC1L_AIF1ADC1R
        }
    }
    control.105 {
        iface MIXER
        name 'AIF1OUT0R Mux'
        value AIF1_AD0R
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD0R
            item.1 AIF1_AD0L
            item.2 SUM_AIF1AD0L_AIF1AD0R
            item.3 AVE_AIF1AD0L_AIF1AD0R
        }
    }
    control.106 {
        iface MIXER
        name 'AIF1OUT0L Mux'
        value AIF1_AD0L
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 AIF1_AD0L
            item.1 AIF1_AD0R
            item.2 SUM_AIF1AD0L_AIF1AD0R
            item.3 AVE_AIF1AD0L_AIF1AD0R
        }
    }
    control.107 {
        iface MIXER
        name 'AIF2INR Mux VIR switch aif2inr aif3'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.108 {
        iface MIXER
        name 'AIF2INL Mux VIR switch aif2inl aif3'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.109 {
        iface MIXER
        name 'AIF2INR Mux switch aif2inr aif2'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.110 {
        iface MIXER
        name 'AIF2INL Mux switch aif2inl aif2'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.111 {
        iface MIXER
        name 'External Speaker Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.112 {
        iface MIXER
        name 'Headphone Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.113 {
        iface MIXER
        name 'Earpiece Switch'
        value false
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
}
state.sndhdmi {
    control.1 {
        iface MIXER
        name 'hdmi audio format Function'
        value pcm
        comment {
            access 'read write'
            type ENUMERATED
            count 1
            item.0 null
            item.1 pcm
            item.2 AC3
            item.3 MPEG1
            item.4 MP3
            item.5 MPEG2
            item.6 AAC
            item.7 DTS
            item.8 ATRAC
            item.9 ONE_BIT_AUDIO
            item.10 DOLBY_DIGITAL_PLUS
            item.11 DTS_HD
            item.12 MAT
            item.13 WMAPRO
        }
    }
}
state.U0x46d0x9a1 {
    control.1 {
        iface MIXER
        name 'Mic Capture Switch'
        value true
        comment {
            access 'read write'
            type BOOLEAN
            count 1
        }
    }
    control.2 {
        iface MIXER
        name 'Mic Capture Volume'
        value 1536
        comment {
            access 'read write'
            type INTEGER
            count 1
            range '0 - 3072'
            dbmin 1800
            dbmax 3000
            dbvalue.0 2400
        }
    }
}


Thanks.


Possibly Related Threads…
Thread Author Replies Views Last Post
  +LTS/SOPINE Audio Jack Pinout Little_Johnny 0 2,982 12-29-2019, 08:44 AM
Last Post: Little_Johnny
  Pine64 (analog) Audio Jack Output w/ Kernel 4.19 ecolezen 0 3,056 01-24-2019, 07:00 AM
Last Post: ecolezen
  Sound quality from audio jack devanl 0 3,246 10-11-2017, 10:39 PM
Last Post: devanl
  Packet loss on lan port Hiren 4 6,375 09-06-2016, 08:18 AM
Last Post: Hiren

Forum Jump:


Users browsing this thread: 2 Guest(s)