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

2022-12-28 Thread maciekelga
Grumpy Bob wrote: > I have set up a Raspberry Pi as a piCorePlayer/LMS server with a > momentary switch that has an LED. It uses the 'On-Off shim' > (https://shop.pimoroni.com/products/onoff-shim?variant=41102600138) set > as described 'here' >

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

2022-12-28 Thread maciekelga
Hi again, I found one item which I don`t understant. When in Tweaks I have choose only shutdown on GPIO 17 is possible to shutdown (after shutdown red LED is active) and I`m able to wake up Rpi by short GPIO3 with GND. When option poweroff is on any GPIO is active than after shutdown all LEDs

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

2022-12-20 Thread maciekelga
I did a new installation on new SD card and now is fine, I can edit config file. Even I2C is disable, when shutdown on GPIO3 is active, after reboot Squeezeplayer is not running. With any other GPIO work fine, except GPIO3

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

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"

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:

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:

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

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

2022-12-17 Thread Greg Erskine
maciekelga wrote: > Thank You, so one is output another is input in fact. Thank You. > > So I think I need to use this On-Off shim, there is no other way. In > Rpi3 there was an option to wake up with short GPIO 3 to GND, I think is > disable in Rpi4. There was another option with Python

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

2022-12-17 Thread Grumpy Bob
maciekelga wrote: > There was another option with Python script but from what I found > Python is not installed in PcP. > > There seem to be quite a few Python packages available for pCP. I'm not much of a Python user, so I've never installed them. Robert *Home: *Raspberry Pi

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

2022-12-16 Thread maciekelga
Thank You, so one is output another is input in fact. Thank You. So I think I need to use this On-Off shim, there is no other way. In Rpi3 there was an option to wake up with short GPIO 3 to GND, I think is disable in Rpi4. There was another option with Python script but from what I found

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

2022-12-15 Thread paul-
One issues a shutdown command, the other toggles a gpio when it is okay for the power to be removed from the pi. Turning back on requires extra hardware like the on/off shim described above piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org

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

2022-12-15 Thread maciekelga
When You press one time it shutdown and next press the button start up PiCore Player? What is a different between poweroff and shutdown? I want to control by level of GPIO: HIGH = start PCP LOW = stop PCP maciekelga's

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

2022-12-15 Thread Grumpy Bob
maciekelga wrote: > Hi, > > I have PiCore on RPi3 and need two functionality: > 1. Set up one pin as output to connect external LED to see if PiCore is > running or not. > 2. Is possible to set up pin as on/off? I mean if is low level on GPIO > than PiCore is should be disable, when is high

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

2022-12-15 Thread maciekelga
Hi, I have PiCore on RPi3 and need two functionality: 1. Set up one pin as output to connect external LED to see if PiCore is running or not. 2. Is possible to set up pin as on/off? I mean if is low level on GPIO than PiCore is should be disable, when is high should be active. Is anybody who

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

2021-11-18 Thread Greg Erskine
Yes. See FAQ "'My changes disappeared' (https://docs.picoreplayer.org/faq/my_changes_disappeared/)". Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread:

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

2021-11-18 Thread nspp
I've setup std gpio pin 22/24 in web interface but i would like to create automatically a log entry at shutdowns. The script in /opt/shutdown.sh seems to be replaced at each boot. do i miss something ? nspp's Profile:

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

2021-03-03 Thread Hawaka
Hello, I'm running an Pi4 with a Pi Touchscreen, PiCore and LMS. I'm trying to have an on/off button (It can be two button if neede). So far I have connected my button to GPIO 22, and the shutdown works. I need a proper shutdown as it is connected to a multiplug that I switch on/off quite

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

2021-01-22 Thread bla4711
jeroen2 wrote: > Hi Bla, you can check out this and let me know if this works for you. > https://forums.slimdevices.com/showthread.php?113693-Using-the-RemotePi-board-with-pCP=1004729=1#post1004729 > > Ciao, J. hello jeroen, was working perfect, have written some comments in the instruction

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

2021-01-16 Thread jeroen2
bla4711 wrote: > Hi jeroen, great, I guess this is also interesting for many other > picoreplayer user (have not found so many remote switch off/on options > for Raspi 4 > Hi Bla, you can check out this and let me know if this works for you.

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

2021-01-16 Thread bla4711
jeroen2 wrote: > Hi Bla, thanks for asking. Credits would go to Ralphy, Paul and Greg > though, who explained to me how to do this. :-) > > I've been meaning to document this, but haven't gotten around to it. > Getting the RemotePi board to work requires two scripts for the shutdown >

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

2021-01-15 Thread jeroen2
bla4711 wrote: > @ jeroen2, just found your posts in the forum about using the RemotePi > board from msldigital. Have ordered one immediatly and now waiting for > delivery. What I ask you, could you summarize what you have done in pcp > environment to get it work? > I am new in Pcp and Raspi

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

2021-01-15 Thread bla4711
jeroen2 wrote: > I think the simplest solution would be this: > But not sure how that would interfere with the Allo Boss DAC. > > I have been using the RemotePi board[/URL], although this does require > some manual configuration[/URL] in PcP. It has the advantage of adding > an IR remote,

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

2020-11-03 Thread truscellino
Hi, The Allo Boss DAC allows you to power your "Pi+DAC" by mini-USB on either the Pi or the Boss itself (as long as keep the setting on J25 for them to be powered together). First, if you want any software-based shutdown to work, you will need to put the power on the Pi itself, then pass the

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

2020-11-03 Thread jeroen2
Cured wrote: > Thanks for your kind answers. I think I'm looking for an other solution. > I wasn't planning any soldering. I think it is not necessary (and I'm > not that good in soldering...). The Allo Boss 1.2 DAC has an own set of > GPIO-pins (also see the 'full technical documentation' >

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

2020-11-03 Thread Cured
Hi there, Thanks for your kind answers. I think I'm looking for an other solution. I wasn't planning any soldering. I think it is not necessary (and I'm not that good in soldering...). The Allo Boss 1.2 DAC has an own set of GPIO-pins (also see the 'full technical documentation'

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

2020-11-03 Thread Cured
Hi there, Thanks for your kind answers. I think I'm looking for an other solution. I wasn't planning any soldering. I think it is not necessary (and I'm not that good in soldering...). The Allo Boss 1.2 DAC has an own set of GPIO-pins (also see the 'full technical documentation'

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

2020-11-03 Thread Cured
Hi there, Thanks for your kind answers. I think I'm looking for an other solution. I wasn't planning any soldering. I think it is not necessary (and I'm not that good in soldering...). The Allo Boss 1.2 DAC has an own set of GPIO-pins (also see the 'full technical documentation'

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

2020-11-02 Thread Grumpy Bob
For starting up and shutting down my Raspberry Pi (a 3B+ running pCP with LMS), I have set it up with one of the 'Pimoroni OnOff SHIMs' (https://shop.pimoroni.com/products/onoff-shim). It looks as though you can solder it directly to the GPIO pins and still fit a DAC HAT on top (though I haven't

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

2020-11-02 Thread jeroen2
Cured wrote: > > I already did some research on the web and found out that the > GPIO-connectors could be of some help. I already bought a normally open > button (I already soldered two female GPIO-wires to it) but I don’t know > how to connect it to the Allo Boss which is on top of the

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

2020-11-02 Thread Cured
Hello, Im completely new here and have little technical knowledge. I recently bought a Raspberry Pi with an Allo Boss 1.2 DAC. I managed to get it running with PiCorePlayer and LMS. I was so proud! Currently I use the webinterface of PiCorePlayer to shut it down and then power it off by

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

2020-10-15 Thread jeroen2
paul- wrote: > The mapping is hard coded in squeezelite > https://github.com/ralph-irving/squeezelite/blob/master/ir.c > > And we also automatically enable squeezelite to use IR when the all the > lirc stuff is installed. There are some IR threads that might have some > info. Ah, cool,

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

2020-10-15 Thread paul-
The mapping is hard coded in squeezelite https://github.com/ralph-irving/squeezelite/blob/master/ir.c And we also automatically enable squeezelite to use IR when the all the lirc stuff is installed. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage:

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

2020-10-15 Thread jeroen2
paul- wrote: > .local is from avahi/zeroconf. pCP can send curl commands to the LMS > server all day long. There are other ways to automatically find IP > address of your LMS servermuch lighter weight than avahi > The way we prefer to do it in pcp, is to look at the local device and >

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

2020-10-13 Thread jeroen2
Paul Webster wrote: > How about skipping the reboot of the router for a day or two and see if > this problem goes away. *hehe* Yes, good suggestion. :-) I'll try that. jeroen2's Profile:

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

2020-10-13 Thread Paul Webster
How about skipping the reboot of the router for a day or two and see if this problem goes away. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland

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

2020-10-13 Thread jeroen2
Paul Webster wrote: > > You could then kill that process and try to run udhcpc by hand to > experiment > [...] > Also - what is your DHCP server and does it support option 12? > Does it have an interface that shows you DHCP assignments that it is > managing? > Does it have any logs? > > The

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

2020-10-09 Thread paul-
Anytime. Feel free to ask questions. That's what the community is all about. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

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

2020-10-09 Thread jeroen2
Just to say thanks, Ralphy, Paul and Greg, for your answers and kind help. It was bit of a challenge, but I guess that's mainly me wanting too much and knowing too little. Really happy with PcP and the great multiroom system I have now.

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

2020-10-09 Thread ralphy
Greg Erskine wrote: > If you load Shairport-sync or WAP, avahi/zeroconfig *may* be a > dependency so it will be installed. Shairport-sync currently uses the built-in tinysvcmdns service. The avahi dependency was removed around the time that picoreplayer 4.0 was released. Ralphy *1*-Touch,

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

2020-10-08 Thread jeroen2
paul- wrote: > > The way we prefer to do it in pcp, is to look at the local device and > see what LMS server squeezelite is connected to. > > > Code: > > > IP=$(netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | awk '{ print $5 }' | grep :3483 | awk

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

2020-10-08 Thread jeroen2
Greg Erskine wrote: > hi jeroen2, > This feature creep is what makes a minimal 30MB Linux install grow to > 4GB Raspberry Pi OS. > Thanks, I get that. And that's why I'm trying to get PcP to work for me. :D Still have a few issues to sort out, but it's running, and I love how fast it boots

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

2020-10-08 Thread paul-
.local is from avahi/zeroconf. pCP can send curl commands to the LMS server all day long. There are other ways to automatically find IP address of your LMS servermuch lighter weight than avahi There is a program supplied with pcp called "find_servers" This will find all discoverable LMS

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

2020-10-08 Thread Greg Erskine
hi jeroen2, You have to remember pCP uses piCore Linux which is a minimal install Linux running in RAM. On the initial pCP image we have just enough software to make a Squeezelite player work. This suits 99% of the users. So most extra features requires the download and installation of more

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

2020-10-08 Thread jeroen2
Paul Webster wrote: > On one of your pCP machines you can experiment ... > Many thanks. I think I got it solved. I had been using the .local so far, since that works both for Volumio and for Raspbian. So I always assumed it was my router that added the .local postfix. But when I use only the

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

2020-10-08 Thread Paul Webster
On one of your pCP machines you can experiment ... ps -ef | grep udhcpc should show something like /sbin/udhcpc -b -i eth0 -x hostname:guestroom -p /var/run/udhcpc.eth0.pid If it shows picoreplayer rather than your chosen hostname then there will be a problem if you have more than one

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

2020-10-08 Thread jeroen2
Paul Webster wrote: > > Have you set your own hostname? > If not it will be picoreplayer I think. > I have set my local DHCP server to use .lan as the domain suffix. Your > might be something else - e.g. .local I checked this on a player where I hadn't done any experiments (so just a plain

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

2020-10-08 Thread Paul Webster
pCP runs udhcpc (from Busybox) and gives it the configured hostname which I presume passes that hostname to the DHCP server that it finds (I don't know for sure but I do know that my DHCP server recognises the name. Code: /sbin/udhcpc -b -i $DEVICE -x

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

2020-10-08 Thread jeroen2
paul- wrote: > Since they use the pins for both input an output, you are going to have > manually configure everything. Thanks for the help so far. I managed to get a long way figuring this out last night but got stuck on two issues for which I would appreciate some further guidance.. First of

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

2020-10-05 Thread Paul Webster
jeroen2 wrote: > > Is that the same as pcp sd? The result is the same ... although "pcp sd" does not pass "shutdown" as a parameter ... but it works out the same because exitcheck.sh calls poweroff unless called with "reboot". Paul Webster http://dabdig.blogspot.com author of \"now

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

2020-10-05 Thread jeroen2
Great, many thanks, that seems doable. :) paul- wrote: > But to shut down, your first script would want to call exitcheck.sh > shutdown (Instead of shutdown -h now) Is that the same as pcp sd? jeroen2's Profile:

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

2020-10-05 Thread paul-
Since they use the pins for both input an output, you are going to have manually configure everything. Put the start script in /home/tc . Since we do not have a rc.local or run systemd, executing the startup script is done by placing it in user commands on the tweaks page. Executing

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

2020-10-05 Thread jeroen2
At the moment I have 4 out of 6 players running on PcP and switched from airplay streaming to Squeezelite. All in all it seems to be a big improvement in quality and stability. But the last two players are still on Volumio, so I want to switch those as well. Both have a RemotePi board power

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

2020-04-10 Thread paul-
As long as LMS is not running on that device. Just pull the power then, Completely safe to do.The only time anything is written to the SD card is when you make a change in the web interface, requiring a backup to be done. piCorePlayer a small player for the Raspberry Pi in RAM.

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

2020-04-10 Thread squeezetux
Paul Webster wrote: > If you are running pCP as a player only then simply cutting the power > should not cause a problem because pCP runs everything in memory and > only writes out to storage when you ask it to (e.g. making a > configuration change). > However, it is unlikely that you would be

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

2020-04-10 Thread pputzer
Paul Webster wrote: > so presumably your question is about a pCP running LMS. I think "SSD card" was simply a typo. Gesendet von iPad mit Tapatalk pputzer's Profile:

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

2020-04-10 Thread Paul Webster
If you are running pCP as a player only then simply cutting the power should not cause a problem because pCP runs everything in memory and only writes out to storage when you ask it to (e.g. making a configuration change). However, it is unlikely that you would be using SSD in that configuration

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

2020-04-10 Thread squeezetux
Man in a van wrote: > @truscellino > > try these settings on the tweaks page > > 29676 > > ronnie Can I just understand what people's view is on cutting off the power via the plug having a PiZeroW with a WIfI Berry mini amp coupled to it. Will not cutting the wall plug damage the SSD card

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

2020-03-10 Thread truscellino
Man in a van wrote: > @truscellino > > try these settings on the tweaks page > > ronnie Yes - this works now. Thank you - much appreciated! Marc truscellino's Profile:

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

2020-03-10 Thread Man in a van
@truscellino try these settings on the tweaks page 29676 ronnie +---+ |Filename: piCorePlayer sabre dac power switch pins.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=29676|

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

2020-03-09 Thread truscellino
Hi everyone, I am new to PiCorePlayer. Looks very good. Just installed 6.0.0RC, upgraded in-situ to 6.0.0, on a rPi Model B+ with audiophonics I-sabre ES9023 DAC. This DAC provides power to the Pi and has an integrated power management board. I have a momentary switch (with LED) connected.

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

2020-02-26 Thread paul-
That is why I would do everything from the pi side. And use a power board to turn the pi on/off. Then the pi controls a relay that powers the amp on/off piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

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

2020-02-26 Thread corrobor
paul- wrote: > Unless your running a Zero, the USB port is likely not going to put out > enough to power the pi properly. You could use the 5 volt from the > USB to power a small relay, then run the normal wallwart power through > the relay. Many different ways to do it. Yes this Is a

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

2020-02-26 Thread paul-
Unless your running a Zero, the USB port is likely not going to put out enough to power the pi properly. You could use the 5 volt from the USB to power a small relay, then run the normal wallwart power through the relay. Many different ways to do it. piCorePlayer a small player for the

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

2020-02-26 Thread corrobor
I'm thinking to switch on Raspberry when I switch on my amplifier and switch off Raspberry when i switch down my amplifier. The Raspberry Is plugged to my amplifier by USB so all gpio Is free. My amplifier has a USB port free. I can plug a cable to have +5v when the amplifier Is on. And After

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

2020-02-25 Thread M-H
Rnee wrote: > I did. > > Could the button that I've used be a problem? > It's a reset button from a desktop, so not a sticky contact - or how you > call that. This is called a 'momentary switch' (https://www.tech-faq.com/momentary-switch.html) and is indeed the right way to make a short

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

2020-02-21 Thread Rnee
I did. Could the button that I've used be a problem? It's a reset button from a desktop, so not a sticky contact - or how you call that. pCP v5.0.0 on all players LMS 7.9.2 on Debian Buster server in a Linux Container RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite +

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

2020-02-05 Thread paul-
If you are using pins 3 or 5, you need to disable i2c as noted earlier. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

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

2020-02-05 Thread Rnee
Hi Paul! Pin 5 & 6. pCP v5.0.0 on all players LMS 7.9.2 on Debian Buster server in a Linux Container RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite), +27k titles on SMB share RPi B as dedicated player, connected over wifi with USB dongle RPi 2B as dedicated

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

2020-02-03 Thread paul-
How did you wire the button? What pins are you connected to? piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

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

2020-02-03 Thread Rnee
Hi guys, I tried this with a ZeroW and a reset button from a pc but couldn't get it to work. Any suggestions? TIA *Happy and healthy 2020!* pCP v5.0.0 on all players LMS 7.9.2 on Debian Buster server in a Linux Container RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite +

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

2019-05-08 Thread paul-
Cool. Glad it's working. 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

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

2019-05-08 Thread chill
paul- wrote: > Have you turned off i2c in your config.txt? That's fixed it, thanks for the suggestion. Completely reliable now. Code: #dtparam=i2c_arm=on,spi=on,i2s=on dtparam=i2c_arm=off,spi=on,i2s=on I have a couple of pCP devices

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

2019-05-08 Thread chill
I haven't! Didn't even know that was an option! chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109270

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

2019-05-08 Thread paul-
Have you turned off i2c in your config.txt? 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)

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

2019-05-08 Thread chill
In the case where I2C isn't being used for anything else, is there an obvious reason why the shutdown doesn't work 100% reliably with GPIO3? The hardwired resistor value of 1k8 is quite a lot lower than the value suggested for external pull-up resistors (e.g. 10k), and it's not possible without

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

2019-05-08 Thread paul-
GPIO3 is the only one that can work without a SHIM or power relay board. But as you noted, i2c runs on gpio3, so if you use i2c, or a DAC that uses i2c, then you cannot use it. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

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

2019-05-08 Thread chill
Moving a discussion over from 'here' (https://forums.slimdevices.com/showthread.php?107001-ANNOUNCE-SqueezeButtonPi-Tool-to-use-buttons-and-rotary-encoders-on-a-RPi=940053=1#post940053), to avoid spamming that sbpd thread with unrelated issues. Trying to use gpio-shutdown with GPIO3, so that a

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

2018-07-25 Thread paul-
Obviously we don't run systemd, but anything is possible. Listening to a GPIO pin is rather easy. And then integration of the overlays into our interface. Please drop us a PM or an email, and we can discuss the specifics. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage:

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

2018-07-25 Thread audiophonics
Hello, We are upgrading our power manager board to make it working with native gpio-poweroff and gpio-shutdown overlays instead of the python script you kindly integrated to Picore. We succeded to use these overlays under Volumio2 and Dietpi, so now we are looking to use them under Picore.