Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-20 Thread edwin2006


despited the disabled internal sound squeezelite stopped again today. No
clue how to proceed or what the best trouble shoot sequence would be.
Only thing i could imaging is to enable log's and use the script
(somehow) of TheHypnoToad 2019-08-09, 14:01 to trunk the logfile. Not
sure how to determine the max size amount.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-19 Thread edwin2006


paul- wrote: 
> It should be and the soundcard control page.   Button right by the
> soundcard selection drop down on the squeezelite page.
All still running without any change or reboot.
Internal soundcard seems to be disabled by default
27974
Did not manually remove the marker.


+---+
|Filename: Audio disabled by default.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27974|
+---+


*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-09 Thread TheHypnoToad


paul- wrote: 
> It should be and the soundcard control page.   Button right by the
> soundcard selection drop down on the squeezelite page.
Thanks, I did't think to check card control, I've disabled onboard sound
now. :)

Also, I may have a solution to the whole log file filling up memory
problem.

This shellscript monitors the size of the logfile then truncates it if
it gets too large:


Code:


  # Log Monitor - Used to monitor the size of a logfile
  # Will truncate log file if it gets too large
  # Start of script
  
  # Set max size of logfile here, in bytes. Default = 1 Megabyte
  MAXSIZE="1048576"
  
  # Delete this file if you want script to stop running
  RUNFILE="/tmp/log_monitor"
  touch "$RUNFILE"
  
  # Log file to monitor
  LOGFILE="/var/log/pcp_squeezelite.log"
  
  while [ -f "$RUNFILE" ]; do
  # Get filesize in bytes
  LOGSIZE=$(ls "$LOGFILE" -l | awk '{print $5}')
  
  # Compare
  if [ "$LOGSIZE" -gt "$MAXSIZE" ]; then
  echo "Filesize $LOGSIZE is too large, truncating at $(date)" | tee "$LOGFILE"
  else
  echo "Filesize $LOGSIZE is OK"
  fi
  
  # Wait 1 min
  sleep 60
  done
  exit 0
  # End of script
  



I've added it to my $HOME dir, called it 'log_monitor.sh' and load it on
boot using the User command setting:

/home/tc/log_monitor.sh

Adjust MAXSIZE to however large you want to log file to get before it
gets truncated.



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-07 Thread edwin2006


I'll try asap.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-07 Thread paul-


TheHypnoToad wrote: 
> 
> edwin2006 this may be worth trying, I had to do it manually by editing
> the config.txt file as I couldn't see an option to disable on-board
> audio in the PCP webinterface.

It should be and the soundcard control page.   Button right by the
soundcard selection drop down on the squeezelite page.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-07 Thread TheHypnoToad


paul- wrote: 
> all=debug is probably what we need.   But that is going to create a huge
> file, so we need to be sure we don't fill up the memory on the device.
I've set my squeezelite to all=debug also just in case the issue comes
back for me. 

It may be possible to have a small script that runs once a minute in the
background that can check the size of the logfile, and if it's over a
certain size, it wipes or cuts out the earliest part of the log. A sort
of crude version of 'logrotate' I guess.

I've also tried disabling the onboard audio on my pizero, some
installation guides for my DAC say onboard sound should be disabled:

https://radio-docs.netlify.com/docs-audio

> Disable on-board audio by commenting out dtparam=audio=on:
> #dtparam=audio=on

edwin2006 this may be worth trying, I had to do it manually by editing
the config.txt file as I couldn't see an option to disable on-board
audio in the PCP webinterface.



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-05 Thread paul-


edwin2006 wrote: 
> Alright, how
> Btw, this week out of town so I guess something for next week.

No good way.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-05 Thread edwin2006


paul- wrote: 
> all=debug is probably what we need.   But that is going to create a huge
> file, so we need to be sure we don't fill up the memory on the 
> device.Alright, how
Btw, this week out of town so I guess something for next week.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-05 Thread paul-


all=debug is probably what we need.   But that is going to create a huge
file, so we need to be sure we don't fill up the memory on the device.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-05 Thread edwin2006


paul- wrote: 
> You have to turn on logging on the squeezelite page
Figured it would something like that but which options all=info,
all=debug etc??

@TheHypnoToad. Yes next time I will check cpu also. Thanks for command



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-05 Thread TheHypnoToad


