Re: [SlimDevices: Unix] Track Info etc. on OLED for PCP

2022-12-19 Thread psketch


connoleg wrote: 
> Hey Pete,
> Many thanks for this, Ive been on a journey with getting my EvoSabre to
> work. I've come from PcP with previous streamer/dac but thought I'd
> start using the images provided by Audiophonics. Anyway, I glad I'm back
> to PcP!! :)
> 
> I've installed files and python scripts as per your github page with no
> issues. I have squeezelite connecting to my LMS on a NAS. LMS can see
> the EvoSabre squeezlite player but the display, after the splash screen,
> loops around connecting to LMS IP 192.168.0.222 and Player not
> connected. Tried defining the LMSIP in PcP and commandline with no
> improvement in the issue. Any ideas?
> 
> Pi4/64bit PcP8.2
> 
> cheers
> gary

Hi Gary

Hmm - odd one.  So, if you don't enter the IP address on the command
line, it's giving you that error message?  Is the IP address correct for
your LMS - i.e. is discovery working ok.  Is there anything funny with
your LMS setup?

First, can you take a look at pcp_boot.log - in the PCP UI, go to Main
Page, Diagnostics, Logs, Boot.  Anything interesting in there?  

Try posting that here.  If there's  othing interesting, let's turn on
debug and capture the log.

If you boot the pcp without starting the script (remove it from the
startup commands), or if you're OK with it, kill the process (ps -a,
then sudo kill ) you can then run the process from the cmd line

python3 /home/tc/oled4pcp_4.py OLED=SSD1322 LOGFILE=DEBUG

it'll write the logs to /var/log/oled4pcp.log.  Hit cntl-c to stop the
process after a while and send me the log.



psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=116489

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


Re: [SlimDevices: Unix] Track Info etc. on OLED for PCP

2022-12-19 Thread connoleg


Hey Pete,
Many thanks for this, Ive been on a journey with getting my EvoSabre to
work. I've come from PcP with previous streamer/dac but thought I'd
start using the images provide by Audiophonics. Anyway, I glad I'm back
to PcP!! :)

I've installed files and python scripts as per the github page with no
issues. I have squeezelite connecting to my LMS on a NAS. LMS can see
the EvoSabre squeezlite player but the display, after the splash screen,
loops around connecting to LMS IP 192.168.0.222 and Player not
connected. Tried definining the LMSIP in PcP and commandline with no
improvement in the issue. Any ideas?

Pi4/64bit PcP8.2

cheers
gary



connoleg's Profile: http://forums.slimdevices.com/member.php?userid=35189
View this thread: http://forums.slimdevices.com/showthread.php?t=116489

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-19 Thread nupi


Thank you. I already suspected that.

In that case I will have to buy HiFiBerry Digi2 Pro.



nupi's Profile: http://forums.slimdevices.com/member.php?userid=73244
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-19 Thread Paul Webster


In the past I have left those 2 lines in place and still used HDMI, but
that was with KMS not FKMS.

I read a description of them that said that they use HDMI ARC (Audio
Return Channel) ... if that is the only way that they work then they
might not work at all when directly connected to Raspberry Pi.

So a suggestion ... see if you can get those HDMI connected speakers to
work with a regular Raspberry Pi OS.
If you can then it suggests that it should be possible with pCP once the
correct incantations are found.
If you cannot then you might be able to get help from Raspberry Pi
themselves ... but if only ARC then might be doomed.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

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

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-19 Thread nupi


Paul Webster wrote: 
> You don’t say what you tried but have a go with
Thanks. I tried various Outpout settings.
Paul Webster wrote: 
> 
> plughw:CARD=b1,DEV=0
> however, to me that looks like it might be the 2nd HDMI port on RPi4
I tried that too. Most of the time I used the first HDMI port. But not
only.

Does it make sense to comment out 
#dtparam=audio=on
#audio_pwm_mode=2

(in config.txt)?
=> https://docs.picoreplayer.org/projects/rpi0w-hdmitv-jivelite/



nupi's Profile: http://forums.slimdevices.com/member.php?userid=73244
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-19 Thread Paul Webster

nupi wrote: 
> Where do you make these settings?
> 
> Edit: I think I get it. But unfortunately without any success.
> 
> 
> [ INFO ] Squeezelite Output devices
> > 
Code:

  >   > 
  > Output devices:
  > null   - Discard all samples (playback) or generate 
zero samples (capture)
  > default   
  > plugequal 
  > equal 
  > hw:CARD=b1,DEV=0   - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct 
hardware device without any conversions
  > plughw:CARD=b1,DEV=0   - bcm2835 HDMI 1, bcm2835 HDMI 1 - Hardware 
device with all software conversions
  > sysdefault:CARD=b1 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default 
Audio Device
  > dmix:CARD=b1,DEV=0 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct 
sample mixing device
  > hw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - 
Direct hardware device without any conversions
  > plughw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - 
Hardware device with all software conversions
  > sysdefault:CARD=Headphones - bcm2835 Headphones, bcm2835 Headphones - 
Default Audio Device
  > dmix:CARD=Headphones,DEV=0 - bcm2835 Headphones, bcm2835 Headphones - 
