Skip to content

PiFmAdv exits after "Outputting signal on GPIO 4." #108

@ABelliqueux

Description

@ABelliqueux

Running on a rpi 3b, running Debian 12 Wormbook, Linux 6.1.0-rpi7-rpi-v8 aarch64.

I've added gpu_mem=250 to /boot/config.txt.

I built successfully but when trying to run, the program instantly exits 'cleanly' after Outputting signal on GPIO 4, no matter what arguments I use :

pi@raspberrypi:~/PiFmAdv/src $ sudo ./pi_fm_adv
Carrier: 87.60 Mhz, VCO: 1138.8 MHz, Multiplier: 59.312500, Divider: 13
Allocating physical memory: size = 4354048, mem_ref = 9, bus_addr = fe6df000, virt_addr = 0x7f8a929000
Master PLLC Locked
Outputting signal on GPIO 4.
Terminating: cleanly deactivated the DMA engine and killed the carrier.
pi@raspberrypi:~/PiFmAdv/src $ sudo ./pi_fm_adv --audio /home/pi/.mpd/audio.fifo --freq 88.0
Carrier: 88.00 Mhz, VCO: 1144.0 MHz, Multiplier: 59.583333, Divider: 13
Allocating physical memory: size = 4354048, mem_ref = 9, bus_addr = fe6df000, virt_addr = 0x7f7fa49000
Master PLLC Locked
Outputting signal on GPIO 4.
Terminating: cleanly deactivated the DMA engine and killed the carrier.

After running either of these commands, with a radio tuned to the right freq, it makes the white noise go away, until I reboot the rpi.

I can play and hear the sound file fine with aplay via the jack output.
I've checked for modules that use the GPIO, but found none.

Is there something else I should be trying ? How can I get a more verbose output ? Any idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions