Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread huxmut


is that also the case for I2C ?
as in a dac hat.



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

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread chill


chill wrote: 
> 
> * Aargh - I've just noticed that the modified sbpd script is creating a
> file called '0' in the root folder - evidently something to do with that
> 'while ! [ $(pigs t) > '0' ] ' line, but my scripting isn't up to fixing
> that right now!

Ugh - I'm struggling with this.  The file called '0' was a result of
incorrectly using '>' instead of '-gt' (I'm surprised it worked at all),
but when I changed it to '-gt' it just caused another error, and I've
been chasing round in circles for ages.

But eventually I have a working version that solves this.  It's rather
clunky in my opinion, and I'm sure a more competent scripter can improve
it.  In particular, the output from this is getting jumbled up with the
other log file output, and is making it a bit confusing.  Some of the
'Done's are appearing against the wrong item.  And output from my script
is appearing against the Jivelite startup to give the misleading message
"Starting Jivelite...socket connect failed".  And I can't suppress that
'socket connect failed' due to the way I'm using 'echo' to get output
from 'pigs t'.  So can anyone help me do this properly ?

Here's my latest version:

Code:

#!/bin/sh
  
  # start pigpiod deamon
  pigpiod -t 0
  
  # wait for pigpiod to initialise - indicated by 'pigs t' returning a numeric 
value.  Returns 'socket connect failed' otherwise
  pigi=0
  while [ $pigi -eq 0 ]
  do
printf "\npigpiod initialisation: "
pigis=$(echo $(echo $(pigs t) | grep -o '[[:digit:]]*'))
if [ "$pigis" != "" ]; then
pigi=1
else
printf "\nWaiting for pigpiod to initialise"
sleep 1
fi
  done
  echo "pigpiod is running"
  
  # load uinput module - required to be able to send keystrokes
  .
  .
  .



Here's the confusing output in the log file - my output is highlighted
in bold.

Code:

.
  .
  .
  Setting CPU scaling governor to ondemand
  PIGPIOD INITIALISATION: [/B]... DONE.
  STARTING JIVELITE...*SOCKET CONNECT FAILED
  
  WAITING FOR PIGPIOD TO INITIALISE* DONE.
  LOADING KEYTABLES... DONE.
  CREATING STATIC FOOTER... DONE.
  
  FINISHED PICOREPLAYER V6.0.0-B7 STARTUP.
  
  TO SETUP PICOREPLAYER, USE THE WEB INTERFACE VIA A BROWSER:
  - HTTP://192.168.1.48
  
  PRESS [ENTER] TO ACCESS CONSOLE.
  
  IN THE BACKGROUND, NTPD IS SYNCING TIME BETWEEN PICOREPLAYER AND THE INTERNET.
  A LARGE OFFSET BETWEEN 1970 AND NOW IS NORMAL.
  
  [B]PIGPIOD INITIALISATION: PIGPIOD IS RUNNING
  .
  .
  .




chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread firedog


paul- wrote: 
> Should be able to set the DSD option to 
> 
> :dop
> 
> 29201

I don't see anything like that in my setup. How did you get to that?



GIK Acoustics Room Treatments. Isol Line conditioner/protection. iFi AC
iPurifiers>CAPS4 Pipeline w/Sonore PS >Kii Control>Kii Three
speakers.iFi iOne+ Schiit Freya Pre for analog. An SB Touch, Duet
Controller,  a RB Pi 3B+ running piCorePlayer as an SBT emulator in
additional rooms.

firedog's Profile: http://forums.slimdevices.com/member.php?userid=11550
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread Paul Webster


I assume it is because the script that is calling your script is
spawning off the various steps in parallel (to make it faster and
tolerant/ignorant of issues in lower level scripts).

Might not be much that you can do about it in your script - expect
perhaps put in some delays at the start.



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread chill


Paul Webster wrote: 
> I assume it is because the script that is calling your script is
> spawning off the various steps in parallel (to make it faster and
> tolerant/ignorant of issues in lower level scripts).
> 
> Might not be much that you can do about it in your script - expect
> perhaps put in some delays at the start.

I think you're right.  I'd be happier if I could ensure that my outputs
are always written as a single line, which I could precede with a
'pigpiod' label, but that echo statement always generates output, and I
don't see how I can prepend a label without upsetting the evaluation.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread chill


chill wrote: 
> ... so the display setup and the 240 skin should all work out of the box
> I hope. 

Well it wasn't quite 'out of the box', and it involved more reading of
spec sheets and manuals that I was expecting, but finally I have 'this
display' (https://www.amazon.co.uk/gp/product/B07MH93747) working.

[image:
http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/240x240/Waveshare1_640.jpg]

Naturally the changes turned out to be very minor, but of course you
can't tell that at first when it doesn't work first time, and you don't
know if you've even got the wiring right.

Here's how I have it configured:

1) WIRING (TO MATCH THE PIRATE AUDIO BOARDS AS CLOSELY AS POSSIBLE)

VCC: Connect to 3.3V.  I used pin 1.  It also works on 5V without any
apparent harm, but is much brighter, so is possibly being over-driven. 
On 3.3V it seems to match the Pirate Audio brightness
GND: GND, naturally.  I used pin 6
DIN: BCM10
CLK: BCM11
CS: BCM8
DC: BCM9
RST: BCM27 (This one is not present on the Pirate Audio boards, but is
needed in the fbtft_device setup.  I suspect other pins can be used.)
BL: BCM13 (A different pin can be used here, provided the backlight
brightness script is adjusted accordingly)

2) DRIVER CONFIGURATION:
No changes required to the 'modprobe flexfb' command.
Change the 'modprobe flexfb' command to:

Code:

modprobe fbtft_device name=flexfb speed=3200 gpios=dc:9,reset:27
  




chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-29 Thread Paul Webster


Any chance of getting libcec (and I think some related videocore pieces)
into pCP 6?
Then could have another go at getting the TV Remote to control a local
JiveLite via HDMI CEC ... via regular uinput mechanism by using
https://github.com/bramp/libcec-daemon



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-29 Thread paul-


carsten_h wrote: 
> Hello!
> 
> I am using an installation on a Pi 4 of piCorePlayer only for the LMS
> part. So I disabled Squeezelite for it which is working at normal system
> start without any problems. But when I am starting an Update/Full Update
> on the main page Squeezelite will be started afterwards.
> It's not a real problem, I just wanted to tell you.

Why press the button to update squeezelite if your not running it.  I
should re-enable squeezelite if you do that.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110727

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-29 Thread paul-

Paul Webster wrote: 
> Any chance of getting libcec (and I think some related videocore pieces)
> into pCP 6?
> Then could have another go at getting the TV Remote to control a local
> JiveLite via HDMI CEC ... via regular uinput mechanism by using
> https://github.com/bramp/libcec-daemon

That needs a lot more the libcecI’m sure it’s possible, just a lot
on my todo list right now.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110727

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-29 Thread carsten_h


paul- wrote: 
> Why press the button to update squeezelite

Oh, that part updates only Squeezelite? Ok, than it is clear. I thought
"Update all" updates the whole piCorePlayer.



carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread chill


carsten_h wrote: 
> Hello!
> 
> Today I found an interesting case for a Pi zero W with a display and
> buttons included (German):
> https://www.berrybase.de/raspberry-pi-co/raspberry-pi-zero/gehaeuse/gpi-case-handheld-gaming-geh-228-use-f-252-r-raspberry-pi-zero
> Here is the link to the creators website (English):
> http://retroflag.com/GPi-CASE.html
> 
> It only has 3.5mm Stereo connector, but the display is a little bit
> bigger and there are real buttons.
> The screen resolution is 320x240.

That could make an interesting 'controller' if you can get Jivelite
running on it.  The QVGAportrait skin that runs on the SBR would fit.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


[SlimDevices: Unix] Using Harman Kardon Soundsticks I together with piCorePlayer?

2020-01-29 Thread carsten_h


Hello!

I have here the old Harman Kardon Soundsticks I with USB input that are
working fine on my Mac as sound output.
Is it possible to use such USB Speakers attached to a Raspberry Pi 4
with installes piCorePlayer and use them as sound output?
How do I have to configure them? Is this a USB-DAC?



carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=111572

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


Re: [SlimDevices: Unix] Using Harman Kardon Soundsticks I together with piCorePlayer?

2020-01-29 Thread d6jg


carsten_h wrote: 
> Hello!
> 
> I have here the old Harman Kardon Soundsticks I with USB input that are
> working fine on my Mac as sound output.
> Is it possible to use such USB Speakers attached to a Raspberry Pi 4
> with installes piCorePlayer and use them as sound output?
> How do I have to configure them? Is this a USB-DAC?

Yes they should work.
Just select USB as the output and follow the suggested settings



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=111572

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread paul-


