RockPi S POE Hat

I am running DietPi on RockPi S with a POE hat. The POE works fine for both power and network. However I can’t seem to get audio out of the Audio Jack on the POE Hat. Has anyone been able to get this to work? Any help is appreciated.

Here are the specs on the board and POE hat.

https://wiki.radxa.com/ROCKPI_S_PoE_HAT

https://wiki.radxa.com/RockpiS/hardware/gpio

According their setup, to use the Audio, I have to follow these steps which I tried but no success

Usage of Headphone jack

  • Initialize GPIO0_B7.

root@rockpis:/home/rock# echo 15 > /sys/class/gpio/export root@rockpis:/home/rock# echo out > /sys/class/gpio/gpio15/direction root@rockpis:/home/rock# echo 1 > /sys/class/gpio/gpio15/value

  • Do not mute head phone jack.

root@rockpis:/home/rock# echo 1 > /sys/class/gpio/gpio15/value

Does the sound card show up in aplay -l and does alsamixer show some tunables for it?

Since we use Armbian’s mainline kernel build, it’s possible that the GPIO sysfs interface is different, i.e. the same sysfs numbers are not mapped to the same GPIO pins :thinking:.

aplay -l shows: aplay: device_list:274: no soundcards found…
I have added the overlays, but also same as above for aplay -l

Hmm, so there is no sound card at all. Looks like the HAT contains the sound card itself as well, right? I wasn’t sure whether it just exposes the jack from a sound card on the SoC itself.

According to what I read it is supposed to redirect GPIO pin 11 (GPIO number 15) which is I2C3.

I also inspected the POE hat and it didn’t have any Audio Codecs.

So it seems that headers just redirects the audio capabilities of the RK3308 processor.