Re: [SlimDevices: Unix] Building LMS for 64-bit Debian running on ARM Single Board Computers

2017-10-24 Thread Michael Herger

Currently, as my instructions  earlier in this thread show, I am copying
binaries into /usr/share/squeezeboxserver/Bin/.


What about the perl Modules?


If you would be willing to consider a pull request, I am currently in
the process of trying to make the existing build scripts run on aarch64,
but with a "do no harm" philosophy to ensure all other platforms keep
building as they do today.  See for example: 'here'
(https://github.com/crazzell/slimserver-vendor/commit/a381441dde084bdddce360a13e4040d7a156e64e).


Nice! Did you base this on that other pull request which already exists?

I did merge yet another pull request earlier today which should handle 
new perl versions much better than before. Make sure you rebase your 
changes.



Notice the function refresh_config takes no action at unless the
platform is Linux and the ARCH is aarch64. In that sense it is hopefully
safe, but your review comments would be welcome. I am doing the same for
the other buildme-linux scripts as well (work in progress).


Thanks! Ordered a Rock64 today. Hopefully it won't take forever to ship...

--

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.00

2017-10-24 Thread sbp

M-H wrote: 
> I've got a partially working .conf file for the Cirrus Logic Audio Card
> I need to complete and test.
> For this moment it shows up in the gui dropdown list, and after choosing
> the new option and rebooting the set it comes up with a working setup.
> However, adding the alsa equal breaks it and shows it needs some more
> attention and testing.
> I assume it is the alsa config to use the card
> Is there any further info on the way this setup is designed and tips on
> debugging ?
> 
> If anyone is in a position to do the verification in parallel , here is
> the clac.conf
> 
> > 
Code:

  >   > [COMMON]
  > ALSA_PARAMS="80:4::1"
  > GENERIC_CARD="RPiCirrus"
  > CONTROL_PAGE="soundcard_control.cgi"
  > LISTNAME="Cirrus Logic Audio Card"
  > RPI_MODEL="HAT_ALL_NO_HAT"
  > 
  > [PCPAUDIOCORE]
  > DTOVERLAY="rpi-cirrus-wm5102"
  > CARD="RPiCirrus"
  > OUTPUT="hw:CARD=RPiCirrus"
  > 
  > [PCPCORE]
  > DTOVERLAY="rpi-cirrus-wm5102"
  > CARD="RPiCirrus"
  > OUTPUT="hw:CARD=RPiCirrus"

> > 

Maybe you could try to disable the onboard analog sound card and then
reboot. Next try to enable equalizer.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://sites.google.com/site/picoreplayer/home

*Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer*

sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=105997

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.00

2017-10-24 Thread paul-

When in the boot process does the card show up in Alsa.

This is where we look for the cards names and numbers.

/proc/asound/cards



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=105997

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.00

2017-10-24 Thread M-H

I've got a partially working .conf file for the Cirrus Logic Audio Card
I need to complete and test.
For this moment it shows up in the gui dropdown list, and after choosing
the new option and rebooting the set it comes up with a working setup.
However, adding the alsa equal breaks it and shows it needs some more
attention and testing.
I assume it is the alsa config to use the card
Is there any further info on the way this setup is designed and tips on
debugging ?

If anyone is in a position to do the verification in parallel , here is
the clac.conf


Code:

[COMMON]
  ALSA_PARAMS="80:4::1"
  GENERIC_CARD="RPiCirrus"
  CONTROL_PAGE="soundcard_control.cgi"
  LISTNAME="Cirrus Logic Audio Card"
  RPI_MODEL="HAT_ALL_NO_HAT"
  
  [PCPAUDIOCORE]
  DTOVERLAY="rpi-cirrus-wm5102"
  CARD="RPiCirrus"
  OUTPUT="hw:CARD=RPiCirrus"
  
  [PCPCORE]
  DTOVERLAY="rpi-cirrus-wm5102"
  CARD="RPiCirrus"
  OUTPUT="hw:CARD=RPiCirrus"




M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=105997

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


Re: [SlimDevices: Unix] Howto: build a self-contained LMS

2017-10-24 Thread PasTim

Roland0 wrote: 
> Yes
> To make sure permissions are correct:
> > 
Code:

  >   > 
  > chmod -R a+rX /opt/logitechmediaserver-7.9.1-1508251793-noCPAN/
  > find /opt/logitechmediaserver-7.9.1-1508251793-noCPAN -name \*.pl -exec 
chmod a+x {} \;
  > 

> > 
> 
> 
> If fixing the permissions didn't solve it:
> First, make sure all modules have been build without error (i.e. the
> buildme script has finished, the last output is from rsync and there
> are files in build/arch/5.24/)
> Then check you have copied the resulting modules to the correct
> location (everything in build/arch/ to
> /opt/logitechmediaserver-7.9.1-1508251793-noCPAN/CPAN/)
> Final paths should be e.g
> /opt/logitechmediaserver-7.9.1-1508251793-noCPAN/CPAN/arch/5.24/x86_64-linux-thread-multi/auto/Audio
> etc.

I started again, configuring, building and so on, producing logs of each
step. I can't see any errors in amongst large numbers of warnings.  The
perl makes are odd in that they repeatedly say:

Code:


  ==> Your Makefile has been rebuilt. <==
  ==> Please rerun the make command.  <==
  false
  Makefile:738: recipe for target 'Makefile' failed
  make[1]: *** [Makefile] Error 1
  


So I reran the whole make and no errors appear.

In the buldme I can't get rid of a missing giflib warning (I've
installed recent giflib-tools, and libgif-dev) or 

Code:


  Warning: the following files are missing in your kit:
  win32/zlib.lib
  Please inform the author
  



I assume that this:

Code:


  sent 7,606,054 bytes  received 519 bytes  15,213,146.00 bytes/sec
  total size is 7,601,219  speedup is 1.00
  


is from rsync.

And after that I now get the following error when starting it.

Code:


  Oct 24 21:31:22 vortexbox logitechmediaserver[19508]:   Image::Scale:
  Oct 24 21:31:22 vortexbox logitechmediaserver[19508]: Image::Scale object 
version 0.11 does not match bootstrap parameter 0.08 at 
/opt/perl-5.24.3-LMS/lib/5.24.3/x86_64-linux-thread-multi
  Oct 24 21:31:22 vortexbox logitechmediaserver[19508]: Compilation failed in 
require at (eval 98) line 1.
  Oct 24 21:31:22 vortexbox logitechmediaserver[19508]: BEGIN 
failed--compilation aborted at (eval 98) line 1.
  



If I'm wasting too much of your time, just tell me.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=99648

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


Re: [SlimDevices: Unix] PiCorePlayer 3.22 / RPI3 locked on 48 Khz when playing on USB DAC

2017-10-24 Thread dominique-tanguy

It was working yesterday, and stopped working today, horrible I
switched back to Volumio.

Dominique



dominique-tanguy's Profile: 
http://forums.slimdevices.com/member.php?userid=67448
View this thread: http://forums.slimdevices.com/showthread.php?t=108177

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


Re: [SlimDevices: Unix] Howto: build a self-contained LMS

2017-10-24 Thread Roland0

PasTim wrote: 
> I'm assuming the /opt/logitechmediaserver... directory and all it's
> contents should be owned by root, is that right?
> 
Yes

> 
> I clearly don't understand how one is meant to copy the LMS files to
> /opt.  I ended up changing all directories under Slim to 755 and all
> files to 644, and that got over the pm permissions issue to a point
> (although many may still be wrong).  I thought I followed the
> instructions to the letter but maybe I missed something.
> 
To make sure permissions are correct:

Code:


  chmod -R a+rX /opt/logitechmediaserver-7.9.1-1508251793-noCPAN/
  find /opt/logitechmediaserver-7.9.1-1508251793-noCPAN -name \*.pl -exec chmod 
a+x {} \;
  



> 
> > 
Code:

  >   > 
  > The following modules failed to load: DBI EV XML::Parser::Expat 
HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
  > 

> > 
> So I guess I am missing modules, or something failed to build, or more
> permissions issues?  Where do I start looking?
> 
If fixing the permissions didn't solve it:
First, make sure all modules have been build without error (i.e. the
buildme script has finished, the last output is from rsync and there are
files in build/arch/5.24/)
Then check you have copied the resulting modules to the correct location
(everything in build/arch/ to
/opt/logitechmediaserver-7.9.1-1508251793-noCPAN/CPAN/)
Final paths should be e.g
/opt/logitechmediaserver-7.9.1-1508251793-noCPAN/CPAN/arch/5.24/x86_64-linux-thread-multi/auto/Audio
etc.



SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=99648

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


Re: [SlimDevices: Unix] Building LMS for 64-bit Debian running on ARM Single Board Computers

2017-10-24 Thread dsdreamer

mherger wrote: 
> >> But assuming we had binaries for your platform, would the regular
> .deb
> >> package work? What platform/architecture does Settings/Information
> >> report?
> > Yes, regular .deb packages would work very nicely, and I would prefer
> to
> > use them if they were available, rather than brew my own. LMS reports
> > "Platform Architecture: aarch64-linux".
> 
> Is there any de-facto standard distribution most people are using? Or 
> are the most popular options at least using the same Perl version? 
> Otherwise adding support for this platform would be opening another can
> 
> of worms...
> 
Yes, I see that doing this for multiple perl versions would be painful.
I suggest considering Debian Stable (stretch), which is using Perl
5.024, and possibly also Ubuntu 16.04 LTS which is on Perl 5.022.  
mherger wrote: 
> 
> BTW: where do you put the binary files so LMS does find it? It currently
> 
> doesn't support the aarch64 architecture string, does it?
> 
> -- 
> 
> Michael
Currently, as my instructions  earlier in this thread show, I am copying
binaries into /usr/share/squeezeboxserver/Bin/.  

If you would be willing to consider a pull request, I am currently in
the process of trying to make the existing build scripts run on aarch64,
but with a "do no harm" philosophy to ensure all other platforms keep
building as they do today.  See for example: 'here'
(https://github.com/crazzell/slimserver-vendor/commit/a381441dde084bdddce360a13e4040d7a156e64e).
Notice the function refresh_config takes no action at unless the
platform is Linux and the ARCH is aarch64. In that sense it is hopefully
safe, but your review comments would be welcome. I am doing the same for
the other buildme-linux scripts as well (work in progress).

Charles.



--
"Dreamer, easy in the chair that really fits you..."

dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=108166

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


Re: [SlimDevices: Unix] Two instances of Picoreplayer each on a RPI Zero W as left and right speakers

2017-10-24 Thread M-H

DomCa wrote: 
> Hi All!
> 
> Is it possible, to use two instances of the PiCoreplayer on RPI Zero Ws
> as a left and right speaker?
> I want to build two independent speakers each with its power supply and
> a RPI Zero W.
> 
> Or would it be better to build a single, bigger speaker for every room?
> 
> Thanks
> DomCa

Hi DomCA,
Technically it is possible, and I have experimented with that setup for
a while.
Synchronisation over WIFI is not tight enough to enjoy the true benefits
of stereo. ( for me anyway )
I did revert to a cable between the 2 speaker locations and feed them
from 1 Pi and 1 DAC with 2 amplified channels.
The option with wired ethernet would need 2 longer cables, and was
rejected, so I have no experience with wired synchronisation.

If it is for convenience and party like setup, you can also opt for
multiple mono players .
See :
http://forums.slimdevices.com/showthread.php?107776-mono-audio-setting-possible-in-LMS
.

If stereo isn't your true goal, but you do not want to lose it
completely , you can put 2 smaller drivers into 1 enclosure just like
many BT speakers.
Then the mono mixdown will be automagically  in the air surrounding the
drivers. But if you are really in the sweetspot you will stil have a bit
of stereo
There are amped DAC's you can attach to your zero. And they will give
you 2 speaker channels anyway.
I assume you can still use the PCP mono tweak and output over 2
channels.

Depending on the amount of power you need, you could settle for 2 times
3 Watt D amps as found in the "phat beat" ( Google it yourself ).
It will create a small package and you can even run it from a battery
setup if needed.
I am quite pleased with the performance of small D amps in combination
with off the shelve speakers.

Be aware that the RPI3 and Zero-W onboard Wifi isn't the most stable
solution in PCP.
Add a 3 Euro well supported USB device and wait till the driver issue is
resolved over the next years.

Greetz M-H



M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=108157

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-10-24 Thread Mair

Can we use Allo’s Delay Attentuator at the moment?



Mair's Profile: http://forums.slimdevices.com/member.php?userid=67488
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] Howto: build a self-contained LMS

2017-10-24 Thread PasTim

I'm almost there, but when slimserver.pl starts it can't get seem to get
permission to run bootstrap.pm, as below.  bootstrap.pm exists in Slim,
and I changed permissions to 755, then 777, but still nothing.

I'm assuming the /opt/logitechmediaserver... directory and all it's
contents should be owned by root, is that right?


Code:


  - Unit logitechmediaserver.service has begun starting up.
  Oct 24 09:15:56 vortexbox logitechmediaserver[2841]: Making sure that 
Logitech Media Server is not running first: No process in pidfile 
'/var/run/logitechmediaserver.pid' found running; none killed.
  Oct 24 09:15:59 vortexbox logitechmediaserver[2841]: Starting Logitech Media 
ServerStartingCan't locate Slim/bootstrap.pm:   
/opt/logitechmediaserver-7.9.1-1508251793-noCPAN/Slim/bootstrap.pm: Permissi
  on denied at /opt/logitechmediaserver-7.9.1-1508251793-noCPAN/slimserver.pl 
line 169.
  Oct 24 09:15:59 vortexbox logitechmediaserver[2841]: BEGIN 
failed--compilation aborted at 
/opt/logitechmediaserver-7.9.1-1508251793-noCPAN/slimserver.pl line 169.
  Oct 24 09:15:59 vortexbox systemd[1]: logitechmediaserver.service: Control 
process exited, code=exited status=13
  Oct 24 09:15:59 vortexbox systemd[1]: Failed to start LSB: Startup script for 
the Logitech Media Server.
  -- Subject: Unit logitechmediaserver.service has failed
  -- Defined-By: systemd
  -- Support: http://www.ubuntu.com/support
  -- 
  -- Unit logitechmediaserver.service has failed.
  -- 
  -- The result is failed.
  Oct 24 09:15:59 vortexbox systemd[1]: logitechmediaserver.service: Unit 
entered failed state.
  Oct 24 09:15:59 vortexbox systemd[1]: logitechmediaserver.service: Failed 
with result 'exit-code'.
  Oct 24 09:15:59 vortexbox sudo[2811]: pam_unix(sudo:session): session closed 
for user root
  Oct 24 09:16:01 vortexbox sudo[2851]:   crusty : TTY=pts/2 ; PWD=/etc/init.d 
; USER=root ; COMMAND=/usr/sbin/service logitechmediaserver status
  Oct 24 09:16:01 vortexbox sudo[2851]: pam_unix(sudo:session): session opened 
for user root by (uid=0)
  Oct 24 09:16:14 vortexbox sudo[2851]: pam_unix(sudo:session): session closed 
for user root
  Oct 24 09:17:01 vortexbox CRON[2863]: pam_unix(cron:session): session opened 
for user root by (uid=0)
  Oct 24 09:17:01 vortexbox CRON[2864]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)
  Oct 24 09:17:01 vortexbox CRON[2863]: pam_unix(cron:session): session closed 
for user root
  




LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=99648

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