Re: [slim] Install Picore player

2021-11-12 Thread 19lee79


I made it, i program the firc to the remote and work.
I took the commands that was in the link and tried them all but most of
the commands didn't work. I located another batch like the one that was
in the link, but they had different commands. So I went back and forth
looking and it look me sometimes and got the right commands which mine
is a little different.


Back-
CH--
CH--
Down---
Up---
Left-  
Right---
Vol up---
Vol down---
Home---
Ok---
play-
pause
Repeat--
Menu

and they work



19lee79's Profile: http://forums.slimdevices.com/member.php?userid=72157
View this thread: http://forums.slimdevices.com/showthread.php?t=115249

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


Re: [slim] Volume goes up close to max when turn off synchronized player

2021-11-12 Thread mcoste


I found today that this happens only if the Radio and Boom are also
synchronized to my Touch. If I remove the Touch from the synchronized
devices then the volume never jumps to 93%



mcoste's Profile: http://forums.slimdevices.com/member.php?userid=12820
View this thread: http://forums.slimdevices.com/showthread.php?t=115367

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


Re: [slim] Help needed configuring Audiophonics power button shut-off in piCorePlayer

2021-11-12 Thread df77


pputzer wrote: 
> The original wiring I had was correct. The missing piece was that the
> gpio-poweroff overlay needs "active_low" to be enabled (either the
> posting by Audiophonics contained a typo, or they changed the board
> later on). With the wiring according to the Audiophonics pictures and
> these settings, everything now works reliably:
> 
> 27325
> 
> Thanks again for the great work on piCorePlayer, and for the help in
> here!

I'm still trying to figure out how to use the power module in the
current RaspTouch (PI-SPC_Reg V2) with regard to softshutdown. The above
example surprisingly works, but only if the shutdown process was
initiated via the hardware power button. If shutdown was initiated by
software, the poweroff sequence does not finish and the power button
light will stay on.

The wiring is performed in the following way:
Soft SD -- GPIO04
ShutDown -- GPIO17
Boot OK -- GPIO22

As far as I understand the wiring and the examples at github
https://github.com/audiophonics/Raspberry-pwr-management/blob/master/softshutdown.sh
and
https://githubusercontent.com/audiophonics/Raspberry-pwr-management/master/sds.sh,
as well as the official documentation of the former RaspTouch
http://forum.audiophonics.fr/viewtopic.php?p=6237#p6237, the power
module will act in the following way:

During the boot process, the power button will be slowly flashing and
will not initiate any shutdown process until it receives a "Boot OK"
signal via GPIO22. If GPIO22 has been set to 1, the button will light
continuously and is waiting for a keypress. If the button will be
pressed, then GPIO17 switches to 1, which will be catched by the
shutdown-monitor, triggering shutdown and followed by poweroff. During
shutdown, the power module will be in some waiting state (blinking). 

GPIO04 seems to be the way to trigger this state from the software side,
however I am still trying to get it done the right way.

The above example works at least with regard to the hardware initiated
shutdown, as setting gpio-poweroff to GPIO22 and active low will pull-up
GPIO22 which is interpreted by the power module as "BootOK" - which is a
prerequisite for the shutdown+power-off process. The same can be
performed in this way (via config.txt):

Code:

gpio=22=op,dh
  dtoverlay=gpio-shutdown,gpio_pin=17,active_low=0,gpio_pull=down


additionally it could be helpful to set GPIO4 to a proper state, in case
of a reboot:

Code:

gpio=4=op,dl



Another way to pull up GPIO22 = BootOK at a later stage during boot
process could be performed e.g. via "User command #1" in PCP:

Code:

/usr/local/bin/pcp-gpio mode 22 out ; /usr/local/bin/pcp-gpio write 22 1


That should be more correct with regard that the boot process should
have finished.

A proper power-off after a software-initiated shutdown process can now
be initiated as described in the github examples by toggling GPIO4 up
(for one second?) before executing /sbin/poweroff. However, I still have
to find an easy way that a custom shutdown script will execute "pcp-gpio
mode 4 out; pcp-gpio write 4 1; sleep 1; pcp-gpio write 4 0" before
/sbin/poweroff will be called - using gpio-shutdown does not seem to
work.



Main: *Transporter *-> [Marantz PM7005 -> Canton Vento 820.2] | [Meier
enhanced crossfeed -> Topping A50s -> Dan Clark Audio Aeon 2 closed]
Office: *Squeezelite-esp32*+SSD1322+IR+Cirrus CS43198 -> Yamaha CRX-E400
-> Q Acoustics 3010i
Garden: *DAC32* -> Objective2 -> Dan Clark Audio Aeon 2 closed
Bathroom and children's room: 2x *SB Radio*
Spare devices / ongoing projects: 2 x *SB3*, *Touch*,
*PiCorePlayer8*+RasPi3A++DAC+light+RTC+7'' Display+XBox Media
Remote+LMS
Server: NUC7CJYH2+Debian+LMS+Resilio Sync

df77's Profile: http://forums.slimdevices.com/member.php?userid=71347
View this thread: http://forums.slimdevices.com/showthread.php?t=110421

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