I simplified, and put some comments in the code for you..  

As for the log output, the user command is launched in the background. 
It's done that way, to let the pcp_startup.sh script exit normally, as
alot of folks just put commands that never exit in those areas.  I would
just leave it be, and understand that boot_log is not entirely
sequential.


Code:


  #!/bin/sh
  
  # start pigpiod deamon
  pigpiod -t 0
  
  # wait for pigpiod to initialize - indicated by 'pigs t' returning a numeric 
value.  Returns 'socket connect failed' otherwise
  
  ###I Like to Capitalize variables, to make them stand out against 
programs/commands.
  PIGI=0
  while [ $PIGI -eq 0 ]
  do
printf "\npigpiod initialization: "
# No need to catch the output, or grep anything.  Just look at the pigs 
exit code.  Exit code '0' is everything is fine.
pigs t >/dev/null 2>&1
if [ $? -eq 0 ]; then
PIGI=1
else
printf "\nWaiting for pigpiod to initialize"
sleep 1
fi
  done
  echo "pigpiod is running"
  
  # load uinput module - required to be able to send keystrokes
  .
  .
  .




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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111502

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread chill


paul- wrote: 
> I simplified, and put some comments in the code for you..  
> 

Marvellous - thanks Paul.

I removed an unnecessary output, added some 'new lines', and tidied up
the comments so that it better reflects how it works.


Code:

#!/bin/sh
  
  # start pigpiod deamon
  pigpiod -t 0
  
  # wait for pigpiod to initialize - indicated by 'pigs t' exit code of zero
  
  PIGI=0
  while [ $PIGI -eq 0 ]
  do
pigs t >/dev/null 2>&1
if [ $? -eq 0 ]; then
PIGI=1
else
*printf "\nWaiting for pigpiod to initialize\n"*
sleep 1
fi
  done
  printf "\npigpiod is running\n"
  
  # load uinput module - required to be able to send keystrokes
  .
  .
  .



Works like a charm now, and the only out-of-sequence message is between
'Starting Jivelite...' and the corresponding 'Done'.  The offending
'printf' (in bold above) could probably be removed from the script now,
as it was really only for debugging.


Code:

.
  .
  .
  Starting user commands... Done.
  Setting CPU scaling governor to ondemand... Done.
  Starting Jivelite...
  WAITING FOR PIGPIOD TO INITIALIZE
  Done.
  Loading Keytables... Done.
  Creating static footer... Done.
  
  Finished piCorePlayer v6.0.0-b7 startup.
  
  To setup piCorePlayer, use the web interface via a browser:
  - http://192.168.1.48
  
  Press [Enter] to access console.
  
  In the background, ntpd is syncing time between piCorePlayer and the internet.
  A large offset between 1970 and now is normal.
  
  pigpiod is running
  .
  .
  .




chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] Jivelite breaks playlist - Squeezeplay gives a choice - need help

2020-01-29 Thread ralphy


lj502 wrote: 
> I am curious, do you get the same results if you open Jivelite and
> select something?
> 
> John

Yes, I can reproduce the same results with Jivelite.  It's not specific
to Windows.

The Defeat destructive Touch-To-Play feature is not supported in
Jivelite.  You'll find there are several reports of the issue in other
threads as well.

Many of the lua files in jivelite have been modified from the
squeezeplay versions to handle the stricter luajit syntax with which
jivelite was originally developed.



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&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=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=111556

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread chill


chill wrote: 
> 
> RST: BCM27 (This one is not present on the Pirate Audio boards, but is
> needed in the fbtft_device setup.  I suspect other pins can be used.)
> BL: BCM13 (A different pin can be used here, provided the backlight
> brightness script is adjusted accordingly)
> 

If you use BCM 24 for RST and BCM 25 for BL, it all fits into a neat 2x4
block of pins.  Tweak the 'modprobe fbtft_device' command and the
lcd-brightness.sh script to suit.

[image:
http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/240x240/Waveshare2_640.jpg]

[image:
http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/240x240/Waveshare3_640.jpg]



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] Jivelite breaks playlist - Squeezeplay gives a choice - need help

2020-01-29 Thread lj502


So... does that mean it is what it is? I appreciate you looking at this
for me, I will stick with Squeezeplay for now, with this project I need
to have the add to list option as default. The simplicity of Jive is
great for this and everyone just gets it.

Love the new Material skin but need to find a way to show larger album
art on each page if I can.

