Re: [slim] Help needed configuring Audiophonics power button shut-off in piCorePlayer
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
Re: [slim] Squeezebox Classic V3 dead?
There is a long discussion on possible issues over here: https://forums.slimdevices.com/showthread.php?109775-Squeezebox-Classic-(SB3)-Repair-Consideration, that would be a good place to start. I would suggest to first check if the power supply still provides sufficient power, and the next step would be to check the internal wifi card - with a broken wifi card the device will not properly start up (if the squeezebox is able to start without the wifi card, then the wifi card has to be replaced or at least the broken card has to be removed). If its neither the power supply nor the wifi card, then most likely the capacitors have to be replaced, but that's not that easy. Good luck! 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=115078 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] New bitmap fonts for Transporter and SB2/SB3
I've just added a font based on the Terminus font to the package (now contained in the first post) and also fixed some small things in the other fonts. 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=114395 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] New bitmap fonts for Transporter and SB2/SB3
Thank you very much for the feedback, the instructions for creating pcp extension and the extension itself. At the moment I'm using a debian-based LMS system, but I've already downloaded the extension for future use. ---- df77's Profile: http://forums.slimdevices.com/member.php?userid=71347 View this thread: http://forums.slimdevices.com/showthread.php?t=114395 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] New bitmap fonts for Transporter and SB2/SB3
Hi everyone, Within the last days I've compiled two new pixmap-fonts for the VFD as present in Squeezebox classic, SB2 and Transporter, which I want to share here. Over time I wasn't any longer satisfied with the current look and decided that my squeezeboxes are in the need for a fresh look. The first font is a two-lines one, the second a full-sized one. The font "Neep" is based on the pixmap font jmk-Neep (available under GLP, see https://github.com/nikolas/jmk-x11-fonts, whereas I've used the bitmaps from the rockbox.org project, sizes 06x11 and 12x24). The original fonts are monospaced with a dotted zero; however I've only used monospacing for the numbers. A second variant, Neep0, provides an open '0', which could look more pleasant for the clock. 34230 The second font, DINo, is based on a keymap written in the Win10 font Bahnschrift, which itself is derived from the DIN 1451 font (https://en.wikipedia.org/wiki/DIN_1451). The DIN font is at least very common in Germay and used for traffic signs, looks very neutral and balanced, is quite easy to read from a distance. For this font, I've created the bitmap keymap within The GIMP (font size 34px, with medium hinting and no anti-aliasing). Afterwards, look, position and size of the characters had to be edited / adjusted for a more clean and polished look. 34229 The attached ZIP file contains these bitmap font files, which just have to be copied to logitech media server, into the "Graphics" folder (the BMP-files, not the ZIP, to e.g. /usr/share/squeezeboxserver/Graphics/ in case of the debian packages) and LMS requires a restart. The fonts should then be selectable in LMS via the device settings for SB2/SB3/transporter. Please be aware that the files have to stay in the propper file format (1-bit Win3.1 BMP format), otherwise LMS won't start properly (will no more find any players as long as the non-functional files are present in Graphics folder). I hope you like the fonts as well. Daniel 34228 +---+ |Filename: Classic-Neep.JPG | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=34230| +---+ ---- df77's Profile: http://forums.slimdevices.com/member.php?userid=71347 View this thread: http://forums.slimdevices.com/showthread.php?t=114395 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss