Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-08-12 Thread Greg Erskine

Benicz wrote: 
> First I thought it's not called because squeezelite fails starting(?),
> but by accident I found out it does get called - but laaate!
> Taking ridiculously long this is fine (for now), but my script fails at
> a certain point where it comes to tty:ama0 access.
> 
> with a screen attached I could see the three patient attempts to
> get online and then enters a (sort of a) fail-state.
> (By the way: is there a way to get rid of these? debugging takes years
> ;) )

Hi Benicz,

As you found out, the wifi tries 3 times to connect before it gives up.

You can edit out the additional wifi retries in do_rebootstuff.sh

regards
Greg



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

2017-08-12 Thread Benicz

Hi Paul,
Thanks for the fast reply!

No console needed, it's a device I need to talk to.
Everything works fine as long as I'm on any network.
But if not, initialisation of that api-object fails.
That said:
I don't think it needs Internet access, but it might be worth a try if
it still fails inside an offline-network...

For the ad-hoc:
It's a workaround for that what I'm working on ;)



Benicz's Profile: http://forums.slimdevices.com/member.php?userid=66468
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.10

2017-08-12 Thread paul-

I'm not sure If I understand what your program is doing, but If you just
want a serial console, that would be easy to setup, we don't have it
setup right because it requires different kernel command lines for the
rpi vs rpi3.

if you want a serial console.edit cmdline.txt and make sure the
console is setup for your board

rpi3
console=ttyS0,115200

all other rpi devices
console=ttyAMA0,115200

Then in /opt/bootlocal.sh before the pcp launch, start the serial
console
/usr/sbin/startserialtty &

-
Ad-hoc network...we've talked about that, and would work for the rpi
zeroW and rpi3, but supporting on every USB dongle would be a
challenge.

Country code is not currently supported by our startup scripts, and they
automatically generate the wpa_supplicant.conf.  .the rpi broadcom
wireless struggles on these channels anyway.



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.10

2017-08-12 Thread Benicz

Hi guys,

I'm posting here because I'm still on 3.11 - but I dont' think my
problem would be different on later versions.

I'm runnig a python script which is started automatically via user
commands on the tweaks page.
It uses tty:ama0 on my RPi3, working fine usually, network is connected
via onboard-wifi.

But I'd like to take care of the situation where no connection can be
established. That is:
- no ethernet plugged in
- the known SSID not in sight.

First I thought it's not called because squeezelite fails starting(?),
but by accident I found out it does get called - but laaate!
Taking ridiculously long this is fine (for now), but my script fails at
a certain point where it comes to tty:ama0 access.

with a screen attached I could see the three patient attempts to
get online and then enters a (sort of a) fail-state.
(By the way: is there a way to get rid of these? debugging takes years
;) )

Is there a difference in how the uart is set up in that case?
console re-routed? (needed to swap uarts to access an external device)
Are there modules not / unloaded?

Thanks,
any hints appreciated!  :)

PS:
Wouldn't it be great for most of us if it would create an adhoc network,
making the configpage accessible?
Maybe this could be deactivated if it's unwanted for security reasons...



Benicz's Profile: http://forums.slimdevices.com/member.php?userid=66468
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

2017-08-12 Thread huxmut

I think Paul is correct, sounds like the disks are hibernating. A couple
of things to try out;

In synology's web page interface go to
-control panel / HDD hibernation-
try unticking the options for disk hibernate and also the "DS will enter
standyby via WOL after the internal disk ...etc etc"
this will prevent the diskstation from being the cause
also, last time I looked, Synology LMS was an older version. Try going
into 
-package center / settings / beta-
and tick "yes, i want to see beta versions!"

grab the latest beta and that will make everything more responsive



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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-08-12 Thread paul-

trans_lux wrote: 
> 
> Would the Governor settings -conservative ondemand userspace powersave
> performance-be relevant to what I'm seeing?
> I've tried to set it to performance but it looks to default back to
> Powersave.
> 

All the powersave governer does is lock the cpu frequency at the lower
end.  That would not be causing what you are describing.

Powersave is the default governer in the kernel (Same as raspbian)



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] Announce piCorePlayer 3.20

2017-08-12 Thread trans_lux

paul- wrote: 
> There are no power savings features enabled or used in pCP. Where is
> your music stored, if the music is stored on a NAS, it is entirely
> possible that the NAS is going to sleep, causing the pi to wait.

Yes, music is on a Synology DS1817+ but I don't think that's it.
Have several other devices pointed to the same NAS have no delay.
Also if I have streaming radio live the system stays responsive.

With that being said I will check the NAS 
I do have a fairly large collection of music- 2.7tb with 87,923 tacks
that LMS can ID.

Would the Governor settings -conservative ondemand userspace powersave
performance-be relevant to what I'm seeing?
I've tried to set it to performance but it looks to default back to
Powersave.

Thanks for the prompt reply and for an excellent project!



trans_lux's Profile: http://forums.slimdevices.com/member.php?userid=9921
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

2017-08-12 Thread ralphy

SteveLazer wrote: 
> A Workaround for those experiencing this bug:
> After using song popup menu (long press) to Add or Play Next, last
> selected song holds touch-focus after confirmation "Song Added" dialogue
> box disappears. Jivelite does not reset focus on subsequent taps on the
> Now Playing or Back buttons, treating them as if the last song selection
> was touched again which triggers as unwanted Play Now, wiping out
> existing playlist.
> 
> Workaround:
> Scrolling song list after "Song Added" dialogue disappears resets touch
> focus. If song list is to small to scroll, tapping on a blank list area
> resets touch focus.

Thanks for tracking down the steps needed to reproduce this.

It appears to be an issue with the Joggler and PiGrid skins as I can't
reproduce it using the default WQVGA Small Print touch skin.



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] PiCoreplayer + LMS : custom-convert.conf

2017-08-12 Thread tingtong5

Thanks a lot for this information Michael and Paul :-)

It works  but unfortunatly the pi3 is not powerfull enough for what I
want :P



tingtong5's Profile: http://forums.slimdevices.com/member.php?userid=9671
View this thread: http://forums.slimdevices.com/showthread.php?t=107833

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