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.


Messages In This Thread
Enable Mic on 3.5 jack port - by saro - 03-27-2017, 02:55 AM
RE: Enable Mic on 3.5 jack port - by xalius - 03-27-2017, 04:05 AM
RE: Enable Mic on 3.5 jack port - by saro - 03-27-2017, 06:28 AM
RE: Enable Mic on 3.5 jack port - by xalius - 03-27-2017, 07:23 AM
RE: Enable Mic on 3.5 jack port - by saro - 03-27-2017, 07:47 AM
RE: Enable Mic on 3.5 jack port - by xalius - 03-27-2017, 09:08 AM
RE: Enable Mic on 3.5 jack port - by saro - 03-27-2017, 09:12 AM
RE: Enable Mic on 3.5 jack port - by xalius - 03-27-2017, 09:25 AM
RE: Enable Mic on 3.5 jack port - by saro - 03-27-2017, 09:38 AM
RE: Enable Mic on 3.5 jack port - by xalius - 03-27-2017, 09:43 AM
RE: Enable Mic on 3.5 jack port - by saro - 03-27-2017, 09:53 AM
RE: Enable Mic on 3.5 jack port - by saro - 03-27-2017, 03:22 PM
RE: Enable Mic on 3.5 jack port - by xalius - 03-27-2017, 03:34 PM
RE: Enable Mic on 3.5 jack port - by saro - 03-27-2017, 04:41 PM
RE: Enable Mic on 3.5 jack port - by saro - 03-29-2017, 02:06 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)