I have 3 jukebox wallboxes from the 50's that I put screens in, one RPI,
one windows tab, and an android tab (differant sizes) all controlling
another RPI with an AMP2 inside an old Seeburg Jukebox (still plays 45's
perfectly) that I bypassed the original amplifier. I love the old
stuff!

Thanks again.
John



lj502's Profile: http://forums.slimdevices.com/member.php?userid=69776
View this thread: http://forums.slimdevices.com/showthread.php?t=111556

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-29 Thread gian

Hello All,

I am trying to investigate what's wrong with this Raspberry 3:
PiCorePlayer v6.0.0-b5 | linux 4.19.75-pcpCore_v7 | piCore v10.2pCP |
Squeezelite v1.9.6-1198-pCP

The system has one USB BT dongle (BT on board disconnected), with two
identical BT speakers connected.

One acts as alarm clock, and the other is in the shower.

While at the beginning I was able to play the two speakers in sync, more
or less without hiccups, now I have to turn off one player (speaker) in
order to be able to listen with the other without interruptions.
If I do so, the player goes on steady.

I also found the player frozen a couple of times... but without log
files, it's not easy to understand what's happening.

Any idea about how can I troubleshoot these problems?

thanks for your time,

-Gian



Madamina, il catalogo è questo... town: Musical Fidelity Dr.Thomas,
Preamp II, Infinity 7K, Squeezebox Classic (2), 2 Squeezelite bt on
Raspi, Raspberry Pi 2 with HiFiBerry, Ubuntu 18.4 LTS server
country: Musical Fidelity A-5, Infinity Renaissance 90, Musical Fidelity
A120, Sonus Faber Concertino, Squeezebox Classic, SB Touch, Raspberry Pi
2 with HiFiBerry, Raspberry Pi Zero-w bt, Raspberry Pi 3 server with
Debian Jessie on Arm7

gian's Profile: http://forums.slimdevices.com/member.php?userid=6702
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

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


[SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread pepiho


I'm using the latest version of Picoreplayer + Hifiberry DAC + (china
blue version) + original LCD. 
Everything works perfectly, but sometimes when you turn on the power and
start Jivelite there is no sound. Hands of VU meters show movement, but
sound is not. Sometimes it works, sometimes not.
Just in the Rebootpicoreplayer from settings menu and then everything
works.
I think, it would be enough time lag at startup ???
Could you give me an advice please ?



pepiho's Profile: http://forums.slimdevices.com/member.php?userid=69789
View this thread: http://forums.slimdevices.com/showthread.php?t=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread paul-


Sounds like a bad connection between the board and the rpi, or a bad
power supply.   Do you ever see a lightning bolt shown on the display? 

Perhaps take everything apart, clean the contacts and re-assemble.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111574

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


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2020-01-29 Thread paul-


I've not seen this before, but then I only use the RPI BT.  I've not
played much with other dongles.

Perhaps try to start an ssh session and watch the logging directly



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110727

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread paul-


I've been working on 6.0.0 so long, the screen changed a little bit from
5.0.0.  Try the 6.0.0-b7



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110642

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread paul-


huxmut wrote: 
> is that also the case for I2C ?
> as in a dac hat.

I2S is not going to produce bitperfect data.   HDMI is not a DAC, it
feeds a data stream to a DAC.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110642

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread pepiho


Power supply is 5A, switched. There is never a flash on the LCD. I
checked the contact between PI and DAC.



pepiho's Profile: http://forums.slimdevices.com/member.php?userid=69789
View this thread: http://forums.slimdevices.com/showthread.php?t=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread paul-


Squeezelite is what's generating the data for the VU meters, so it
thinks it is playing audio.

Post a screenshot of your Squeezelite setup page.

Then also post your boot log  (From the Diagnostics->Log)   and dmesg
section of Diagnostics.  Only post the logs from after the player does
not produce sound.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread pepiho


my log:


+---+
|Filename: pi.txt   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29207|
+---+


pepiho's Profile: http://forums.slimdevices.com/member.php?userid=69789
View this thread: http://forums.slimdevices.com/showthread.php?t=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread pepiho


and setting


+---+
|Filename: pi.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29208|
+---+


pepiho's Profile: http://forums.slimdevices.com/member.php?userid=69789
View this thread: http://forums.slimdevices.com/showthread.php?t=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread paul-


Why do you have the DAC+ADC driver loaded?

Please use the regular DAC+/DAC Pro

The logs show the card is taking a very long time to get detected.  
Could be due to wrong driver.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread pepiho


Now I'm trying picoreplayer beta6, set DAC + (and pro) = same result.
Sometimes he plays, sometimes not.



pepiho's Profile: http://forums.slimdevices.com/member.php?userid=69789
View this thread: http://forums.slimdevices.com/showthread.php?t=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread paul-


You will probably need to talk to HifiBerry.

The only other thing to rule out is Alsa equal.   Disable that and
check.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111574

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


Re: [SlimDevices: Unix] Picoreplayer does not output sound

2020-01-29 Thread pepiho


I'll play with it 
Thank you Paul.



pepiho's Profile: http://forums.slimdevices.com/member.php?userid=69789
View this thread: http://forums.slimdevices.com/showthread.php?t=111574

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread huxmut


paul- wrote: 
> I2S is not going to produce bitperfect data ...

I'm surprised to hear that bit. 
Im guessing it must be close as my old cloth ears arnt offended by my
current setup.

I'll try it out this weekend and see if i can hear a difference or not

Thanks for the education Paul :)



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

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread paul-


I'm far from an audio transport expert.   So hopefully I explained it
correctly.   But I know that I2S data stream is subject to the clock
rate of the RPI, which is why quite a few HAT products try to "re-clock"
the incoming data.

All I know is that I can't hear the difference.  lol.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110642

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread M-H


chill wrote: 
> If you use BCM 24 for RST and BCM 25 for BL, it all fits into a neat 2x4
> block of pins.  T

Nice optimisation Chill,
For use in your camper your could do with a few buttons or rotary+push
controllers.

And just thinking out loud, There are 2 SPI controllers in the Pi, Would
the driver be able to drive 2 screens in parallel ?
And if technically possible, what use could made in jivelite ?  Myself I
am quite fond of the kolossos VU meters, One on each :-) ?

Regarding the script, and the risk of hanging forever;
You could start with PIGI=20
and deduct 1 each time you wait for an other iteration.
When it reaches 0 it will end, but perhaps with the wrong message.
So at PIGI=1 message 'waiting did not work out' deduct one more and
exit.

Regards M-H



Pi based multi-room audio system powered by PiCorePlayer(s):
Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card,
Pi Zero with Phat-beat ,  and a few other tests...

M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread M-H


I had the pi-zero-w running all day ploughing through a big  playlist


Code:

tc@pi-rate:~$ uptime
  22:44:08 up 19:41,  2 users,  load average: 1.82, 1.83, 1.81



Quite high I think,


Code:

Mem: 214856K used, 277352K free, 14092K shrd, 24140K buff, 87780K cached
  CPU: 14.8% usr  9.6% sys  0.0% nic 73.3% idle  0.0% io  0.0% irq  2.0% sirq
  Load average: 1.88 1.89 1.82 1/130 9194
  PID  PPID USER STAT   VSZ %VSZ CPU %CPU COMMAND
  2191 1 root S11356  2.3   0  9.1 pigpiod -t 0
  2136 1 root S35840  7.2   0  5.4 /usr/local/bin/squeezelite -n 
pi-rate -o hw:CARD=sndrpihifiberry -a 80 4  1 -v
  2591  2223 root S23748  4.8   0  4.1 /opt/jivelite/bin/jivelite
  9173 2 root IW   0  0.0   0  2.9 [kworker/0:2-eve]
  9185 2 root IW   0  0.0   0  2.2 [kworker/u2:0-br]



Not too much processor intensive

So it must be IO related . Perhaps the screen updates .
Anyone who can confirm and or explain ?

M-H



Pi based multi-room audio system powered by PiCorePlayer(s):
Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card,
Pi Zero with Phat-beat ,  and a few other tests...

M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread Jeff07971


paul- wrote: 
> I'm far from an audio transport expert.   So hopefully I explained it
> correctly.   But I know that I2S data stream is subject to the clock
> rate of the RPI, which is why quite a few HAT products try to "re-clock"
> the incoming data.
> 
> All I know is that I can't hear the difference.  lol.

As far as I can see in the wiki (https://en.wikipedia.org/wiki/I%C2%B2S)
and the specs for the PCM5122 DAC theres no reason why I2S cannot be
"BitPerfect"

I2S is a transport and I cannot see why it cannot deliver a digital
signal unchanged from source

It maybe as Paul says, the Pi but I think not

Anyway like Paul I'm not likely to detect the LSB of a 24bit signal is
missing !

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 8.0 VM on ESXi 6.5.0U3
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1.5K albums with 25K songs by 5K artists mostly FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread huxmut


So the trick $64 question is;
does the rPi send data out as IIS or IIC ?



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

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread Jeff07971


huxmut wrote: 
> So the trick $64 question is;
> does the rPi send data out as IIS or IIC ?

To most HAT DACs and Amps I2S.

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 8.0 VM on ESXi 6.5.0U3
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1.5K albums with 25K songs by 5K artists mostly FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread chill


M-H wrote: 
> Nice optimisation Chill,
> For use in your camper your could do with a few buttons or rotary+push
> controllers.
> 
> And just thinking out loud, There are 2 SPI controllers in the Pi, Would
> the driver be able to drive 2 screens in parallel ?
> And if technically possible, what use could made in jivelite ?  Myself I
> am quite fond of the kolossos VU meters, One on each :-) ?
> 
> Regarding the script, and the risk of hanging forever;
> You could start with PIGI=20
> and deduct 1 each time you wait for an other iteration.
> When it reaches 0 it will end, but perhaps with the wrong message.
> So at PIGI=1 message 'waiting did not work out' deduct one more and
> exit.
> 
> Regards M-H

Yeah, for my camper I have a few options in mind.  Adding a Pirate Audio
3W amp board to the 3A+ server is now one possibility, because it would
save me taking a line out all the way to dashboard radio.  But since I'm
refitting the interior I may find a space for a bigger permanent screen
with buttons and rotary controllers.

Two screens?  I'm not sure.  Interesting idea, but I don't really know
what I'm doing with all this SPI stuff.  I have managed to change to
CS=1 (by using  BCM7 for CS), but this makes me think that the pinout
diagram for the Pirate Audio boards ('here'
(https://pinout.xyz/pinout/pirate_audio_line_out)) may not be correct,
since it has BCM8 for CS, and I understand that BCM8 is the chip select
for SPI0.0, yet the fbtft_device command that works with the Pirate
Audio board uses cs=1.  But I'm a bit out of my depth here.

Good idea with the countdown timer in the sbpd script, thanks.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-01-29 Thread M-H


I have to learn more on SPI too but looking at  'this'
(https://pinout.xyz/pinout/spi)  the BMC 7/8 are for  SPI0 and there is
a full second set.
It looks like a chipselect, where 2 slaves can co-exist on the same
serial bus, and the SC directs which one is addressed.
The 1 you have set might be the address on the SPI0.

But also I'm a bit out of my depth here.  And if I am right on the
chipselect, technically it could double up to 4? displays ?
Perhaps the HW guru's of squeezeamp wil pass by and have some ideas on
this.

I just reread your older justboom tinyamp posts. How  does this pirate
audio 3w board compare to that amp on 5 volts ? ( use the same speakers
to make it an honest compare )

M-H



Pi based multi-room audio system powered by PiCorePlayer(s):
Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card,
Pi Zero with Phat-beat ,  and a few other tests...

M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread paul-


I2S is the buss that audio crosses, Dac chips also used i2c for control
of 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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110642

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread firedog


firedog wrote: 
> I don't see anything like that in my setup. How did you get to that?

https://forums.slimdevices.com/attachment.php?attachmentid=29201

Since my unit accepts DSD Native, no settings for DoP appeared in my LMS
under the DSDPlay settings. It just said there that DSD Native is
working. 

I understood from other posts that the "trick" is to go into Squeezelite
settings, and write  into the formats that you DO NOT want to be
processed as native. Once you do that, the settings for DoP appear in
the settings for DSD, and LMS starts to convert DSD to PCM.



GIK Acoustics Room Treatments. Isol Line conditioner/protection. iFi AC
iPurifiers>CAPS4 Pipeline w/Sonore PS >Kii Control>Kii Three
speakers.iFi iOne+ Schiit Freya Pre for analog. An SB Touch, Duet
Controller,  a RB Pi 3B+ running piCorePlayer as an SBT emulator in
additional rooms.

firedog's Profile: http://forums.slimdevices.com/member.php?userid=11550
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2020-01-29 Thread Feeback25


Good morning all,
I'm talking to Paul or Greg: I just did a brand new installation of PCP
5.0.1. I am using a power button on my system. I can no longer find
"Audiophonics-powerscript.tcz" in the repositories.
How can I install it or use an alternative?
Thank you
Philippe



Feeback25's Profile: http://forums.slimdevices.com/member.php?userid=69559
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

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