Closed laurillev closed 2 years ago
Hi, Same here. Optical source missing since 20201213.
Hi, I also have this issue. Running Pi 4 with DAC+ DSP.
Hi, Same here. Using optical input as primary source. Pi 4, after update from 20201101 to 20201213
Ok, this is a bug in the upgrade process. Try the following
rm /etc/hifiberry.state /opt/hifiberry/bin/reconfigure-players
Unfortunately that didn't solve it for me.
Mine is a new installation, so it shouldn't have to do with upgrade. But thus I cannot temporarily go back to previous version either.
What's the output of the reconfigure-players command?
cat: /tmp/eeprom.txt: No such file or directory cat: /tmp/eeprom.txt: No such file or directory /etc/hifiberry ~ ~ pi bluetooth pi3orlater arm7 dsp localui DAC+ DSP 1 Nothing changed, exiting...
Hmm, this looks different than what it should be. What's the output of
grep toslink /opt/hifiberry/bin/reconfigure-players
grep toslink /opt/hifiberry/bin/reconfigure-players FEATURES="$FEATURES spdifnoclock toslink" FEATURES="$FEATURES toslink" FEATURES="$FEATURES dsp toslink"
Ok, that also looks right. I need to have another look.
Maybe that toslink "feature" is not correctly set for DAC+DSP somewhere.
Yes, that's right. Question is just WHY
Ok, looks like I found the problem. We'll fix it in the next release. For now, just use a workaround:
touch/etc/hifiberry/toslink.feature /opt/hifiberry/bin/reconfigure-players
Looks like a typo; in which directory should the feature file be placed?
@schwachstelle use space between touch-command and '/etc/...'
@laurillev yes, but there is no directory /etc/hifiberry. Maybe /opt/hifiberry/etc ?
Just create the directory
Just confirming that the following two commands, alone, worked for me with my Beocreate (note there was a typo with a slash after touch
in the original):
touch etc/hifiberry/toslink.feature
/opt/hifiberry/bin/reconfigure-players
I have the same issue and needed to make a fresh install so I can´t go back to the old version.
What are the exact commands for the fix ?
Which directory do I need to create?
Running these commands just gets me errors: touch etc/hifiberry/toslink.feature > touch: cannot touch 'etc/hifiberry/toslink.feature': No such file or directory
/opt/hifiberry/bin/reconfigure-players
# /opt/hifiberry/bin/reconfigure-players
cat: /tmp/eeprom.txt: No such file or directory
cat: /tmp/eeprom.txt: No such file or directory
/etc/hifiberry ~
~
pi
bluetooth
pi3orlater
arm7
dsp
localui
Beocreate 4-Channel Amplifier 1
Nothing changed, exiting...
See #197 (comment)
its not working :-( fresh install after download from website, root login
# touch/etc/hifiberry/toslink.feature
-bash: touch/etc/hifiberry/toslink.feature: No such file or directory
# /opt/hifiberry/bin/reconfigure-players
cat: /tmp/eeprom.txt: No such file or directory
cat: /tmp/eeprom.txt: No such file or directory
/etc/hifiberry ~
~
pi
bluetooth
pi3orlater
arm7
dsp
localui
Beocreate 4-Channel Amplifier 1
Nothing changed, exiting...
Just put a space between touch and the filename
Just put a space between touch and the filename
1. touch /etc/hifiberry/toslink.feature
2. /opt/hifiberry/bin/reconfigure-players
Thanks, it works!
Maybe this is unrelated, because I am having this issue on a newer OS (20210804), but running touch /etc/hifiberry/toslink.feature && rm /etc/hifiberry.state && /opt/hifiberry/bin/reconfigure-players
prints:
Terminated
/etc/hifiberry ~
~
Sound card settings have been changed, reconfiguring...
Applying settings:
Players: (was )
Raspberry Pi model: 4
System name: HiFiBerry (was )
Sound card: DAC+ Zero/Light/MiniAmp (was )
Interrupt pin for power controller: 2 (was )
DSP type: (was )
HW device: card 0 (was )
ALSA mixer control: Softvol (was )
Recording: (was )
Vendor/product (was )
Features: pi bluetooth pi3orlater arm7 localui toslink (was )
Saving settings to /etc/hifiberry.state
Reconfigure features
Reconfiguring Spotifyd
updated mixer
updated system name
Restarting spotify
Reconfiguring Vollibrespot
updated mixer
updated system name
updated mixer-card
Restarting spotify
Reconfiguring Shairport-sync
updated mixer
updated system name
Restarting shairport-sync
Reconfiguring Bluetooth
updated system name
updated mixer
Restarting bluetooth.service
Reconfiguring squeezelite
updated system name
Reconfiguring MPD
Restarting mpd
updated mixer
Reconfiguring DLNA
Reconfiguring Mopidy
modidy not installed, ignoring
Reconfigure AudioControl2
updated mixer
updated interrupt pin
Restarting audiocontrol2
Reconfigure upmpdcli
updated system name
Reconfigure RAAT
Configuring RAAT server for UUID [hidden] on DAC+ (snd_rpi_hifiberry_dac)
Reconfiguring Beocreate software
Value could not be interpreted as JSON, falling back to old method.
Settings updated for 'system'.
updated card type
Value could not be interpreted as JSON, falling back to old method.
Settings updated for 'sound'.
updated mixer
["pi","bluetooth","pi3orlater","arm7","localui","toslink"]
My device is getting recognized as a DAC+ Zero/Light/MiniAmp rather then a 12/2019 DAC + DSP.
If it is, I can open a new Issue on Github.
I've had this problem before and the workaround solved my problem.
Now I've upgraded both my RL 60.2 to a Raspberry Pi 4B 4GB and I reformatted the card with the proper Pi4 image.
Both of them came "out of the box" without the optical source. The workaround solved again, but I just wanted to inform the bug is still present as of 20211105.
Ok, looks like I found the problem. We'll fix it in the next release. For now, just use a workaround:
touch/etc/hifiberry/toslink.feature /opt/hifiberry/bin/reconfigure-players
Are there any updates? The "next release" batch seems a bit odd now I think.
This had been fixed already. If you still see this issue, please create a new bug report for your release.
Describe the bug Optical source is not visible anymore in Sources and no sound is produced from toslink input.
HiFiBerryOS version 20201213
HiFiBerry sound card DAC+DSP
To Reproduce Steps to reproduce the behavior:
Expected behavior Expected to have Optical source as option and sound to be produced as before.
Browser (if applicable)
Additional context DSP program is “DAC+ DSP Universal Version 12”