[SOLVED] No sound from phone-jack via "es8316" on rockpro64
#6
OK - still trying to get some noise out of my ES8316. Think I am pretty close but help/suggestions required, please!

I am compiling my own 4.19 kernel: Ayufan versions have no ALSA devices at all. I now have
Code:
chris@rpro64:~$ uname -a
Linux rpro64.dukla.net 4.19.0 #3 SMP PREEMPT Wed Oct 24 10:47:48 BST 2018 aarch64 aarch64 aarch64 GNU/Linux
chris@rpro64:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchipes8316c [rockchip,es8316-codec], device 0: ff890000.i2s-ES8316 HiFi ES8316 HiFi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Which is quite promising. Also
Code:
$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=rockchipes8316c
    rockchip,es8316-codec,
    Default Audio Device
sysdefault:CARD=rockchipes8316c
    rockchip,es8316-codec,
    Default Audio Device
dmix:CARD=rockchipes8316c,DEV=0
    rockchip,es8316-codec,
    Direct sample mixing device
dsnoop:CARD=rockchipes8316c,DEV=0
    rockchip,es8316-codec,
    Direct sample snooping device
hw:CARD=rockchipes8316c,DEV=0
    rockchip,es8316-codec,
    Direct hardware device without any conversions
plughw:CARD=rockchipes8316c,DEV=0
    rockchip,es8316-codec,
    Hardware device with all software conversions

But

Code:
$ speaker-test -c 2 sysdefault:CARD=rockchipes8316c

speaker-test 1.1.6

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -22,Invalid argument

And then system log fills with
Code:
[   83.424483] es8316 1-0010: No sysclk provided
[   83.425020] es8316 1-0010: ASoC: can't open codec ES8316 HiFi: -22

I did remember 0010 in an error message earlier in the boot:

Code:
$ dmesg | grep ff880000
[    2.090028] rockchip-pinctrl pinctrl: pin gpio4-0 already requested by 1-0010; cannot claim for ff880000.i2s
[    2.090907] rockchip-pinctrl pinctrl: pin-128 (ff880000.i2s) status -22
[    2.092501] rockchip-i2s ff880000.i2s: Error applying setting, reverse things back
[    2.093180] rockchip-i2s: probe of ff880000.i2s failed with error -22

So the question - how to sort the 1-0010 | gpio4-0 | ff880000.i2s conflict? Pretty sure this is in the device tree somewhere but have yet to find something obvious.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
  • PinePhone pmOS Community Edition 2/16Gb driving my picture frame, Tow-boot with pmOS/SXMO on eMMC
  • PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
  • ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade


Messages In This Thread
RE: [SOLVED] No sound from phone-jack via "es8316" on rockpro64 - by dukla2000 - 10-24-2018, 01:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 8 4,139 07-20-2025, 05:13 AM
Last Post: mara
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 92 124,513 08-17-2024, 02:32 PM
Last Post: taltamir
  OpenEuler OS on RockPro64 Yuriy Gavrilov 0 753 06-15-2024, 09:38 AM
Last Post: Yuriy Gavrilov
  yocto for RockPro64 Fide 1 1,791 01-16-2024, 10:01 AM
Last Post: Fide
  Installing Ubuntu Server on RockPro64 deutschlmao 2 4,889 10-29-2023, 04:43 PM
Last Post: brotherj4mes
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 27,394 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 103,043 08-11-2023, 11:13 AM
Last Post: mara
  How to enable CoreSight ETM trace on RockPro64 shpark 0 1,360 05-21-2023, 11:34 PM
Last Post: shpark
  Rockpro64 Dead on arrival? quixoticgeek 1 2,013 03-12-2023, 06:55 PM
Last Post: quixoticgeek
  RockPro64 boot questions misterc 3 3,467 01-13-2023, 06:21 PM
Last Post: misterc

Forum Jump:


Users browsing this thread: 1 Guest(s)