Direct sample mixing device
  > 

> > 

You don’t say what you tried but have a go with
plughw:CARD=b1,DEV=0
however, to me that looks like it might be the 2nd HDMI port on RPi4



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

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

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


Re: [SlimDevices: Unix] PiCore Player and gpio-poweroff / gpio-shutdown overlays

2022-12-19 Thread maciekelga


Thank You.

I took another new SD card, did a clear new installation and looks fine
- I can edit "config" file. 

Unfortunatelly disable I2C did not resolve problem. If GPIO 3 is choosen
for "shutdown" Squeezelite is not starting and not running. Any other
GPIO is fine, except 3. GPIO3 is from default able to wake up Rpi4 from
shutdown. I had a plan to give a signal to shutdown and wake up on same
pin - similar as I have done on other Rpi with LibreElec.

Is there any option to have GPIO with shutdown function and Squeezelite
running?



maciekelga's Profile: http://forums.slimdevices.com/member.php?userid=73213
View this thread: http://forums.slimdevices.com/showthread.php?t=109270

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


Re: [SlimDevices: Unix] PiCore Player and gpio-poweroff / gpio-shutdown overlays

2022-12-19 Thread Greg Erskine


If I was you, I'd start with an SD card of *known* quality, and start
again.

The BOOT partition is formatted FAT32 and everyone has read/write
access.

After pCP boots, the BOOT partition is unmounted, so *accidents* are
minimised.

You can do an "ls" to see what permissions are set.

A "df" will show if you have run out of space for some reason.

There is always a chance that the BOOT partition was mounted, when it
should not have been, and some program or command was run that modified
it.

I think, hardware issues can cause the *whole* SD card to be readonly.



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

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


Re: [SlimDevices: Unix] PiCore Player and gpio-poweroff / gpio-shutdown overlays

2022-12-19 Thread maciekelga


See below

https://imgur.com/bkySK7W

Player and LMS working fine, I can do some changes from Tweaks level.


+---+
|Filename: obraz_2022-12-19_204035313.png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=39488|
+---+


maciekelga's Profile: http://forums.slimdevices.com/member.php?userid=73213
View this thread: http://forums.slimdevices.com/showthread.php?t=109270

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-19 Thread nupi


AnaximanderThales wrote: 
> Ssh'd in again and went through the available outputs (hw:card=b1,
> plughw:card, sysdefault:card) via cli.  plughw worked and I entered that
> setting into pcp squeezelite output setting.  Rebooted and now I have
> sound, and we have the 'needed' requirements resolved.

Where do you make these settings?



nupi's Profile: http://forums.slimdevices.com/member.php?userid=73244
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] PiCore Player and gpio-poweroff / gpio-shutdown overlays

2022-12-19 Thread Greg Erskine


config.txt is on a FAT partition so *normally* it can not be readonly.

I suppose if the SD card is underpowered or faulty it can be readonly,
but I've never seen that happen.



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

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-19 Thread nupi


paul- wrote: 
> pCP8 with RPi 7" DSI or other DPI display + HDMI Audio
> 
> So I've made some progress here, there is no one generic setting that
> works for all.
> 
> You will need to edit the config.txt on the boot partition.
> >   > 
  - Comment out or delete the line  gpu_mem=xxx
  - add a line at the end   max_framebuffers=2
  - add a line at the end   display_default_lcd=1
  - add a line at the end   framebuffer_priority=0  (For RPi 7" DSI
  > LCD screen)
  > > > 
> 
> If you are using a 3rd party DPI screen like the "Hyperpixel" Then you
> will want to set frambuffer_priority=1.

Hi. I have a Raspberry Pi4 with the original 7" touch display (DSI). I
would like to connect Hubert nuBox A-125 via HDMI. I have made the above
changes. Unfortunately the boxes remain silent, even if everything else
looks good.

Before I made the changes, there was an error message with HDMI output
with the default settings.

Can anyone give me a hint?



nupi's Profile: http://forums.slimdevices.com/member.php?userid=73244
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] HP T620 Thin with Proxmox LMS and client

2022-12-19 Thread maciekelga


Hi,

Finally I went with Rpi4 with DAC IQAudIO Pro ;)



maciekelga's Profile: http://forums.slimdevices.com/member.php?userid=73213
View this thread: http://forums.slimdevices.com/showthread.php?t=117174

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


Re: [SlimDevices: Unix] PiCore Player and gpio-poweroff / gpio-shutdown overlays

2022-12-19 Thread maciekelga


I played a little bit with my PcP on RPi4. I have setup of shutdown
under 'Poweroff/Shutdown Overlays'- set gpio shutdown to 'yes', '3',
'Active Low','Pull up". So when I short to GND GPIO 3 Rpi shutdown, when
I remove GND from GPIO3 it start up but SqueezeLite is not running, I
think I2C is a problem and it should be disable. I`m using DAC IQAudIO
DAC Pro and may I disable I2C?



maciekelga's Profile: http://forums.slimdevices.com/member.php?userid=73213
View this thread: http://forums.slimdevices.com/showthread.php?t=109270

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