On Rock Pi 4 want to use Headphone

I want to Use Headphone on Rock pi 4 on Debian and Android OS …

because i want to Use Skype or Whatsapp calls

Do you mean Headphone (only speaker) or Headset (speaker with microphone)?

want to use Speaker with microphone on Debian and android OS …

Hi @Khaleel_Ahmed

Did you try using a speaker with mic? Does it work or you face issue?

If you face issue with Android, you can try posting in relevant thread:
https://forum.radxa.com/c/OS

RockPi 4b use one 4pin, so you need or usb audio to use headphone with two 3.5 jacks, or use headset with 4 pin 3.5 jack

Hello @Dante4

I am using 4 C with Ubuntu and I attached the mobile handsfree with 3.5 jack. I am not able to attend the Skype or any other calls.

Can you please guide me to solve this issue?

Do you have pulseaudio installed?

Yes, I have pulse audio installed on the device.

Show me list of sinks

Here is the list.

 pacmd list-sinks

2 sink(s) available.

  • index: 0
    name: <alsa_output.platform-es8316-sound.stereo-fallback>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY
    state: IDLE
    suspend cause: (none)
    priority: 9000
    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: 99.77 ms
    max request: 17 KiB
    max rewind: 17 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: 7
    properties:
    alsa.resolution_bits = “16”
    device.api = “alsa”
    device.class = “sound”
    alsa.class = “generic”
    alsa.subclass = “generic-mix”
    alsa.name = “”
    alsa.id = “ff880000.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.form_factor = “internal”
    device.string = “hw:0”
    device.buffering.buffer_size = “17632”
    device.buffering.fragment_size = “4408”
    device.access_mode = “mmap”
    device.profile.name = “stereo-fallback”
    device.profile.description = “Stereo”
    device.description = “Built-in Audio 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: 1
    name: <alsa_output.platform-hdmi-codec.stereo-fallback>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY
    state: IDLE
    suspend cause: (none)
    priority: 9000
    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: 99.84 ms
    max request: 17 KiB
    max rewind: 17 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-codec>
    module: 8
    properties:
    alsa.resolution_bits = “16”
    device.api = “alsa”
    device.class = “sound”
    alsa.class = “generic”
    alsa.subclass = “generic-mix”
    alsa.name = “”
    alsa.id = “ff8a0000.i2s-i2s-hifi i2s-hifi-0”
    alsa.subdevice = “0”
    alsa.subdevice_name = “subdevice #0
    alsa.device = “0”
    alsa.card = “1”
    alsa.card_name = “HDMI-CODEC”
    alsa.long_card_name = “HDMI-CODEC”
    device.bus_path = “platform-hdmi-codec”
    sysfs.path = “/devices/platform/hdmi-codec/sound/card1”
    device.form_factor = “internal”
    device.string = “hw:1”
    device.buffering.buffer_size = “17632”
    device.buffering.fragment_size = “4408”
    device.access_mode = “mmap”
    device.profile.name = “stereo-fallback”
    device.profile.description = “Stereo”
    device.description = “Built-in Audio 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>

One more command result for you.

pactl list sinks | egrep 'Sink|State|Mute|Volume|Name|Description'

Sink #0
State: IDLE
Name: alsa_output.platform-es8316-sound.stereo-fallback
Description: Built-in Audio Stereo
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
Base Volume: 65536 / 100% / 0.00 dB

Sink #1
State: IDLE
Name: alsa_output.platform-hdmi-codec.stereo-fallback
Description: Built-in Audio Stereo
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
Base Volume: 65536 / 100% / 0.00 dB

Looks like sinks is there. Are you sure your headphone is 4pin?

Also, as a test, i advise to try libreelec and see does sound go through

Yes, my headphone is 4pin.
Let me give a try to libreelec. Please confirm, am I on the right website libreelec ? :slight_smile:

yes, it’s correct site,