Re: [SlimDevices: Unix] Strange Sound with squeezelite and Hifiberry DAC+ on RasPI 4

2021-04-30 Thread daemmi


Thanks Ronnie, 

yes im familiar to all this you posted. I don't wann do a complete new
installation because on my Raspi is running a lot incl. Openhab, MQTT,
Influx... So still I hope why it is not working anymore. Now it is
working again. I just changed the /boot/config.txt again. Somehow
following lines where active and I commented it out:

dtparam=i2c_arm=on
dtparam=spi=on
dtoverlay=w1-gpio
enable_uart=1

I didn't tried if this configs where the reasons because I don't want to
crash it again. But maybe next week I will have a look again. 

Thanks for the help and I will updating here if I know more. 

Cheers Jonas



daemmi's Profile: http://forums.slimdevices.com/member.php?userid=71716
View this thread: http://forums.slimdevices.com/showthread.php?t=114483

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Strange Sound with squeezelite and Hifiberry DAC+ on RasPI 4

2021-04-29 Thread Man in a van


daemmi wrote: 
> Oh, completely forgot that... It's Buster, Linux server 5.4.83-v7l+
> #1379

OK, I would suggest that you make a fresh image, this is my Buster
(desktop)

> Linux LMS 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l
> GNU/Linux

Download the Raspberry Pi Imager and use that

Do the updates and then add the overlay for the HiFiberry Dac + to the 


Code:

/boot/config.txt 



Name:   hifiberry-dacplus
Info:   Configures the HifiBerry DAC+ audio card
Load:   dtoverlay=hifiberry-dacplus,=

save and reboot.


Install LMS, at least version 8.1.2

Install Squeezelite from the Package Manager (or sudo apt install
squeezelite)

run squeezelite -l

copy the audio output you want to use and fill that in at 


Code:

sudo nano /etc/default/ squeezelite



for the dac, it should be 

hw:CARD=sndrpihifiberry,DEV=0

If you want to use the headphone output you need to add

-a :::0

in the Extra_Args line

save, exit and restart squeezelite


Code:

sudo /etc/init.d/squeezelite restart



If you use the Desktop, you can select the Desktop audio default from
the volume icon (right click)

If everthing runs ok, then you can update squeezelite by running


Code:

sudo /etc/init.d/squeezelite stop
  wget -O squeezelite.tgz 
https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.9.9.1372-armhf.tar.gz
  sudo tar -C /usr/bin -zxvf squeezelite.tgz
  sudo chmod a+x /usr/bin/squeezelite
  sudo /etc/init.d/squeezelite start





Code:

#If running with no sound
  sudo /etc/init.d/squeezelite restart




I hope that helps, and please excuse if you are familiar with all this
:)

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114483

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Strange Sound with squeezelite and Hifiberry DAC+ on RasPI 4

2021-04-29 Thread daemmi


Man in a van wrote: 
> Which OS are you running on the raspberry pi /
> 
> ronnie

Oh, completely forgot that... It's Buster, Linux server 5.4.83-v7l+
#1379



daemmi's Profile: http://forums.slimdevices.com/member.php?userid=71716
View this thread: http://forums.slimdevices.com/showthread.php?t=114483

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Strange Sound with squeezelite and Hifiberry DAC+ on RasPI 4

2021-04-29 Thread Man in a van


Which OS are you running on the raspberry pi /

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114483

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Strange Sound with squeezelite and Hifiberry DAC+ on RasPI 4

2021-04-29 Thread daemmi


Hi all, 

I installed Squeezeboxserver and Squeezelite on my Raspberry Pi 4. It
worked all. I use a HifiBerry DAC+ but if I will use it with squeezelite
I get problems. Sometimes I get it working but always it will not
working anymore after a reboot. 

It is always working if I uese the Headphone Jack from the RP. 

The HifiBerry should be installed correctly because if I play a Song
with mplayer it is working with the HifiBerry. But not with squeezelite.


I installed squeezelite from here: sourceforge.net/projects/lmsclients 
Version: Squeezelite v1.9.9-1364

I tried all different devices which I get if I run squeezelite -l. 
I tried different settings for -a

Maybe someone knows more? Thanks for your help!

Cheers Jonas

Infos:
aplay -l
 List of PLAYBACK Hardware Devices 
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry
DAC+ Pro HiFi pcm512x-hifi-0 [HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0

squeezelite -l
Output devices:
null   - Discard all samples (playback) or
generate zero samples (capture)
jack   - JACK Audio Connection Kit
pulse  - PulseAudio Sound Server
default
sysdefault:CARD=sndrpihifiberry - snd_rpi_hifiberry_dacplus, HiFiBerry
DAC+ Pro HiFi pcm512x-hifi-0 - Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dacplus, HiFiBerry
DAC+ Pro HiFi pcm512x-hifi-0 - Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dacplus,
HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 - Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0  - snd_rpi_hifiberry_dacplus, HiFiBerry
DAC+ Pro HiFi pcm512x-hifi-0 - Direct hardware device without any
conversions
plughw:CARD=sndrpihifiberry,DEV=0 - snd_rpi_hifiberry_dacplus,
HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 - Hardware device with all
software conversions
usbstream:CARD=sndrpihifiberry - snd_rpi_hifiberry_dacplus - USB
Stream Output



daemmi's Profile: http://forums.slimdevices.com/member.php?userid=71716
View this thread: http://forums.slimdevices.com/showthread.php?t=114483

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix