Re: [SlimDevices: Unix] Building LMS for 64-bit Debian running on ARM Single Board Computers
mherger wrote: > > But may I ask why you go all the way as to build a .deb file? Why not > just run from the source? > > -- > > Michael Ah, good question.The automation of the Debian package installer is helpful in that it automatically creates /etc/init.d/ scripts, creates the user squeezeboxserver, changes ownership of files so that they can run under that user, and provides proper daemon monitoring (and restarting behavior, if it ever crashes). I've done all this by hand before on different machines, but I like the automation and system accounting that Debian packages always provide. I guess I've become used to the convenience of easily installing and updating Debian packages, and wanted to maintain that convenience, even if I couldn't use your nightly builds anymore due to lack of direct aarch64 support. 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] Building LMS for 64-bit Debian running on ARM Single Board Computers
atrocity wrote: > Great stuff, thanks so much! A couple things, though: > > 1. Am I mis-remembering, or does git also have to be explicitly > installed? > On the armbian version of Ubuntu I picked up to try this, it was already installed. atrocity wrote: > > 2. When I attempted to put the steps for the helper binaries into a > script, the wavpack step failed. I believe the initial cd step should > just be > Code: > > cd ../wavpack > > > Looking at this again, I find an extra pair of dots would be necessary, since you should be in ./vendor/faad2/faad2/frontend at that point. I should have written "cd ../../../wavpack/" atrocity wrote: > > Would running the entire process from the top be the correct way to > update to the latest nightly? > If you have already run this once, and can keep the build directories in-tact (i.e., you have room for them), then updating to the latest nightly should start with the "git pull" commands and go from there. atrocity wrote: > > Also curious if the same steps would work on a C2 running Debian. It's > not my computer and not in my house, so I don't know the exact OS > details and understand if there's no way you can answer that. Just > wondering if I could script all this stuff and send it to a friend. > I had previously developed this process on Debian Stretch, (armbian). I have successfully used it on Debian Jessie too. I only tried it on Ubuntu so I could give you meaningful guidance. atrocity wrote: > > Thank you again for doing this! I was a programmer for decades but my > specialty was SAS and JCL on the mainframe. So I find myself in the > annoying position of having a head full of lots computer/programming > knowledge with almost none of it being relevant here. I was glad to share it, and happy it worked for you. -- "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] Building LMS for 64-bit Debian running on ARM Single Board Computers
Roland0 wrote: > It's a mix of both - some packages do not support aarch64, even in their > newest version. For those, config.guess is updated. > > > > ad 1: automake doesn't seem to be fully downwards compatible, so there > is a risk that it will fail (on my gentoo system, there are 3 versions > of automake installed for that reason...) > ad 2: will only work on debian-based linux variants Agreed, it is not a good idea to do something that is Debian-specific, so that was why I was not totally happy and asked for a more elegant solution. What I really meant was a more robust solution. Another way to copy in the latest, known config.guess file without risking a broken automake would be to use: wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' or curl 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' > config.guess The only assumptions used here a working wget (or curl) and an Internet connection. These extra build steps would be protected by an if [ "`uname -m`" == "aarch64" ]; then conditional, so the probability of breaking the script for existing platforms for which it works would be minimal. Any thoughts on why the above is not a good change to propose? 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] Announce: piCorePlayer 3.00
What card are you using? 3.21 introduced a change to automatically set the card number when using alsaequal. This change assists when cards are detected in different orders, or you disable the onboard sound after setting up alsaequal. This will not work if you are manually setting things up. If there is a card that we don't have a configuration for, then the best thing to do is to create a config file for your card. Take a look at /usr/local/etc/pcp/cards And yes alsaequal locks the output setting on the squeezelite page..remove alsa equal, or manually edit the config file. It's been that way since pCP 2.02 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] Still two issue to FIX
But where do you have to pick the rigth player ? If LMS web UI only shows one ? The one with the Mac of the WiFi dongle . Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=108156 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.00
Please help me to verify a bug or educate me what I'm missing Just upgraded from 3.20 to 3.22 via insitu upgrade. All went well except the to-be-expected omissions in the upgrade. So after I added the dtoverlay line in /mnt/mmcblk0p1/config.txt again, I backed up the changes and rebooted with "pcp br" and then reinstalled the ALSA 10 band Equalizer from the gui. Then I edited the /etc/asound.conf to point to my card, and tested alsa output to function OKE , after the Squeezelite restart. So it works , with the odd soundcard and equalizer as before. So far no surpises. But then the changes to /etc/asound.conf can not be retained over a system reboot. The backup does work, but it seems the restore is not done properly in the startup after a boot. Manually doing a "sudo filetool.sh -r" ( and Squeezelite restart ) proves the change is in the backup, and did not really lost it ;-) So what am I missing ? BTW the GUI field Squeezelite ; Output setting : "equal" is no longer editable, suggesting work done to prevent editing the needed settings for alsa equal after enabling. 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=105997 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Still two issue to FIX
Man in a van wrote: > My players are listed (with their MAC addresses) on the Information tab > on the LMS Settings page :) this is what I see piCorePlayer Modello del lettore: SqueezeLite Tipo lettore: squeezelite Firmware: v1.8.7-999 Indirizzo IP del lettore: 192.168.1.40 Indirizzo MAC del lettore: 74:da:38:xx:xx:xx steff's Profile: http://forums.slimdevices.com/member.php?userid=66870 View this thread: http://forums.slimdevices.com/showthread.php?t=108156 ___ 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
dsdreamer wrote: > Okay, good to know this has been tackled by others before me. I see the > patched buildme.sh updates the troublesome, outdated packages to > overcome the staleness of the config.guess. > It's a mix of both - some packages do not support aarch64, even in their newest version. For those, config.guess is updated. > > I have experimented with actually running automake again instead of just > copying in a newer config.guess, e.g., invoke automake -a -f, in all > those places where outdated packages won't build. I'm not sure if that's > better or worse, but it does work. > We could have the following inserted at all the critical places in > buildme.sh > > Code: > > > if [ "`uname -m`" == "aarch64" ]; then > automake -a -f > fi > > > > or > > Code: > > > if [ "`uname -m`" == "aarch64" ]; then > cp `dpkg -L automake | grep 'config.guess'` . > fi > > > > ad 1: automake doesn't seem to be fully downwards compatible, so there is a risk that it will fail (on my gentoo system, there are 3 versions of automake installed for that reason...) ad 2: will only work on debian-based linux variants 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=108166 ___ 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
atrocity wrote: > Also curious if the same steps would work on a C2 running Debian. It's > not my computer and not in my house, so I don't know the exact OS > details and understand if there's no way you can answer that. Just > wondering if I could script all this stuff and send it to a friend. Come to think of it, after reading Mr. Herger's comments, I wonder if I could just supply the .deb files. atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 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] Building LMS for 64-bit Debian running on ARM Single Board Computers
dsdreamer wrote: > You're welcome! > > Just so that this thread can be more useful to any others who want to > follow this method, I retraced my steps from a new install of Ubuntu > 16.04.3 LTS on an odroidc2 to LMS installed and running. Here they are: Great stuff, thanks so much! A couple things, though: 1. Am I mis-remembering, or does git also have to be explicitly installed? 2. When I attempted to put the steps for the helper binaries into a script, the wavpack step failed. I believe the initial cd step should just be Code: cd ../wavpack . Would running the entire process from the top be the correct way to update to the latest nightly? Also curious if the same steps would work on a C2 running Debian. It's not my computer and not in my house, so I don't know the exact OS details and understand if there's no way you can answer that. Just wondering if I could script all this stuff and send it to a friend. Thank you again for doing this! I was a programmer for decades but my specialty was SAS and JCL on the mainframe. So I find myself in the annoying position of having a head full of lots computer/programming knowledge with almost none of it being relevant here. atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 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] Building LMS for 64-bit Debian running on ARM Single Board Computers
Thanks for these notes! At some point I might get around to finally build support for this platform... But may I ask why you go all the way as to build a .deb file? Why not just run from the source? -- Michael ___ 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
atrocity wrote: > Your hints were perfect. I started the process last night and found it > had finished when I woke up this morning. I installed everything via > sudo dpkg -i with the only snag being that LMS complained about the CPAN > package not being installed. So I installed it along with the two > others, then re-installed LMS, which is now cheerfully scanning my > 100,000+ tracks. > > THANK YOU! You're welcome! Just so that this thread can be more useful to any others who want to follow this method, I retraced my steps from a new install of Ubuntu 16.04.3 LTS on an odroidc2 to LMS installed and running. Here they are: Code: sudo apt-get update sudo apt-get upgrade sudo apt-get install fakeroot sudo apt-get install yasm sudo apt-get install debhelper quilt libz-dev libgd-dev sudo apt-get install libmodule-build-perl sudo apt-get install libio-socket-ssl-perl sudo apt-get install libmodule-install-perl git clone --recursive -b public/7.9 https://github.com/Uplink03/logitechmediaserver-deb.git cd logitechmediaserver-deb/source/vendor/ git pull https://github.com/Logitech/slimserver-vendor.git cd ../server/ git pull https://github.com/Logitech/slimserver.git cd ../platforms/ git pull https://github.com/Logitech/slimserver-platforms.git cd ../vendor/ wget http://forums.slimdevices.com/attachment.php?attachmentid=23873=1508605856 slimserver-vendor.patch mv attachment.php\?attachmentid\=23873 slimserver-vendor.patch patch -p2 < slimserver-vendor.patch rm slimserver-vendor.patch cd ../.. dpkg-buildpackage -rfakeroot -b -us -uc cd ls -l *.deb sudo dpkg -i logi*.deb sudo /etc/init.d/logitechmediaserver start systemctl status logitechmediaserver.service However, you may want the specially-patched versions of the helper binaries for flac, sox and faad as well. Code: cd ./logitechmediaserver-deb/source/vendor/flac/ ./buildme-linux.sh tar xvf flac-build-aarch64-.tgz --strip-components=7 sudo cp ./bin/flac /usr/share/squeezeboxserver/Bin cd ../sox ./buildme-linux.sh tar xvf sox-build-aarch64-.tgz --strip-components=7 sudo cp ./bin/sox /usr/share/squeezeboxserver/Bin/ cd ../alac_decoder make sudo cp ./alac /usr/share/squeezeboxserver/Bin/ cd ../faad2 git clone https://github.com/ralph-irving/faad2.git cd faad2/ cp `dpkg -L automake | grep guess` . ./configure make cd frontend/ sudo cp ./faad /usr/share/squeezeboxserver/Bin/ cd ../../wavpack sed -i '/cd wavpack-4.50.1/a cp `dpkg -L automake | grep guess` .' build.sh ./build.sh sudo cp ./wvunpack /usr/share/squeezeboxserver/Bin/ Hopefully this helps someone. 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] LMS not starting after upgrading Ubuntu to 17.10 from 17.04.
mike_zandvliet wrote: > being a complete Linux noob I really struggle to get it working again. If your Linux Noob please use Ubuntu LTS -> Long Time Support. - Perl never gets upgraded by a LTS upgrade - You have more time and a up 2 date system than alwyas struggeling with these non LTS Versions DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=108169 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] LMS not starting after upgrading Ubuntu to 17.10 from 17.04.
If it's perl version then you'll need to build the perl modules from the LMS sources. There is a procedure for this kicking around somewhere.. -Transcoded from Matt's brain by Tapatalk- -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0 Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums.. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=108169 ___ 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
dsdreamer wrote: > 1) Make sure that /sbin is in your PATH. I needed to edit my ~/.profile > to include PATH=$PATH:/sbin:/usr/sbin > > 2) When applying the patch, do so as follows: > > Code: > > > cd ./logitechmediaserver-deb/source/vendor > patch -p2 < ~/slimserver-vendor.patch > > > Your hints were perfect. I started the process last night and found it had finished when I woke up this morning. I installed everything via sudo dpkg -i with the only snag being that LMS complained about the CPAN package not being installed. So I installed it along with the two others, then re-installed LMS, which is now cheerfully scanning my 100,000+ tracks. THANK YOU! atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 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] Still two issue to FIX
steff wrote: > how can I do that? My players are listed (with their MAC addresses) on the Information tab on the LMS Settings page :) Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=108156 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] LMS not starting after upgrading Ubuntu to 17.10 from 17.04.
It seems every time I upgrade Ubuntu, LMS breaks on me - and being a complete Linux noob I really struggle to get it working again. I did have it working nicely on Ubuntu 17.04, but after I upgraded to 17.10, the web interface was not working at all, and I started seeing this in the /var/log/squeezeboxserver/server.log: ... 2017-10-22 22:29:29 Logitech Media Server died. Restarting. 2017-10-22 22:29:34 Logitech Media Server died. Restarting. 2017-10-22 22:29:39 Logitech Media Server died. Restarting. ... And if I execute this at the command prompt: squeezeboxserver Then I get this: The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 Sub::Name After some time googling, I am *guessing* that this has something to do with the version of Perl that LMS needs vs the version that Ubuntu has. How can I solve this? I have tried reinstalling 7.9.0 and also installing 7.9.1.1508251793 (from the nightlies... is there a better place to get 7.9.1 from?). Neither install helped. Thanks in advance, Mike mike_zandvliet's Profile: http://forums.slimdevices.com/member.php?userid=852 View this thread: http://forums.slimdevices.com/showthread.php?t=108169 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix