Please post your feedback, comments, bug reports for our HiFiBerry OS here.
Please post your feedback, comments, bug reports for our HiFiBerry OS here.
Unfortuantely I don't have a Zero-W here to test. Did you test the WLAN with the 3B?
Best regards,
Daniel
Jip, there it worked just fine. Maybe 3B is the way to go anyway with its better cpu. I thought I could save some power though ;)
Edit: I'm using a digi+, don't know whether that's important...
Hi Daniel,
I think I found another Airplay bug. Seems that Spotify volume works, as I adjust the rocker buttons on my phone and check the DSPtoolkit get-volume, the volume clearly moves up and down as expected with a soft 'limit' as it reaches the dsptool set-limit value.
Airplay works differently, as I adjust the rocker buttons on the phone, the speaker volume changes but I assume its the output of the phone volume that's changing, not the physical DSP volume thats changing? The only way to change the volume range (IE make the speaker louder) is to adjust the dsptoolkit set-volume from like 0.1 to 0.5 thereby setting the default volume up and adjusting the phone volume down to kind of offset the volume. When checking the dsptoolkit get-volume, the volume remains at 0.1 and doesn't change when airplay is used.
Without knowing the protocol of airplay I cant say if this is right nor not?
Regards
You're right about this. I already noticed this. This is caused by shairport that needs an additional feature on the volume control that isn't there yet. A new release for this is in the works and should be ready soon.
Best regards,
Daniel
Hi Daniel,
Something odd I've noticed with spotifyd, it seems to crash now and then as I cant find it in the running services. It seems to happen after a first connection and then disconnection, its always been a bit iffy and have to try a few times to reconnect. its like it has to re-initialize or something? In this case below, I don't see it at all:
# ps
PID USER COMMAND
1 root init
2 root [kthreadd]
4 root [kworker/0:0H]
6 root [mm_percpu_wq]
7 root [ksoftirqd/0]
8 root [rcu_sched]
9 root [rcu_bh]
10 root [migration/0]
11 root [cpuhp/0]
12 root [cpuhp/1]
13 root [migration/1]
14 root [ksoftirqd/1]
15 root [kworker/1:0]
16 root [kworker/1:0H]
17 root [cpuhp/2]
18 root [migration/2]
19 root [ksoftirqd/2]
21 root [kworker/2:0H]
22 root [cpuhp/3]
23 root [migration/3]
24 root [ksoftirqd/3]
26 root [kworker/3:0H]
27 root [kdevtmpfs]
28 root [netns]
32 root [kworker/3:1]
33 root [khungtaskd]
34 root [oom_reaper]
35 root [writeback]
36 root [kcompactd0]
37 root [crypto]
38 root [kblockd]
39 root [watchdogd]
40 root [rpciod]
41 root [xprtiod]
42 root [kswapd0]
43 root [nfsiod]
53 root [kthrotld]
54 root [iscsi_eh]
55 root [dwc_otg]
56 root [DWC Notificatio]
57 root [vchiq-slot/0]
58 root [vchiq-recy/0]
59 root [vchiq-sync/0]
60 root [vchiq-keep/0]
61 root [SMIO]
63 root [irq/92-mmc1]
66 root [mmcqd/0]
67 root [kworker/1:1H]
68 root [jbd2/mmcblk0p2-]
69 root [ext4-rsv-conver]
84 root /sbin/syslogd -n
86 root [kworker/3:1H]
88 root /sbin/klogd -n
91 root /sbin/udevd -d
111 root [spi0]
115 root [cfg80211]
116 root [kworker/3:2]
117 root [brcmf_wq/mmc1:0]
118 root [brcmf_wdog/mmc1]
119 root [kworker/0:1H]
153 root [kworker/1:2]
157 root wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
178 root udhcpc -R -n -p /var/run/udhcpc.wlan0.pid -i wlan0
187 root [ipv6_addrconf]
189 root /usr/sbin/ntpd -g
194 root /usr/sbin/sshd
199 root python3 /usr/bin/sigmatcpserver --alsa
206 root [kworker/2:1H]
300 root /usr/bin/shairport-sync -d
307 root /sbin/getty -L console 0 vt100
308 root /sbin/getty -L tty1 0 vt100
474 root [kworker/2:0]
529 root [kworker/2:2]
553 root [kworker/u8:2]
604 root [kworker/u8:1]
618 root [kworker/0:1]
630 root [kworker/0:2]
631 root [kworker/0:0]
639 root [kworker/u8:0]
640 root sshd: root@pts/0
642 root -sh
645 root ps
@Duncan could it be that you have left out to fill in the Spotify credentials in the /etc/spotifyd.conf?
@Nic, I hadn't filled this lot out but Spotify has been working fine without it for a first connect, subsequent connects seems like the service has stopped or failed and need to reboot the pi to get it up again.. repeat. I have filled it out now and will try it out. Thanks for the suggestion!
Hi Daniel,
The wife is requesting her own volume control knob as I usually leave music on too loud...
Can you give some feedback on how this might be achievable to either pi or amp using a rotary encoder in this distribution?
Thanks
Duncan
Ok, let me show you something ;-)
Yes, it's a rotary control ;-)
Good news: This can be done! Bad news: It's not yet included. I plan to improve the "audiocontrol" software for this. Right now it's poorly documented, so this has to be fixed first. The integration shouldn't be a big problem, but this is more a hobby project, so it might still take some time. But the volume knob will come.
Hi Daniel,
And this is my fully 3D printed wood-filament hobby! I can say that for me, your hobby project has worked better than the commercial one so I will wait in anticipation for the rotary control.
The new HiFiBerryOS release now fixes the shairport volume problem and adds volume control support via rotary controllers and keyboard (for RF remote controls that act like a keyboard)
Rotary configuration:
https://github.com/hifiberry/audiocontrol/blob/master/doc/rotary.md
Keyboard configuration:
https://github.com/hifiberry/audiocontrol/blob/master/doc/keyboard.md
The new release is here:
https://github.com/hifiberry/hifiberry-os/blob/master/images/hifiberryos-20181015.img
Best regards,
Daniel
What a legend! Rotary encoders ordered!
BTW, still finding I have the Spotify issue where the first connect is fine but subsequent connections fail. Only works again after a soft reboot. Interestingly it appears as a connection on the phone but refuses to connect. I tried what Nic suggested above, no difference.
I'll try with different phones and see if that makes any difference.
How does one go about applying this, a saved file? Through CLI?
[rotary]
clockpin=24
datapin=5
switchpin=6
steps=20
If you connect your encoder to these pins, you don't have to configure it at all as this is already the default configuration. Not sure yet about the Spotify issue. We might need a watchdog for this.
Best regards,
Daniel
Hi!
Does the Numio work with audiocontrol on the Hifiberry OS? I tried installing audiocontrol on Volumio, but it wouldn't work (404 error). Does Hifiberry OS have bluetooth-support?
Hi,
this isn't yet supported on HiFiBerryOS, but Bluetooth support is planned for the future.
Best regards,
Daniel
Ok, thanks. Do you know about the standalone audiocontrol? Is it supposed to work for Volumio?
It might be, but it hasn't been tested. You can just download it from Github and try to install it. It requires Python3. I don't know if the version that comes with Volumio is compatible.
I'm working on improving the documentation for audiocontrol. However, as this is more a hobby project, it might take some time.
Best regards,
Daniel
I tried installing it, but I just got this: "Downloading/unpacking audiocontrol Could not find any downloads that satisfy the requirement audiocontrol Cleaning up... No distributions at all found for audiocontrol Storing debug log for failure in /root/.pip/pip.log". Seems like pip can't fint the download. It should be compatible with Volumio, all other bluetooth- and audiocontrols are working as they should.
Any idea how to fix this?
This is what the log says (posted this as an issue on github):
Downloading/unpacking audiocontrol
Getting page https://pypi.python.org/simple/audiocontrol/
Could not fetch URL https://pypi.python.org/simple/audiocontrol/: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/audiocontrol/ when looking for download links for audiocontrol
@Bjorn: It is not yet available via pypi. You have to clone the Git repository and install it by hand. Please do not post questions about audiocontrol here as this topic is about HiFiBerryOS.
Best regards,
Daniel
Hi Daniel,
I am trying to debug the crashing of Spotifyd and possibly writing a script to monitor the status/if its running and automatically start it again when it closes. Is there a log file that I can open to see whats going on in this HifiberryOS dist?
It definitely crashes after a number of minutes operating or on change of source attempting to connect to different phone.
D
Hi Daniel,
Sorry, but I posted an issue on github without any response. Thanks for answering, I'll try to see if I can get it to work!
Hi Daniel,
Tried the rotary control & 20181015.img but doesn't seem to be working with either airplay or spotify. How do I check if the rotary control is running?
Check if audiocontrol is running with
ps -ef | grep audio
Best regards,
Daniel
Hi Daniel,
It is running, returns two processes.
Duncan
Changing the volume via alsamixer works?
Best regards,
Daniel
Yes. Ill post the output tonight of ps.
Hi Duncan,
due to business travel arrangements, I won't be able to look into this soon. We might need some more debugging on this, but this can take some time. So no need to rush on your side...
Best regards,
Daniel
Hi Daniel,
Any updates/thoughts on how to solve this?
Thanks
Duncan
Any updates?