Skip to content

Feature request - overlay for remapping audio to GPIO pins #1473

Closed
@stefandz

Description

@stefandz

Hello - this is a follow-up to me showing my ignorance on the forums (and PhilE - who I imagine is @pelwell here) suggesting that I post a request here.

I am trying to remap the PWM audio from the pins connected to the onboard 3.5mm socket to pins 32 and 33 on the GPIO socket. So far I was achieving this by adding the following to /boot/config.txt

dtoverlay=pwm-2chan,pin=12,pin2=13,func=4,func2=4

However, as Phil points out this loads the driver twice (I think) and certainly also leaves audio coming out of the 3.5mm socket. Would it be possible to ask for someone's help in writing an overlay that actually remaps the audio properly? (and that the user can disable if they would like audio back in the normal place)

All help gratefully received.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions