Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2018-02-20 Thread paul-

bvlet wrote: 
> 
> I have my LMS on a synology NAS and I DID have to specify the LMS IP in
> the squeezelite settings. Can this be part of the problem? Is there a
> way to hardcode the LMS IP in the JiveLite files?

If squeezelite cannot automatically detect the server, then jivelite
cannot see it either.  That is a networking problem, or a firewall
problem on your NAS box.



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

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2018-02-20 Thread bvlet

paul- wrote: 
> Then you likely have a problem with your waveshare setup.  Have you
> followed this thread. 
> http://forums.slimdevices.com/showthread.php?107366-picoreplayer-3-11-waveshare-3-5-TFT-jivelite-Raspberry-Pi-2B=waveshare

I have read the whole thread and also followed the instructions on
http://www.pughx2.com/picore320.html.

I started over tonight and did everything exactly as mentioned. HOwever,
I still have the same result :(

I have my LMS on a synology NAS and I DID have to specify the LMS IP in
the squeezelite settings. Can this be part of the problem? Is there a
way to hardcode the LMS IP in the JiveLite files?



bvlet's Profile: http://forums.slimdevices.com/member.php?userid=67766
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2018-02-20 Thread Greg Erskine

hi mcduman,

This might help "pgrep squeezelite".

Also htop is available as an extension. It is better for investigating
this kind of stuff.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
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] PiCorePlayers sometimes disappear

2018-02-20 Thread DJanGo

Umed wrote: 
> Hi everybody,
> 
> I have a Synology DS216 SE on which the logitech server is installed.
> And also there are 8 players on the raspberry Pi. The problem is that
> most players sometimes disappear and they do not appear in the list of
> players. Appear after rebooting the players. And another problem with
> adding songs to playlist, when I select a folder and click on the add
> button, they are added after 10-20 seconds or are not added at all. Help
> to solve the problem please.

Hi,

if a player "disappear" its always one reason -> the player is not found
anymore...
May a Network issue may a other issue you need to check whats wrong in
your setup. A reboot would fix (for a shorttime) both "maybes" so thats
no hint at all.



DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=108736

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


[SlimDevices: Unix] PiCorePlayers sometimes disappear

2018-02-20 Thread Umed

Hi everybody,

I have a Synology DS216 SE on which the logitech server is installed.
And also there are 8 players on the raspberry Pi. The problem is that
most players sometimes disappear and they do not appear in the list of
players. Appear after rebooting the players. And another problem with
adding songs to playlist, when I select a folder and click on the add
button, they are added after 10-20 seconds or are not added at all. Help
to solve the problem please.



Umed's Profile: http://forums.slimdevices.com/member.php?userid=67888
View this thread: http://forums.slimdevices.com/showthread.php?t=108736

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2018-02-20 Thread mcduman

paul- wrote: 
> Taskset is supplied by busybox, which doesn't support that.   But you
> can install util-linux.tcz  That should install the full version of
> taskset.
> 
> Be aware that Squeezelite starts 4 threads, and it already launches the
> output thread with a Fifo scheduling scheduling priority.   You can
> change the priority level on the squeezelite commandline.
> 
> CPU3 should be harmless to isolate.   I don't think that is going to do
> what you want, as I'm pretty sure that spin_locks will still affect all
> cores.
> 
> I've been testing an RT kernel, which seems pretty stable.   Latencies
> are under 75 microseconds under normal squeezelite loads.

Hi Paul,

When I check top, one of the cores, mostly core 0 or 2, seems to be
doing the heavy lifting: squeezelite, slimserver, ssh, wifi etc is
always on the same core. ThatÂ’s how I got the idea of giving squeezelite
the love it deserves. I did not detect a sonic penalty or lag with
isolcpus and might as well keep it. Thanks



mcduman's Profile: http://forums.slimdevices.com/member.php?userid=66702
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] Announce piCorePlayer 3.20

2018-02-20 Thread paul-

Taskset is supplied by busybox, which doesn't support that.   But you
can install util-linux.tcz  That should install the full version of
taskset.

Be aware that Squeezelite starts 4 threads, and it already launches the
output thread with a Fifo scheduling scheduling priority.   You can
change the priority level on the squeezelite commandline.

CPU3 should be harmless to isolate.   I don't think that is going to do
what you want, as I'm pretty sure that spin_locks will still affect all
cores.

I've been testing an RT kernel, which seems pretty stable.   Latencies
are under 75 microseconds under normal squeezelite loads.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
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] Jivelite for piCorePlayer

2018-02-20 Thread piPlayer

ralphy wrote: 
> You need to add -E to sudo if you want the environment variables
> available to the command you're trying to run. -b is run in background.
> 
> See how we run it in do_rebootstuff.sh
> 
> sudo -E -b /opt/jivelite/bin/jivelite.sh
Yes, when I do
> export TSLIB_TSDEVICE=/dev/input/event0
> export SDL_MOUSEDRV=TSLIB
> export SDL_MOUSEDEV=$TSLIB_TSDEVICE
> sudo -E /opt/jivelite/bin/jivelite 
everything works fine. Thank you Ralphy for that hint. I learned
something new again.
So I don't understand why the calibration isn't working with the
standard do_rebootstuff.sh and jivelite.sh and
found the solution in 'this thread'
(http://forums.slimdevices.com/showthread.php?107366-picoreplayer-3-11-waveshare-3-5-TFT-jivelite-Raspberry-Pi-2B=905003=1#post905003).
I made the changes like streampunk wrote there and after backup and
reboot my touchscreen is working fine. :D



piPlayer's Profile: http://forums.slimdevices.com/member.php?userid=65280
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2018-02-20 Thread ralphy

piPlayer wrote: 
> I have finaly figured out what's the problem. I have to start jivelite
> with the following line:
> 
> 
> 
> When I do the following like do_rebootstuff.sh does, the calibration in
> jivelite wont't work.
> 
> 
> 
> It looks like the export function has no effect. :confused:
> Anyway, when I modify the jivelite.sh file like shown above, the
> touchscreen schould work properly.

You need to add -E to sudo if you want the environment variables
available to the command you're trying to run. -b is run in background.

See how we run it in do_rebootstuff.sh

sudo -E -b /opt/jivelite/bin/jivelite.sh



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=103330

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2018-02-20 Thread mcduman

Dear devs,

I am trying to give squeezelite its own dedicated core in my rpi3. Here
is what I did.

1. Isolate one of the cores (i.e. core 3) by entering "isolcpus=3" under
cmdline.txt. After reboot, there is indeed no processes running under
core 3.
2. Set core affinity of squeezelite as core 3 by entering "sudo taskset
-p 8 $(pidof squeezelite)". Now, squeezelite is the only process that
runs under core 3.
3. Make it permanent by entering the command in the tweaks page. 

Problem is PID of squeezelite changes after each reboot so I have to
enter the PID value manually. pCP does not recognize the taskset -c
option which would allow me to go by program name instead of its PID.
Any suggestions?

Thanks is advance.



mcduman's Profile: http://forums.slimdevices.com/member.php?userid=66702
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] Announce piCorePlayer 3.20

2018-02-20 Thread huxmut

Greg Erskine wrote: 
> Hi huxmut,
> 
> But... I thought the disk imaging tools did a bit copy of the whole SD
> card, ie. disregarding partitions.
> 
> And yes you are right, the size of the image will differ depending on
> the SD card, even the same brand card may be different. So a bigger
> image will not fit on a smaller SD card.
> 
> regards
> Greg


Hey Greg,
Sorry, you are correct on the partition bit. But the size of the card
has caught me a few times now, so I do a setup on a 2gb card and once
happy with the setup make an image of that and write that over to my
three pCP setups.



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=107352

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