Sunfounder Fusion HAT+

I have a Sunfounder Fusion HAT+ stacked onto a raspberry pi 4B which is running debian bookworm. I have installed the software and re-installed the software many times, and while the motors, servos and LEDs work just fine, I just can’t get the audio or speakers to work. Do you have some definitive tests that I can run to determine what the issue(s) is please ?

1 Like

Hi there,

I am having this same issue on a Raspberry Pi 4, the speaker shows up in aplay -l however when I run the test scripts or attempt to play sound through it, no audio comes out.

It would be great to get some help on this, since all the troubleshooting I have done just seems to conclude there is something wrong with the speaker, which I hope isn’t the case.

Perhaps @SunFounder_Moderator or one of the other users here could help.

It is possible that the speaker on the Fusion HAT has not been activated. Please try running the following command to enable the speaker:

fusion_hat speaker enable

After that, try playing an audio file again and see if it works.

In our Fusion HAT programs, this command is called automatically. However, if you try to play audio directly without first running an example program that activates the speaker, there may be no sound.

Please let me know if this resolves the issue.

No unfortunately this did not sort the issue. However, I have been in touch with the Sunfounder helpdesk, and after about 4-5 days slogging through some various test and reboots etc., they decided that it was a hardware fault, so new Fusion HAT+ on the way :slightly_smiling_face:

Hi there @SunFounder_Moderator,

Sorry for the slow response, I just tried that but I get this error:

Enable Fusion-HAT speaker.
Traceback (most recent call last):
  File "/usr/local/bin/fusion_hat", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/local/lib/python3.13/dist-packages/fusion_hat/_cli.py", line 580, in main
    args._func(args)
    ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/fusion_hat/_cli.py", line 496, in <lambda>
    sp.set_defaults(_func=lambda a: enable_speaker())
                                    ~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/dist-packages/fusion_hat/_cli.py", line 8, in enable_speaker
    enable_speaker()
    ~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/dist-packages/fusion_hat/device.py", line 1282, in wrapper
    raise_if_fusion_hat_not_ready()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/dist-packages/fusion_hat/device.py", line 730, in raise_if_fusion_hat_not_ready
    raise IOError(
    ...<2 lines>...
    )
OSError: Fusion Hat driver not loaded (sysfs interface missing). Run 'fusion_hat doctor' to diagnose and fix.