Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
paul- wrote: > @Anglo, When you installed the 3.20 image, did you start with config on > a USB stick? No, I just did a fresh install on the SD, and then configured everything from scratch when the web GUI came up. AngloCuencano's Profile: http://forums.slimdevices.com/member.php?userid=64040 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
epoch1970 wrote: > As it is, it's a bit hackish but I think it is operational. There is no > extra network traffic to speak of, once the system has booted. I'd like > to check SQ and sync with a version of pCP/piCore that has recent > firmwares allowing to net boot out-of-the-box. Would 3.20-beta be a > candidate? This is pretty interesting... would you mind starting your own thread, to keep the direct pCP related questions separated. The 3.20 image uses the latest rpi firmware. paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
Greg Erskine wrote: > Hi Paul- > > Jivelite downloaded and worked fine when I tested it. > > A couple of points come to mind. > > 1. Jivelite requires a resizefs, then reloading. I think people could > forget to come back and try again to load jivelite after resize. > 2. Temporary problem with the download server. > > regards > Greg Whatever the cause of the failed download is not what bothers me. His pCP startup screen showed " Starting Jivelite" Which can only happen if the Jivelite installed configuration variable is set. I rechecked the download code, That variable is only set with a successful download of jivelite. So I'm not sure what happened. @Anglo, When you installed the 3.20 image, did you start with config on a USB stick? paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] [Howto] Bluetooth streaming to / from LMS (ALSA only / no PulseAudio)
Since I never saw the point of PulseAudio, I've set up Bluetooth streaming on a system without it. Surprisingly, this is actually very simple and works out of the box. Note that if you have PulseAudio installed, you may have to disable the bluez/PulseAudio/sound integration. SETUP Install bluez (v5) Install 'BlueALSA' (https://github.com/Arkq/bluez-alsa) (packages available for Gentoo, Arch, maybe others. It seems that in Ubuntu, the package is the old (=wrong) version for bluez4) Installation for Gentoo: Code: emerge -av media-sound/bluez-alsa net-wireless/bluez Connect device (XX:XX:XX:XX:XX:XX = your device address): Code: raspi ~ $ sudo /etc/init.d/bluetooth start raspi ~ $ sudo /etc/init.d/bluealsa start raspi ~ $ bluetoothctl [bluetooth]# power on [bluetooth]# scan on [bluetooth]# discoverable on [bluetooth]# agent on [bluetooth]# default-agent [bluetooth]# pair XX:XX:XX:XX:XX:XX [bluetooth]# trust XX:XX:XX:XX:XX:XX [bluetooth]# connect XX:XX:XX:XX:XX:XX [bluetooth]# scan off [bluetooth]# discoverable off [bluetooth]# exit PLAYBACK / STREAMING TO BLUETOOTH DEVICE: Code: squeezelite -s localhost -o "bluealsa:HCI=hci0,DEV=XX:XX:XX:XX:XX:XX,PROFILE=a2dp" -r 48000-48000 -a 40:4:16:1 -R -u vE RECORDING / STREAM FROM BLUETOOTH DEVICE pair / connect your device (e.g. phone) as described above install the WaveInput plugin create a favorite with a URL like Code: wavin:bluealsa:HCI=hci0,DEV=XX:XX:XX:XX:XX:XX,PROFILE=a2dp Tested on a RPi3 (integrated Bluetooth adapter) with a Bluetooth headphone / Android phone. [ extGUI4LMS - an alternative web interface: 'forum' (http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta)) / 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'music visualizer' (http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite) for squeezelite ] [ 'Howto' (http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS): build a self-contained LMS | 'Howto' (http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files): play Ogg Opus files ] Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=107230 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
Greg Erskine wrote: > > > 1. Jivelite requires a resizefs, then reloading. I think people could > forget to come back and try again to load jivelite after resize. > > [/QUOTE, > > This was probably my problem the first time; I did forget to resize the > file system before downloading Jivelite. However, pCP gave a warning > about insufficient size and then ran the resizing script when I tried to > download Jivelite, so I assumed everything had been done correctly. But > apparently not. AngloCuencano's Profile: http://forums.slimdevices.com/member.php?userid=64040 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
Hi Paul- Jivelite downloaded and worked fine when I tested it. A couple of points come to mind. 1. Jivelite requires a resizefs, then reloading. I think people could forget to come back and try again to load jivelite after resize. 2. Temporary problem with the download server. regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
paul- wrote: > Well then you are going to have to NFS mount the files on the tftp > server. Also would require a ton of updates to our code from the > location and mounting of the tftp boot drive to changing the path of all > of the code that makes edits to the boot partition. It's all possible. This is where I stand. No changes to pCP code, although I think the pcp-variable DEVICE could be changed to point to the NFS share exporting the boot partition, and the resize2fs and LMS(?) cgis use hardcoded references to /dev/mmcblk0p1. As it is, the interface looks by and large ok, attempts to mount or dismount /dev/mmcblk0p1 fail, but saving to it works. Of course saving to tce (ex- mmcblk02) work. Cmdline.txt has 2 special parameters: Code: nfsmount=172.17.71.10:/export/12345abc/TCE nfsboot=172.17.71.10:/export/12345abc/BOOT:udp,vers=3,noatime - nfsmount is a true TCLinux bootcode, this is processed in /etc/init.d/tc-config. This export contains what's in "/dev/mmcblk0p2" and gets mounted under /mnt/nfs. It should support the form :: but the script only looks for some special options (noping?) and doesn't apply generic ones, like udp. - nfsboot is implemented in bootlocal.sh, in the same fashion as tc-config. Except I apply the mount options... This export contains what's in "/dev/mmcblk0p1", only for configuration changes, and is mounted to /mnt/mmcblk0p1 to let pCP work (almost) normally. On the server the export is bind-mounted to /tftp/12345abc to allow booting. Here is bootlocal.sh: Code: tc@test:~$ cat /opt/bootlocal.sh #!/bin/sh # put other system startup commands here GREEN="$(echo -e '\033[1;32m')" echo echo "${GREEN}Running bootlocal.sh..." #pCPstart-- /home/tc/www/cgi-bin/do_rebootstuff.sh 2>&1 | tee -a /var/log/pcp_boot.log #pCPstop-- # NFS mounting. See http://forum.tinycorelinux.net/index.php?topic=19913.0 for i in `cat /proc/cmdline`; do case $i in nfsboot*) # Allows to update pCP boot config over NFS NFSBOOT=${i#*=} BOOTMNT="/mnt/mmcblk0p1" SERVER=$(echo $NFSBOOT | awk -F: '{ print $1 }') DIR=$(echo $NFSBOOT | awk -F: '{ print $2 }') OPTS=$(echo $NFSBOOT | awk -F: '{ print $3 }' | tr ',' ' ') OPTS=$(echo defaults noauto nolock addr=${SERVER} ${OPTS} | tr ' ' ',') echo "Creating directory ${BOOTMNT}" sudo mkdir ${BOOTMNT} >/dev/null 2>&1 # pCP checks in fstab for device /dev/mmcblk itself so mounts fail... # echo "Creating /etc/fstab entry for ${BOOTMNT} over NFS" # ME="$0" # sudo sh -c "cat << EOF >> /etc/fstab ## Added by $ME #${SERVER}:${DIR} ${BOOTMNT} nfs ${OPTS} 0 0 #EOF #" # ... so instead we mount permanently as pCP won't mount/unmount # if mounted already. echo "Mounting ${SERVER}:${DIR} to ${BOOTMNT}" sudo mount -t nfs -o ${OPTS} ${SERVER}:${DIR} ${BOOTMNT} ;; nfsmount*) # Keep pCP happy with a normal-looking SD mount NFSMOUNT="/mnt/nfs" TCEMNT="/mnt/mmcblk0p2" echo "Creating directory ${TCEMNT}" sudo mkdir ${TCEMNT} >/dev/null 2>&1 echo "Adding bind mount for ${TCEMNT}" sudo mount -o bind ${NFSMOUNT} ${TCEMNT} >/dev/null 2>&1 ;; esac done As you see my 1st intent was to add an entry for /mnt/mmcblk0p1 in fstab and let pCP do the mount/dismount as usual. However pcp_mount_mmcblk0p1_nohtml was failing because it looks for /dev/mmcblk0p1, not /mnt/mmcblk0p1 in /etc/fstab. I don't know if the bind mount of /mnt/nfs to /mnt/mmcblk0p2 makes any difference. I thought it wouldn't hurt. As it is, it's a bit hackish but I think it is operational. There is no extra network traffic to speak of, once the system has booted. I'd like to check SQ and sync with a version of pCP/piCore that has recent firmwares allowing to net boot out-of-the-box. Would 3.20-beta be a candidate? 3 SB 3 Libratone Loop, Zipp Mini iPeng (iPhone + iPad) LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa IRBlaster by Gwendesign (Felix) Server Power Control by Gordon Harris Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger PowerSave by Jason Holtzapple Song Info, Song Lyrics by Erland Isaksson AirPlay Bridge by philippe_44 WeatherTime by Martin Rehfeld Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
AngloCuencano wrote: > I decided to start over by re-writing the image to the SD card and > everything is OK now. I think the first time there was a problem while > downloading Jivelite. The second time Jivelite downloaded, the options > for VU meters also downloaded. These didn't download the first time. Ok, good. I'll check the install routine to make sure it downloads correctly before we set Jivelite to start. Thanks for the followup. paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
paul- wrote: > The startup commands from PCP are perfectly normal. Can you check the > diagnostics pages to see if there are errors in dmesg? (or just ssh > into your box and run dmesg) You might also check your cables, to make > sure you didn't unseat the ribbon cable while changing your SD card. I decided to start over by re-writing the image to the SD card and everything is OK now. I think the first time there was a problem while downloading Jivelite. The second time Jivelite downloaded, the options for VU meters also downloaded. These didn't download the first time. AngloCuencano's Profile: http://forums.slimdevices.com/member.php?userid=64040 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
AngloCuencano wrote: > > The problem is with the display (official Raspberry Pi touch screen). > The last output I get is: > > Starting Jivelite .. Done. > crond syncing time > crond [631] time disparity of xxx minutes detected > > The display hangs at this point. > > The startup commands from PCP are perfectly normal. Can you check the diagnostics pages to see if there are errors in dmesg? (or just ssh into your box and run dmesg) You might also check your cables, to make sure you didn't unseat the ribbon cable while changing your SD card. paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
I am having a problem with vanilla version of 3.20. System is a Pi 2B/IQAudio DAC+ and I am currently running a wired connection. PCP appears to load correctly and I can access the web GUI without any problem. I have selected the correct output, Squeezelite is running and I can play music. The problem is with the display (official Raspberry Pi touch screen). The last output I get is: Starting Jivelite .. Done. crond syncing time crond [631] time disparity of xxx minutes detected The display hangs at this point. The time zone is set to ECT5. This is correct for my location, Ecuador, and the bar at the bottom of the web GUI is showing the correct date and time. AngloCuencano's Profile: http://forums.slimdevices.com/member.php?userid=64040 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
Hi Ralph. A small issue (gcc 6.3.1): Code: output.c: In function '_output_frames': output.c:155:22: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if (!output.fade == FADE_ACTIVE || !output.fade_mode == FADE_CROSSFADE) { ^~ output.c:155:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] output.c:155:58: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!output.fade == FADE_ACTIVE || !output.fade_mode == FADE_CROSSFADE) My fix: Code: diff -Naur output.c.orig output.c.new --- output.c.orig 2017-04-03 14:44:04.002246768 +0200 +++ output.c.new 2017-04-03 14:48:45.712937723 +0200 @@ -152,7 +152,7 @@ IF_DSD( output.dop = output.next_dop; ) - if (!output.fade == FADE_ACTIVE || !output.fade_mode == FADE_CROSSFADE) { + if (! (output.fade == FADE_ACTIVE) || ! (output.fade_mode == FADE_CROSSFADE)) { output.current_replay_gain = output.next_replay_gain; } output.track_start = NULL; Would be nice to introduce above. Thx SC soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
Thanks pCP Team. As always, I appreciate your efforts and admire your code monkey skills :) I'll give this a whirl during the week :cool: rPi 3 + rasPi 7" LCD + HiFiBerry DiGi+ | rPi 2 + IQaudio DAC+ |rPi 2 + HiFiBerry DAC+ | Squeeze Box Touch | LMS + XPenology on HP Gen 8 | huxmut's Profile: http://forums.slimdevices.com/member.php?userid=65108 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
NotTheHerbie wrote: > I have been on-again, off-again troubleshooting an audio stuttering > problem with synchronized players since version 2.06. I finally found > the time to mess around a little on github and downloaded the PCP 2.05 > baseline and all the subsequent changes. > > I believe I may have narrowed down the cause of the problem to, at most, > three single line changes to slimproto.c between Squeezelite v1.8.4-720 > and v1.8.4-727. PCP 2.06 includes v1.8.4-737 and exhibits stuttering > with sync'd players. PCP 2.05 which does not exhibit any stuttering > includes v1.8.4-720. The only differences between v1.8.4-727 and > v1.8.4-737 is the version number and a makefile for Apple 32 bit > machines. > > I've built a development platform on a RPi 3 and have created updated > versions of squeezelite to test my theory. I have two RPi's running PCP > 3.11 and my LMS server connected to a common network switch. The test > versions are on a usb drive and both RPi's can see them when mounted. > This is where I need some help. Last time I did something like this I > used wget to copy a test version from Ralphy onto a configured PCP. > File locations have moved since then and when I try to overwrite the > copy of squeezelite I was able to find, I get a message indicating the > file system is read only. > > What would be the easiest way to run these test versions? > > Thanks, > Mike The pcp 3.11 squeezelite init.d script looks for /mnt/mmcblk0p2/tce/squeezelite and will use that instead of /usr/local/bin/squeezelite. Make sure you chmod 755 /mnt/mmcblk0p2/tce/squeezelite after copying your build(s). Have you tried the pcp 3.20 beta that was just released? If not, please do as it has the latest squeezelite code changes. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
nowhinjing wrote: > Hi, > > this new release seems to break my RaLink Wi-Fi USB. Looking at the > diagnostics all the right drivers are loaded and the USB key is > recognised - it just will not connect. > > I have gone back to 3.11 - this works. > > keep up the good work - and thank-you all. > > best regards, > > Richard Please post the diagnostics. paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
I have tested two devices, both on Wifi Network Audio Kernel Rpi2B with HifiBerry DAC+ and Edimax USB Wifi Dongle Vanilla Kernel Rpi0W with pHat DAC (HifiBerry DAC as Audio Output) Thanks for the good work :) Wetty Wetty's Profile: http://forums.slimdevices.com/member.php?userid=66731 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta
Hi, this new release seems to break my RaLink Wi-Fi USB. Looking at the diagnostics all the right drivers are loaded and the USB key is recognised - it just will not connect. I have gone back to 3.11 - this works. keep up the good work - and thank-you all. best regards, Richard nowhinjing's Profile: http://forums.slimdevices.com/member.php?userid=64754 View this thread: http://forums.slimdevices.com/showthread.php?t=107223 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix