0

Layman's trouble with DspToolkit on DietPi

Disclaimer first: I do not know how any of this works, I just like how it sounds :)

I've used RPi3 + DigiPro with RuneAudio for years. Was super happy with it. Now I've setup RPi4 + Digi2Pro with dietPi and myMDP. Again, super happy with it. Reason for upgrade was to run more stuff on it, while I'm having a nice player (that is why DietPi). 

Other reason for upgrade was to check out DSP with REW correction. Spent a day pleasing DietPi to comply, but failed miserably :). After some trouble with missing dev tools, I've managed to install DspToolkit, but got error for installing profile step:

~# dsptoolkit install-profile https://raw.githubusercontent.com/hifiberry/hifiberry-dsp/master/sample_files/xml/4way-iir.xml
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/hifiberrydsp/client/sigmatcp.py", line 53, in connect
    self.socket.connect((self.ip, self.port))
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/dsptoolkit", line 29, in <module>
    cmdline.main()
  File "/usr/local/lib/python3.9/dist-packages/hifiberrydsp/dsptoolkit.py", line 1055, in main
    self.command_map[cmd]()
  File "/usr/local/lib/python3.9/dist-packages/hifiberrydsp/dsptoolkit.py", line 807, in cmd_install_profile
    res = self.dsptk.install_profile_from_content(data)
  File "/usr/local/lib/python3.9/dist-packages/hifiberrydsp/dsptoolkit.py", line 342, in install_profile_from_content
    return self.sigmatcp.write_eeprom_from_xml(content)
  File "/usr/local/lib/python3.9/dist-packages/hifiberrydsp/client/sigmatcp.py", line 139, in write_eeprom_from_xml
    self.connect()
  File "/usr/local/lib/python3.9/dist-packages/hifiberrydsp/client/sigmatcp.py", line 56, in connect
    raise SigmaTCPException(
hifiberrydsp.server.constants.SigmaTCPException: Could not connect to 127.0.0.1:8086

I've seen mention of 8089 port? Anyway, I've also run those:

~# systemctl list-unit-files sigmatcp.service
UNIT FILE        STATE   VENDOR PRESET
sigmatcp.service enabled enabled

and

~# systemctl list-units sigmatcp.service --all
  UNIT             LOAD   ACTIVE   SUB  DESCRIPTION
  sigmatcp.service loaded inactive dead SigmaTCP Server for HiFiBerry DSP

and 

~# journalctl -f -u sigmatcp
-- Journal begins at Sat 2023-05-06 20:18:54 NZST. --
sigmatcpserver[1813]: ERROR:root:ALSA mixer DSPVolume not found
sigmatcpserver[1813]: ERROR:root:can't create mixer control - aborting
sigmatcpserver[1813]: INFO:root:not enabling LG Sound Sync
sigmatcpserver[1813]: INFO:root:detected ADAU14xx DSP
sigmatcpserver[1813]: INFO:root:None
sigmatcpserver[1813]: INFO:root:saving DSP data memory
sigmatcpserver[1813]: INFO:root:store: getting checksum
sigmatcpserver[1813]: INFO:root:caching program memory checksum
sigmatcpserver[1813]: INFO:root:store: writing memory dump to file
systemd[1]: sigmatcp.service: Succeeded.

Any idea before I start all over again with clean OS. I might mess up ALSA config or something while setting up MPD...

4 comments

Please sign in to leave a comment.