10-24-2018, 01:47 PM
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
Which is quite promising. Also
But
And then system log fills with
I did remember 0010 in an error message earlier in the boot:
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.
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.
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC