Welcome, Guest
Username: Password: Remember me
NOTE: This forum is community powered. Please be mindful that long time community members are here to help as part of a community effort!

If you have a specific issue (e.g. hardware, failure), please use our tech support portal (Support menu - > Contact Us) as this is the official path for support by our team. Thanks a lot of your help in making a better community. :-)

TOPIC: Volumio and squeezelite

Volumio and squeezelite 1 month 6 days ago #41423

  • chrissy
  • chrissy's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Hi,

I am using the SHD device. There is a plugin for Volumio to run squeezelite. The version is v1.8.7-999. It is compiled with libwiringPi. The dac is supposed to be connected via I2S. I managed to compile the library and get the plugin to run.

Now The Question:

squeezelite -l gives me several devices:


null - Discard all samples (playback) or generate zero samples (capture)
default:CARD=sndsun8ii2sdac - snd-sun8i-i2s-dac, - Default Audio Device
sysdefault:CARD=sndsun8ii2sdac - snd-sun8i-i2s-dac, - Default Audio Device
dmix:CARD=sndsun8ii2sdac,DEV=0 - snd-sun8i-i2s-dac, - Direct sample mixing device
dsnoop:CARD=sndsun8ii2sdac,DEV=0 - snd-sun8i-i2s-dac, - Direct sample snooping device
hw:CARD=sndsun8ii2sdac,DEV=0 - snd-sun8i-i2s-dac, - Direct hardware device without any conversions
plughw:CARD=sndsun8ii2sdac,DEV=0 - snd-sun8i-i2s-dac, - Hardware device with all software conversions
default:CARD=Codec - H3 Audio Codec, - Default Audio Device
sysdefault:CARD=Codec - H3 Audio Codec, - Default Audio Device
dmix:CARD=Codec,DEV=0 - H3 Audio Codec, - Direct sample mixing device
dsnoop:CARD=Codec,DEV=0 - H3 Audio Codec, - Direct sample snooping device
hw:CARD=Codec,DEV=0 - H3 Audio Codec, - Direct hardware device without any conversions
plughw:CARD=Codec,DEV=0 - H3 Audio Codec, - Hardware device with all software conversions

If I take the sndsun8ii2sdac I only get noise which turns on and of if I start palying or stop.
I I take the H3 Audio Codec I get nothing.

It is the same, when I use the latest squeezelite from sourceforge.

Any idea why this is so?

The Volumio player works fine, but I have a complete Squeezebox environment so I prefer to use squeezelite.
Any help would be appreciated.

Greets Christian
The administrator has disabled public write access.

Volumio and squeezelite 1 week 6 days ago #41722

  • devteam
  • devteam's Avatar
  • Offline
  • Administrator
  • Posts: 8227
  • Thank you received: 969
  • Karma: 150
@Christian

Sorry for missing this post.. mmh, unfortunately it sounds like you're going a bit lower level that we'd be able to provide support here (i.e. custom compiling your own code). That would be outside our tech support structure I'm afraid...

Maybe best to use the existing setting of the VOLUMIO settings of our distribution that works as a reference.. one with some mpd experience would be able to figure this out. :-)

DevTeam
MiniDSP, building a DIY DSP community one board at a time.
The administrator has disabled public write access.

Volumio and squeezelite 1 week 5 days ago #41741

  • Juoigâ
  • Juoigâ's Avatar
  • Offline
  • Senior Boarder
  • Posts: 72
  • Thank you received: 3
  • Karma: 7
Why not use the plugin that is available from the SHD Volumio settings?
The administrator has disabled public write access.

Volumio and squeezelite 1 week 3 days ago #41781

  • chrissy
  • chrissy's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Hi,

because it simply doesn't work. it doesn't start unless you compile the library. Then it only produces white noise, no matter wich device I use.
@devteam. I already opened a thread in the volumio forum, but for some time, there is no real response from the developers of volumio. I run a squeezboxsetup throughout my flat, so I don't want to switch to mpd. Its supposed to be a problem of the i2s driver. Maybe you guys could ask the developer to fix this issue.

Greets
Christian
Last Edit: 1 week 3 days ago by chrissy.
The administrator has disabled public write access.

Volumio and squeezelite 6 days 17 hours ago #41855

  • chrissy
  • chrissy's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Hi,

I just installed the beta release 1.023. No change, only white noise as output. Could you guys from minidsp put some pressure on a fix. Michelangelo from volumio doesn't answer. It's not a problem of mpd but a problem of the I2S driver in volumio. MPD has nothing to do with squeezelite. Squeezelite is just a client for the LMS Mediaserver and uses the digital devices of the shd.
Greets
Christian
The administrator has disabled public write access.

Volumio and squeezelite 6 days 15 hours ago #41861

  • chrissy
  • chrissy's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Hi you Guys,

I got it to work after rereading the manpage of squeezelite over and over again.

The important switch is the alsa parameter tab in the plugin ( -a on the commandline) you have to set it to:

80:4:24:0

then all pcm stuff plays.
If you add extra parameters in the following way, it even plays dsd with resampling:

-r 44100-196000 -R vE:::24

Finally it works :-)

Greets
Christian
The administrator has disabled public write access.

Volumio and squeezelite 4 days 9 hours ago #41901

  • Juoigâ
  • Juoigâ's Avatar
  • Offline
  • Senior Boarder
  • Posts: 72
  • Thank you received: 3
  • Karma: 7
Great. Thanks for sharing
The administrator has disabled public write access.

Volumio and squeezelite 1 day 8 hours ago #41948

  • mktippett
  • mktippett's Avatar
  • Online
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
For those following along at home here are subtitles for the slower students (me!)

1. The squeezelite plugin does not work. You can check this by
/opt/squeezelite -l
/opt/squeezelite: error while loading shared libraries: libwiringPi.so: cannot open shared object file: No such file or directory

2. Install wiringPi (instructions from wiringpi.com/download-and-install/)

cd /tmp
wget lion.drogon.net/wiringpi-2.50-1.deb
sudo dpkg -i wiringpi-2.50-1.deb

3. Find an editor. No emacs, or vi. nano!

sudo nano -w /data/plugins/music_service/squeezelite/squeezelite.service
Change the -a option to be

ExecStart=/opt/squeezelite -n Volumio -o default -a 80:4:24:0

Then
systemctl daemon-reload
service squeezelite stop
service squeezelite start
service squeezelite status

4. Now http://minidsp-shd/plugin/music_service-squeezelite works and most importantly, Volumio shows up in the LMS dropdown menu of players!

And it seems to work!!!

If this means that I can get rid of one box (Logitech Touch), I will be delighted.
The administrator has disabled public write access.
Moderators: devteam