PINE64

Full Version: No sound output from 3.5mm jack
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey fellow Rockers,
I'm having some trouble getting sound to play from the 3.5mm port on my rockpro 64
Kernel: Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux
Distro: Debain Stretch 9.6

This is my first time encountering an audio problem so I'm not 100% I went through the all basics, but here's what I've done so far:
  • Verified my user is in the audio group
  • installed pulseaudio and pavucontrol
  • changed my default sinks to every option available with pacmd change-default-sink
  • verified my volume was turned up in alsamixer
  • played a known good file with aplay as local user and su
  • tried a new headset, and tried the same headset in a different device. The headset is good.
  • Searched this forum and followed Longsleep's recommendations posted here
  • rebooted multiple times after iterating through these steps
None of these steps remedied the issue, and I still don't have any sound output from the 3.5mm. I was able to get audio through the HDMI port one time, but that happened unintentionally.
Sinks:

Code:
3 sink(s) available.
 * index: 0
    name: <alsa_output.platform-es8316-sound.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9009
    volume: front-left: 57659 /  88% / -3.34 dB,   front-right: 57659 /  88% / -3.34 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 0
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    fixed latency: 99.95 ms
    card: 0 <alsa_card.platform-es8316-sound>
    module: 6
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "ff890000.i2s-ES8316 HiFi ES8316 HiFi-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "rockchip,es8316-codec"
        alsa.long_card_name = "rockchip,es8316-codec"
        device.bus_path = "platform-es8316-sound"
        sysfs.path = "/devices/platform/es8316-sound/sound/card0"
        device.string = "hw:0"
        device.buffering.buffer_size = "17632"
        device.buffering.fragment_size = "4408"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "rockchip,es8316-codec Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
   index: 1
    name: <alsa_output.platform-hdmi-dp-sound.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9009
    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
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 2
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    fixed latency: 99.95 ms
    card: 1 <alsa_card.platform-hdmi-dp-sound>
    module: 7
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "HDMI-DP multicodec-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "2"
        alsa.card_name = "rk-hdmi-dp-sound"
        alsa.long_card_name = "rk-hdmi-dp-sound"
        device.bus_path = "platform-hdmi-dp-sound"
        sysfs.path = "/devices/platform/hdmi-dp-sound/sound/card2"
        device.string = "hw:2"
        device.buffering.buffer_size = "17632"
        device.buffering.fragment_size = "4408"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "rk-hdmi-dp-sound Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    ports:
        analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
            properties:
                
    active port: <analog-output>
   index: 2
    name: <alsa_output.platform-spdif-sound.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9009
    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
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 3
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    fixed latency: 99.95 ms
    card: 2 <alsa_card.platform-spdif-sound>
    module: 8
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "ff870000.spdif-dit-hifi dit-hifi-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "1"
        alsa.card_name = "ROCKCHIP,SPDIF"
        alsa.long_card_name = "ROCKCHIP,SPDIF"
        device.bus_path = "platform-spdif-sound"
        sysfs.path = "/devices/platform/spdif-sound/sound/card1"
        device.string = "hw:1"
        device.buffering.buffer_size = "17632"
        device.buffering.fragment_size = "4408"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "ROCKCHIP,SPDIF Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    ports:
        analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
            properties:
                
    active port: <analog-output>


I'm not sure what to do next, so here I am. Thanks in advance for any assistance.
PS. lspci produces no output. Is this normal?
(12-10-2018, 06:05 AM)spatial_dreams Wrote: [ -> ]I'm having some trouble getting sound to play from the 3.5mm port on my rockpro 64
Kernel: Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux
Distro: Debain Stretch 9.6
I have yet to get any sound out of my 3.5mm port under Linux. There are various "hints" that it is possible - I am sure it is but nobody has yet given instructions that made sense to me. e.g. see this thread. The one thing that I haven't tried, that IMHO may be worth a shot, is Armbian.
(12-10-2018, 06:05 AM)spatial_dreams Wrote: [ -> ]PS. lspci produces no output. Is this normal?
Yup - the pci (linux) modules are compiled as option to load ("M" only if needed).
(12-10-2018, 06:05 AM)spatial_dreams Wrote: [ -> ]Hey fellow Rockers,
I'm having some trouble getting sound to play from the 3.5mm port on my rockpro 64
Kernel: Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux
Distro: Debain Stretch 9.6

This is my first time encountering an audio problem so I'm not 100% I went through the all basics, but here's what I've done so far:
  • Verified my user is in the audio group
  • installed pulseaudio and pavucontrol
  • changed my default sinks to every option available with pacmd change-default-sink
  • verified my volume was turned up in alsamixer
  • played a known good file with aplay as local user and su
  • tried a new headset, and tried the same headset in a different device. The headset is good.
  • Searched this forum and followed Longsleep's recommendations posted here
  • rebooted multiple times after iterating through these steps
None of these steps remedied the issue, and I still don't have any sound output. It's possible that it's sending the signal through the HDMI cable, but my monitor doesn't support audio so I can't tell.

Sinks:

Code:
3 sink(s) available.
 * index: 0
    name: <alsa_output.platform-es8316-sound.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9009
    volume: front-left: 57659 /  88% / -3.34 dB,   front-right: 57659 /  88% / -3.34 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 0
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    fixed latency: 99.95 ms
    card: 0 <alsa_card.platform-es8316-sound>
    module: 6
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "ff890000.i2s-ES8316 HiFi ES8316 HiFi-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "rockchip,es8316-codec"
        alsa.long_card_name = "rockchip,es8316-codec"
        device.bus_path = "platform-es8316-sound"
        sysfs.path = "/devices/platform/es8316-sound/sound/card0"
        device.string = "hw:0"
        device.buffering.buffer_size = "17632"
        device.buffering.fragment_size = "4408"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "rockchip,es8316-codec Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
   index: 1
    name: <alsa_output.platform-hdmi-dp-sound.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9009
    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
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 2
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    fixed latency: 99.95 ms
    card: 1 <alsa_card.platform-hdmi-dp-sound>
    module: 7
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "HDMI-DP multicodec-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "2"
        alsa.card_name = "rk-hdmi-dp-sound"
        alsa.long_card_name = "rk-hdmi-dp-sound"
        device.bus_path = "platform-hdmi-dp-sound"
        sysfs.path = "/devices/platform/hdmi-dp-sound/sound/card2"
        device.string = "hw:2"
        device.buffering.buffer_size = "17632"
        device.buffering.fragment_size = "4408"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "rk-hdmi-dp-sound Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    ports:
        analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
            properties:
                
    active port: <analog-output>
   index: 2
    name: <alsa_output.platform-spdif-sound.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9009
    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
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 3
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    fixed latency: 99.95 ms
    card: 2 <alsa_card.platform-spdif-sound>
    module: 8
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "ff870000.spdif-dit-hifi dit-hifi-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "1"
        alsa.card_name = "ROCKCHIP,SPDIF"
        alsa.long_card_name = "ROCKCHIP,SPDIF"
        device.bus_path = "platform-spdif-sound"
        sysfs.path = "/devices/platform/spdif-sound/sound/card1"
        device.string = "hw:1"
        device.buffering.buffer_size = "17632"
        device.buffering.fragment_size = "4408"
        device.access_mode = "mmap"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "ROCKCHIP,SPDIF Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    ports:
        analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
            properties:
                
    active port: <analog-output>


I'm not sure what to do next, so here I am. Thanks in advance for any assistance.
PS. lspci produces no output. Is this normal?
We, collectively, can't get sound working from the 3.5mm port in Linux?