RAXDA Rock Pi S POE Hat - Unable to configure audio

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version:
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=7
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version:
    bookworm
  • Kernel version:
    Linux NET-DIETPI-01 6.6.44-current-rockchip64 #1 SMP PREEMPT Sat Aug 3 06:54:42 UTC 2024 aarch64 GNU/Linux
  • Architecture:
    arm64
  • SBC model:
    ROCK Pi S (aarch64)
  • Power supply used:
    POE
  • SD card used:
    Onboard eMMC

Expected behaviour

Reference : ROCKPI S PoE HAT - Radxa Wiki (Usage of Headphone jack paragraph).

I have lost audio function of the headphone jack on the Raxda POE hat. I am unable to enable via the instruction on the above page

root@XXX:~# echo 15 > /sys/class/gpio/export
-bash: echo: write error: Device or resource busy
root@XXX:~# echo out > /sys/class/gpio/gpio15/direction
root@XXX:~# echo 1 > /sys/class/gpio/gpio15/value

dietpiconfig does not show audio device available (assuming the above error prevents the device from showing here).


┌──────────────────────────────┤ DietPi-Config ├───────────────────────────────┐
│ Please select a sound card                                                   │
│  - Current : none                                                            │
│                                                                              │
│                                ●─ Auto detection───●                         │
│                        usb-dac : USB Audio DAC (any)                         │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

This was previously working. Device was offline for a while and I updated when I brought it back online.
I am running ‘squeezelite’ as the only additional software on top of base OS install.

maybe something @MichaIng can help with

So, I think I understand where the issue lies. I have tested a number of DietPi images (Bookworm, Bullseye and Trixie). Also, tested a number of Armbian versions. In the end, I reverted to kernel 6.6.16 via armbian-config tool. This found all the audio devices and loaded the correct modules. I believe this relates to the device overlays that are available with this kernel version. Working through other kernel version to see where it breaks.
Still requires enabling the GPIO pins, per the Raxda Wiki, to get the output via the POE hat.

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.