paul- wrote: 
> I would call that severely overloaded for a zero.  Shairport sync can
> definitely cause squeeze lite to crash, as only one player can have the
> audio output open at a time.
> 
> I would disable shairport for a while and see if that helps.   There is
> a LMS plugin for shairport that integrates much better.
Just a quick follow up on this, I've disabled Shairport sync on the
PiZero and so far so good.

I've also stopped streaming from Deezer as I've found it can cause
issues on any device using LMS, even the Squeezebox Boom. It would cause
devices to freeze if the stream doesn't work and LMS can become slow to
respond.

I have not had the PiZero crash/freeze/vanishing device since, I'll
check out the LMS plugin for shairport also. :) I only use AirPlay
occasionally.



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-05 Thread paul-


edwin2006 wrote: 
> Alright, squeezelite has stopped again. Want to show the log file but im
> unable to locate it.
> I was assuming it's on
> Beta
> Main Page
> Diagnostics
> Logs
> 
> or
> Squeezelite Settings
> (i do find an option "Log level setting" but this is set to none)
> 
> For now a restarted Squeezelite via ssh. This also failed? => Rebooted
> the pi

You have to turn on logging on the squeezelite page



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-05 Thread edwin2006


paul- wrote: 
> Logging is on the squeezelite page.   Logs are only retained until a
> reboot.

Alright, squeezelite has stopped again. Want to show the log file but im
unable to locate it.
I was assuming it's on
Beta
Main Page
Diagnostics
Logs

or
Squeezelite Settings
(i do find an option "Log level setting" but this is set to none)

For now a restarted Squeezelite via ssh



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-03 Thread paul-


Logging is on the squeezelite page.   Logs are only retained until a
reboot.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-03 Thread edwin2006


Computer is going into hybernate which will break SSH session. How to
enable/disable logging? And how to purge logfiles when they have served
their purpose?



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-03 Thread paul-


That is all normal outputprobably need to leave that running
with the ssh open see if there is something logged when it stops.

You can also turn on logging from the web interface, and reboot.then
check the logging when it stops.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-03 Thread edwin2006


now it is working agaian

Code:

tc@Edwin-Kantoor:~$ sudo killall -9 squeezelite
  tc@Edwin-Kantoor:~$ sudo /usr/local/bin/squeezelite -n "Edwin Kantoor" -o 
equal
  -a 80:4::1 -d all=info
  [08:19:11.069543] stream_init:370 init stream
  [08:19:11.083236] output_init_alsa:939 init output
  [08:19:11.084761] output_init_alsa:979 requested alsa_buffer: 80 alsa_period: 
4 format: any mmap: 1
  [08:19:11.152931] output_init_common:422 supported rates: 768000 705600 
384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 
12000 11025 8000
  [08:19:11.171291] output_init_alsa:1005 memory locked
  [08:19:11.172788] output_init_alsa:1011 glibc detected using mallopt
  [08:19:11.175894] output_thread:687 open output device: equal
  [08:19:11.176057] alsa_open:351 opening device at: 44100
  [08:19:11.188039] alsa_open:422 opened device equal using format: S32_LE 
sample rate: 44100 mmap: 1
  [08:19:11.194543] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [08:19:11.208980] decode_init:153 init decode
  [08:19:11.212412] load_ff:641 dlerror: libavcodec.so.57: cannot open shared 
object file: No such file or directory
  [08:19:11.213023] load_ff:641 dlerror: libavcodec.so.57: cannot open shared 
object file: No such file or directory
  [08:19:11.215594] load_faad:611 loaded libfaad.so.2
  [08:19:11.215708] register_faad:641 using faad to decode aac
  [08:19:11.220516] load_vorbis:305 loaded libvorbisfile.so.3
  [08:19:11.221898] register_vorbis:334 using vorbis to decode ogg
  [08:19:11.227135] load_flac:266 loaded libFLAC.so.8
  [08:19:11.230666] register_flac:294 using flac to decode flc
  [08:19:11.232458] register_pcm:433 using pcm to decode aif,pcm
  [08:19:11.236675] load_mad:385 loaded libmad.so.0
  [08:19:11.238104] register_mad:414 using mad to decode mp3
  [08:19:11.241673] discover_server:788 sending discovery
  [08:19:11.245762] discover_server:799 got response from: 192.168.140.19:3483
  [08:19:11.247276] slimproto:887 connecting to 192.168.140.19:3483
  [08:19:11.253424] slimproto:926 connected
  [08:19:11.254894] sendHELO:142 mac: b8:27:eb:a2:cc:d3
  [08:19:11.256101] sendHELO:144 cap: 
CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.2-1158-pCP,ModelName=SqueezeLite,MaxSampleRate=768000,aac,ogg,flc,aif,pcm,mp3
  [08:19:11.287152] decode_flush:229 decode flush
  [08:19:11.290881] output_flush:435 flush output buffer
  [08:19:11.292305] decode_flush:229 decode flush
  [08:19:11.293214] output_flush:435 flush output buffer
  
  


and when i started a stream i got


Code:

[08:19:56.558605] decode_flush:229 decode flush
  [08:19:56.558742] output_flush:435 flush output buffer
  [08:19:57.238282] codec_open:257 codec open: 'm'
  [08:19:57.238508] stream_sock:486 connecting to 91.221.150.18:80
  [08:19:57.259220] stream_sock:563 header: GET /waterstadfm HTTP/1.0
  Cache-Control: no-cache
  Connection: close
  Accept: */*
  Host: stream.waterstadfm.nl
  User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv7l-linux; NL; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.1/1505480690
  Cookie: AISSessionId=5d436f0e48f7101c_112760_lKPhnhms__0001jVp
  Cookie2: $Version="1"
  Icy-Metadata: 1
  
  
  [08:19:57.612067] stream_thread:247 headers: len: 663
  HTTP/1.0 200 OK
  icy-br: 192
  icy-pub: 1
  icy-description: Radio vanuit het hart van Friesland
  icy-audio-info: ice-samplerate=44100;ice-bitrate=192;ice-channels=2
  icy-url: http://www.waterstadfm.nl
  Instance-id: 26ebeae8a651ff5d84e39c78127a98b4
  Cache-Control: no-cache
  Server: AIS Streaming Server Galio Edge01 8.2.5
  icy-genre: Pop 80s 70s Hits
  Expires: Mon, 26 Jul 1997 05:00:00 GMT
  icy-metaint: 16000
  Pragma: no-cache
  icy-name: Waterstad FM
  Connection: close
  Content-Type: audio/mpeg
  Set-Cookie: AISSessionId=5d436f0e48f7101c_112760_lKPhnhms__0001jVp; 
Path=/; Domain=stream.waterstadfm.nl; Max-Age=6000; Expires=Sat, 03 Aug 2019 
07:59:52 GMT
  
  
  [08:20:03.606149] mad_decode:244 setting track_start
  [08:20:03.606295] _checkfade:284 fade mode: 1 duration: 7 track-start
  [08:20:03.606355] _checkfade:335 resize outputbuf for crossfade
  [08:20:03.647821] _output_frames:64 start buffer frames: 28271



and it played again.
Hopefully this helps to track the issue. Thanks!



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-02 Thread paul-


Just if there are errors shown when you try to restart squuezelite



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-02 Thread edwin2006


I haven't restarted the pi so I'll try the hard stop command answers see
what happens. Anything I should save if I have to restart the pi?



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-02 Thread paul-


Looks like squeezelite is hanging hard.   If you notice from your second
ps command, the time still says 1d00.   I wonder if it ever stopped
during the restart.

So next time, we might need to do it all by hand.

sudo killall -9 squeezelite

then make sure it has really stopped.   Then relaunch squeezelite from
command line to see if the is an error.

sudo /usr/local/bin/squeezelite -n "Edwin Kantoor" -o equal -a 80:4::1 
-d all=info


You can let it run from command line..just keep the ssh session
open.   And running it this way, it will show as not running in the web
interface, but that is fine.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-02 Thread edwin2006


Yes, it's gone. Im still able to ssh into it.


Code:

tc@Edwin-Kantoor:~$ ps -A | grep squeeze
  2302 root  1d00 /usr/local/bin/squeezelite -n Edwin Kantoor -o equal -a 
80 4  1
  13133 tc0:00 grep squeeze
  


Sneeked from previous post :)

dmesg (only end part)

Code:


  [   13.077857] snd-rpi-simple soc:sound: pcm5102a-hifi <-> 20203000.i2s 
mapping ok
  [   13.497862] cfg80211: Loading compiled-in X.509 certificates for 
regulatory database
  [   13.621937] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
  [   13.742841] brcmfmac: F1 signature read @0x1800=0x1541a9a6
  [   13.751198] brcmfmac: brcmf_fw_alloc_request: using 
brcm/brcmfmac43430-sdio for chip BCM43430/1
  [   13.751505] usbcore: registered new interface driver brcmfmac
  [   14.044575] brcmfmac: brcmf_fw_alloc_request: using 
brcm/brcmfmac43430-sdio for chip BCM43430/1
  [   14.044722] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available 
(err=-2), device may have limited channels available
  [   14.045675] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 
23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
  [   17.661916] brcmfmac: power management disabled
  [   19.017847] random: wpa_supplicant: uninitialized urandom read (32 bytes 
read)
  [   29.085967] random: sshd: uninitialized urandom read (32 bytes read)
  [   29.381811] random: squeezelite: uninitialized urandom read (32 bytes read)
  [   29.572249] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [   29.658036] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [   30.566707] Finished piCorePlayer v5.0.1 startup.
  [  132.882528] random: crng init done
  



Not sure what else to do.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-01 Thread edwin2006


Mine is still playing. I have no extras installed except equilizer.
Which SSH commands (Unix noob) do a have to give when problem arises?



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-01 Thread paul-


I would call that severely overloaded for a zero.  Shairport sync can
definitely cause squeeze lite to crash, as only one player can have the
audio output open at a time.

I would disable shairport for a while and see if that helps.   There is
a LMS plugin for shairport that integrates much better.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-01 Thread TheHypnoToad


Ok, I've had my player apart today and double checked my GPIO solders,
and all are measured OK with multimeter with continuity test, so
hardware side is good.

paul- wrote: 
> Which hifiberry board are you guys using?

I'm using a board which is essentially the same as the hifiberry DAC+
Zero - It's the Pimoroni Phat DAC, it uses the same components, and same
hardware overlay, more info about it is here:
https://learn.pimoroni.com/tutorial/phat/raspberry-pi-phat-dac-install

"dtoverlay=hifiberry-dac

pHAT DAC uses the same hardware as HiFi Berry, so we're borrowing their
device-tree overlay!"

sbp wrote: 
> Another question: are you using the normal kernel or the rt kernel?

Normal kernel, uname -a shows this:
Linux PiZero 4.19.40-pcpCore #1 Sat May 11 13:40:46 EDT 2019 armv6l
GNU/Linux

paul- wrote: 
> You can go into card control and check the 384k parameter and that will
> enable 384k sample rates for your card.or just ignore the message.
I'll ignore the message I think, I don't have any audio files over 96K
so I'll leave 384k turned off.

paul- wrote: 
> Is your zero just a player.  Or have you added alot of "extras" that we
> offer with pCP.

I am running a few extras, I'm using JiveLite with a 7" HDMI
touchscreen. It's not quite as smooth as it pins on a RPi3 but it's
usage, and 'top' is showing Jivelite is using around 50-60% CPU.

I'm also using 'sbpd' which allows me to have rotary encoder up to the
GPIO runs, and gives me a non-touchscreen volume control and play/pause
buttons. 

Finally I've also added in the PWM kernel module for backlight dimming
of the screen, however I only added this recently and before that I
still experienced this issue.

Here's my squeezelite command string:

/usr/local/bin/squeezelite -n "Orange" -o hw:CARD=sndrpihifiberry -a
80:4::1 -v -C 15

I'm not running Equalizer but I am running Shairport-sync, most of my
settings are defaults apart from the above mentions tweaked. :)

I have other Squeezebox devices and 2 other picoreplayer devices, and
not had this issue with any other device.



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-08-01 Thread edwin2006


Greg Erskine wrote: 
> Hi edwin2006, 
> 
> Try removing "-C 15" from the Squeezelite command line. This is usually
> added for Shairport-sync".
> 
> I haven't seen "[  901.862425] sched: RT throttling activated" in dmesg
> before? I would have assumed you are using the RT kernel.
> 
> I'd be tempted to enable "all=info" to see if the problem coincides with
> playing certain files.
> 
> As mentioned having the dirty bit set is usually not a problem. If you
> really want to reset the dirty bit try
> "http://192.168.1.xxx/cgi-bin/xtras_dosfsck.cgi;
> 
> regards
> Greg
Hi Greg.
The stopping of squeezelite is now and then. It can run for weeks and
then suddenly stop.
Hardware consists out of Pi Zero W + HiFiBerry DAC+ Zero - RCA
Software piCorePlayer v5.0.1 | linux 4.19.40-pcpCore | piCore v10.1pCP |
Squeezelite v1.9.2-1158-pCP  => with ALSA 10 band Equalizer enabled
No really special add-on's. No problem on SBT, SB1, Boom, Radio and
another pi (Pi3-1Gb with piCorePlayer v3.20beta5 | linux
4.9.17-pcpCore_v7+ | piCore v8.01 | Squeezelite v1.8.6-945)

regards, Edwin



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-31 Thread paul-


Okay, I dug into that rate limiting message.  Since rpi started to merge
some of the 384k support, I decided to start including the full 384k
patch set in the regular kernel.  The PCM5102a driver has a parameter to
the dtoverlay to enable the 384k support.  So that's why that message is
printing.   You can go into card control and check the 384k parameter
and that will enable 384k sample rates for your card.or just ignore
the message.

The RT throttling message is related to threads marked as SCHED_FIFO in
which I believe that the only process getting set with that scheduling
priority is the output thread in squeezelite.

Is your zero just a player.  Or have you added alot of "extras" that we
offer with pCP.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-31 Thread Greg Erskine


Hi edwin2006, 

Try removing "-C 15" from the Squeezelite command line. This is usually
added for Shairport-sync".

I haven't seen "[  901.862425] sched: RT throttling activated" in dmesg
before? I would have assumed you are using the RT kernel.

I'd be tempted to enable "all=info" to see if the problem coincides with
playing certain files.

As mentioned having the dirty bit set is usually not a problem. If you
really want to reset the dirty bit try
"http://192.168.1.xxx/cgi-bin/xtras_dosfsck.cgi;

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-31 Thread edwin2006


Normal version.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-31 Thread sbp


Another question: are you using the normal kernel or the rt kernel?



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: 'https://www.picoreplayer.org' (https://www.picoreplayer.org/)

*Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like piCorePlayer*

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-31 Thread paul-


Which hifiberry board are you guys using?



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-31 Thread paul-


The fat error is pretty harmless, and would be unrelated.

from your log,

Code:


  [   31.100454] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [   31.655319] brcmfmac: power management disabled
  [   31.767930] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [   33.950362] Finished piCorePlayer v5.0.0 startup.
  [  901.862425] sched: RT throttling activated
  [ 1101.212729] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 1513.817876] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 1917.770103] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 1943.594702] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 1946.969047] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 2074.775198] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 2104.959325] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 2105.052866] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 3454.877425] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some 
data may be corrupt. Please run fsck.
  



I'm not sure why that message is being repeated so many times, normally
you might see that only at startup.   Seems like to me the card is
disappearing.  Perhaps you guys might want to check your connections on
the GPIO header.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-31 Thread TheHypnoToad


I've just had this exact thing happen to me, Also running PiZero, with
HifiBerry Dac Zero, on PcP 5.0, I was originally running 4.1 and
upgrades have been with the card in the Pi.

On my LMS webinterface, the player called 'Orange' simply vanished.
Music stopped straight away. Listening to a 128KBps radio station at the
time.

I was already logged in on SSH and can still access the webinterface,
here's what the diagnostics has to say:

[ INFO ] Squeezelite process:
/usr/local/bin/squeezelite -n Orange -o hw:CARD=sndrpihifiberry -a 80 4 
1 -v -C 15

Squeezelite still seems to be running:

Code:


  tc@PiZero:~$ ps -A | grep squeeze
  2121 root  3:07 /usr/local/bin/squeezelite -n Orange -o 
hw:CARD=sndrpihifiberry -a 80 4  1 -v -C 15
  



My network connection seems OK:

Code:


  tc@PiZero:~$ iwconfig wlan0
  wlan0 IEEE 802.11  ESSID:"xx"  
  Mode:Managed  Frequency:2.447 GHz  Access Point: 
  Bit Rate=65 Mb/s   Tx-Power=31 dBm   
  Retry short limit:7   RTS thr:off   Fragment thr:off
  Power Management:off
  Link Quality=50/70  Signal level=-60 dBm  
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:282  Invalid misc:0   Missed beacon:0
  



dmesg did show this at the end however:


Code:


  [ 2105.052866] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting 
sample rate support to 192kHz MAX
  [ 3454.877425] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some 
data may be corrupt. Please run fsck.
  



Complete dmesg is at: https://paste2.org/fwb6g9PO

The Volume was not properly unmounted error seemed to occur around the
same time as the player vanished from LMS, but I'm not really sure how
to run fsck under PCP, but I can try if this may stop this from
happening.

After around 5-10 mins the player has reappeared on the LMS
webinterface, and is now playing music again, this time some FLAC's
without issue, I did not reboot it.

Could this be some of sort SD card issue? Next time I have the player
apart I can try restarting PCP with a different SD card and see if it
happens again, but it takes a while for me to take the player out as
it's bolted into a case.



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-27 Thread paul-

Just type dmesg from command line.

ItÂ’s also on one of the diagnostics pages



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-27 Thread edwin2006


I meant invisible but auto correct changed it in I visible [emoji53]
And how do I look for dmesg?



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-27 Thread paul-


edwin2006 wrote: 
> If it's I visible to lms I'm still able to access pcp GUI, so it should
> be pingable also. So it looks like it's just Squeezelite that has been
> has stopped. Will try SSH next time.

If it's visibly to lms, then squeezelite is still running.  However, if
you stop squeezlite from playing, it will close the alsa output device. 
So if the device disappears after stopping, squeezelite will keep
running.   When you try to restart squeezelite it is likely not seeing
the required output device, and thus not starting.   Starting
squeezelite from a ssh command line should see the whole error message.

So likely the board is disappearing from the system.  You might also
look at dmesg to see if something is in there.  Otherwise, it's likely a
hardware connection issue.  Perhaps a pin with poor connection on the
board.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-27 Thread edwin2006


TheHypnoToad wrote: 
> If SSH connection fails, try just 'PINGing' the Pi if you know it's IP
> address or hostname, sometimes my PiZero will freeze, no SSH access but
> I'm still able to PING it so it still has network access.
> 
> It doesn't happen often, if it did I may look into the hardware watchdog
> for some sort of auto-reboot when this happens.If it's I visible to lms I'm 
> still able to access pcp GUI, so it should
be pingable also. So it looks like it's just Squeezelite that has been
has stopped. Will try SSH next time.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-27 Thread TheHypnoToad


edwin2006 wrote: 
> I will try as soon I've got the problem  but it could take some time
> before this happens.

If SSH connection fails, try just 'PINGing' the Pi if you know it's IP
address or hostname, sometimes my PiZero will freeze, no SSH access but
I'm still able to PING it so it still has network access.

It doesn't happen often, if it did I may look into the hardware watchdog
for some sort of auto-reboot when this happens.



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-26 Thread edwin2006


I will try as soon I've got the problem  but it could take some time
before this happens.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-26 Thread paul-


I would ssh in and then try to restart squeezelite from command line 

sudo /usr/local/etc/init.d/squeezelite restart

See what it says from command line.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-26 Thread edwin2006


I'm not 100% sure but I thought I could. Next time it happens I'll try.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


Re: [SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-26 Thread TheHypnoToad


edwin2006 wrote: 
> I got lost in the PcP 5.x thread were i posted a problem with a Pi-zero
> with hifiberry dac
> https://forums.slimdevices.com/showthread.php?110642-ANNOUNCE-piCorePlayer-5-0-0=944736=1#post944736
> So this is the original post
> https://forums.slimdevices.com/showthread.php?110642-ANNOUNCE-piCorePlayer-5-0-0=943759=1#post943759
> 
> Today again player disappeared. When looking at PcP the dac is still
> visible and PcP also say's that squeezelite is running but when i
> restart Squeezelite  it gives an error. Only way to get it running is by
> rebooting the pi.
> So that's what i did for now. What would be the next step when the
> failure happens again?

Can you log in to your pi over SSH when it disappears?



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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


[SlimDevices: Unix] PcP 5.x Zero with hifibery intermidiate stopping squeezelite

2019-07-26 Thread edwin2006


I got lost in the PcP 5.x thread were i posted a problem with a Pi-zero
with hifiberry dac
https://forums.slimdevices.com/showthread.php?110642-ANNOUNCE-piCorePlayer-5-0-0=944736=1#post944736

Today again player disappeared. When looking at PcP the dac is still
visible and PcP also say's that squeezelite is running but when i
restart Squeezelite  it gives an error. Only way to get it running is by
rebooting the pi.
So that's what i did for now. What would be the next step when the
failure happens again?



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=110795

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