Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2021-06-06 Thread snaillybob
carsten_h wrote: > There are also different versions. Do you have a jumper on the board? Sorted - thanks for your help :) snaillybob's Profile: http://forums.slimdevices.com/member.php?userid=69363 View this thread: http

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2021-06-06 Thread carsten_h
snaillybob wrote: > I have the original v1 Argon case There are also different versions. Do you have a jumper on the board? pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon one case pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with squeezlite/jivelite for hifiber

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2021-06-06 Thread snaillybob
carsten_h wrote: > Which version of the Argon Case do you have? On the newer ones there > should be a jumper on the board where you can set this. This is > documented on page 6 of the Argon One v2 instructions. I have the original v1 Argon case

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2021-06-03 Thread carsten_h
snaillybob wrote: > Do I just add this as a user command in the tweaks page of PiCorePLayer, > or is that a little naive? Which version of the Argon Case do you have? On the newer ones there should be a jumper on the board where you can set this. This is documented on page 6 of the Argon One v2

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2021-06-03 Thread snaillybob
I understand that there is an i2c command to enable the automatic power on of the Pi4/Argon case after a power cut. It is i2cset -y 1 0x01a 0xfe. Do I just add this as a user command in the tweaks page of PiCorePLayer, or is that a little naive? ---

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread rgro
carsten_h wrote: > Ok, then you find the How To here: '[How To] Using the Argon One case > for the Pi 4B together with piCorePlayer (7.x)' > (https://forums.slimdevices.com/showthread.php?113575-How-To-Using-the-Argon-One-case-for-the-Pi-4B-together-with-piCorePlayer-(7-x)&p=1002008&viewfull=1#p

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread carsten_h
rgro wrote: > I've already got Putty on my PC. I have very rudimentary knowledge of > how to use it, but I do know how to get connected with my devices and, > if I have the proper commands and what order to run them in, I may be > able to do this. Ok, then you find the How To here: '[How To] U

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread rgro
carsten_h wrote: > That is good! > > > > It's only that you have to connect one time to the Pi and create (copy) > a file. That connection has to be made on the Mac with the Terminal > which is included into macOS. On the PC you have to install software for > this task eg. Putty. But that is

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread carsten_h
kidstypike wrote: > Pi/4/4GB running LMS it hardly gets above 40ºC That's the same here, so the fan isn't running and I think it don't have to run at this temperatures. Only when I am scanning the whole library again it is getting near 50ºC. pi4 4gb picoreplayer with lms and squeezelite for u

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread carsten_h
rgro wrote: > No problem to wait That is good! rgro wrote: > but I have only a PC, so that might be a problem, for now. It's only that you have to connect one time to the Pi and create (copy) a file. That connection has to be made on the Mac with the Terminal which is included into macOS. On

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread rgro
carsten_h wrote: > If you can wait one or two days, I can write one in a new thread with > pictures and so on. > The fan is something I switch on really late (temperature >55 degrees > Celsius) because it is loud. And I think the temperatures below 55 > degrees Celsius are Ok. > What really is c

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread kidstypike
carsten_h wrote: > If you can wait one or two days, I can write one in a new thread with > pictures and so on. > The fan is something I switch on really late (temperature >55 degrees > Celsius) because it is loud. And I think the temperatures below 55 > degrees Celsius are Ok. > What really is co

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-31 Thread carsten_h
rgro wrote: > if there is step-by-step procedure that I could follow, I'm certainly > willing to give it a try. I'm probably not the only one that'd > appreciate knowing how to do this... If you can wait one or two days, I can write one in a new thread with pictures and so on. The fan is somet

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-12-30 Thread rgro
Resurrecting an old thread. I recently purchased the Argon One V2 case along with my RPI 4. I'm running the RPI 4 with piCorePlayer as an LMS server with an attached SSD. It would be really cool to be able to run Argon One fan/temperature control functionality. I read through this thread and,

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread paul-
a491765 wrote: > Thank you a lot for you help Paul (as always !) > The original script from Argon for Raspbian Os does it well, do you > think the answer could be here ? Raspbian has hooks into the shutdown system, that we don't have in our bare bones OS.just push the button on the powe

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread a491765
paul- wrote: > The linux shutdown command doesn't manage the power boards. Typically > the powerboard monitors the gpio, and then drops power when done, I have > no idea about this powerboard. Thank you a lot for you help Paul (as always !) The original script from Argon for Raspbian Os does

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread paul-
a491765 wrote: > I don't use fan because my rpi never reach more than 40-42 ° standard > settings are ok for me. > > Thanks for help i add both user command (attached image) Am I right this > way ? > > 29369 > > Last question : when i click shutdown from pcp main page the sytem > shutdown but

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread a491765
carsten_h wrote: > On the Diagnostic page there is a "Raspberry Pi" option. There you can > also see the actual temperature. > > And you have to use > > Code: > > sudo modprobe i2c-dev > > > as the first user command! > > If you want to change the

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread paul-
Post the output of what it says when you try to run it. 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_don

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread carsten_h
paul- wrote: > There is a temperature graph option on the Extras pages. On the Diagnostic page there is a "Raspberry Pi" option. There you can also see the actual temperature. And you have to use Code: sudo modprobe i2c-dev as the first user com

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread a491765
paul- wrote: > There is a temperature graph option on the Extras pages. I know but i prefere using ssh command, more user-friendly in my use a491765's Profile: http://forums.slimdevices.com/member.php?userid=69801 View t

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread paul-
There is a temperature graph option on the Extras pages. 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_do

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-02-13 Thread a491765
Hi, I need some help using the script. I have this case too !! (amazing by the way) - I have installed the both package from extensions page in PCP - Created a textfile and copy the script from Paul rename it argononed.py - Transfert it to /home/tc with filezilla - Add python3 /home/tc/argonone

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-28 Thread carsten_h
Paul Webster wrote: > You probably have to install rpi-vc.tcz Yes, I found it two minutes ago. This package was under uninstalled packages, but I don't know why? When I first tried the script it has been working, so something has uninstalled it. The only thing I changed was the gpio-handler for

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-28 Thread Paul Webster
You probably have to install rpi-vc.tcz PCP web interface/Main/Extensions/Available install it and then reboot Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://f

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-28 Thread carsten_h
Aldoszx wrote: > Have you tried to chmod 775 the argononed.py script? Yes, I did this when creating it. I tried vcgencmd on the shell and also with sudo and I always get "not found". So there must be something missing. I will search which part includes vcgencmd. -

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-28 Thread Aldoszx
carsten_h wrote: > I changed the second user script to "sudo python3 > /home/tc/argononed.py", but I am still getting the message that vcgencmd > is not found. > Should I change the call: > > Code: > > temp = os.popen("vcgencmd measure_temp").readline()

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-28 Thread carsten_h
paul- wrote: > The script has to run with root permissions, as it make a call to > vcgencmd, which requires it. I changed the second user script to "sudo python3 /home/tc/argononed.py", but I am still getting the message that vcgencmd is not found. Should I change the call: Code: -

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-27 Thread carsten_h
Aldoszx wrote: > If I am not mistaken Yes, that works! Thank you! carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 View this thread: http://forums.slimdevices.com/showthread.php?t=111546 __

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-27 Thread Aldoszx
If I am not mistaken, reboot could be done by double tapping the power button. It worked for me, at least. Aldoszx's Profile: http://forums.slimdevices.com/member.php?userid=69750 View this thread: http://forums.slimdevice

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-27 Thread carsten_h
carsten_h wrote: > Regarding the switching off via the powerbutton. Is it possible to see > online without a display attached to see if "pcb rb" or "pcp sd" is > executed? Maybe via tail -f .log? Today I got a Micro HDMI to HDMI cable and could test the output of piCorePlayer. So I can say

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-27 Thread carsten_h
paul- wrote: > Correct. Ok. That is easy. The LMS is running now without any problem and the Pi 4 runs at 45°C, which is Ok I think. Even if I build the database new the temperature stays at this value. The last two times the file systems are clean after switching off via powerbutton. Regardin

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-26 Thread paul-
carsten_h wrote: > What is the correct ist way to do it? Only switching to > „No“.? Correct. 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

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-26 Thread carsten_h
paul- wrote: > Yes, remove the shutdown overlay and the shutdown monitor extension. What is the correct ist way to do it? Only switching to „No“.? carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread Aldoszx
Thank you ! Aldoszx's Profile: http://forums.slimdevices.com/member.php?userid=69750 View this thread: http://forums.slimdevices.com/showthread.php?t=111546 ___ unix mailing lis

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread paul-
Yes, remove the shutdown overlay and the shutdown monitor extension. The python script should call “pcp rb” for a reboot. Or “pcp sd” for shutdown. Drives should be unmounted, but exfat is an odd file system. It doesn’t have direct kernel support. piCorePlayer a small player for the Raspb

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread carsten_h
Aldoszx wrote: > The shutdown button must be ON, in order to define the GPIO pin for > shutdown. If I look into the script, I find the following line: Code: GPIO.setup(shutdown_pin, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) So I think the correct set

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread Aldoszx
carsten_h wrote: > > The gpio-shutdown script from the tweaks page will be deleted when I set > this to "No"? > I am only asking because the shutdown button is still shutting down so > that the USB drives are not cleanly dismounted. I think you only should uninstall the extension. The shutdown

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread carsten_h
paul- wrote: > The script has to run with root permissions, as it make a call to > vcgencmd, which requires it. Which script? The argononed.py? I wrote another temperature entry inside the py script, as my Pi was only 46°C and now the fan is running. *Thank you very much for your help!* The gp

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread Aldoszx
paul- wrote: > Yes you need to load i2c-dev before starting the script. The script > has to run with root permissions, as it make a call to vcgencmd, which > requires it. Thanks Paul ! Now it is working ! The fan also is on, according to temp settings ! -

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread paul-
carsten_h wrote: > Ok. I did it. Do we have to do it every time after boot? Then I would > start it in the script. > > Then I get this error: > > Code: > > Exception in thread Thread-2: > Traceback (most recent call last): > File "/usr/local/lib/python3.6/threading

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread carsten_h
paul- wrote: > sudo modprobe i2c-dev Ok. I did it. Do we have to do it every time after boot? Then I would start it in the script. Then I get this error: Code: Exception in thread Thread-2: Traceback (most recent call last): File "/usr/local/lib/python3.6/threadin

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread paul-
You need to manually load the i2c-dev module. This does not load automatically. sudo modprobe i2c-dev 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

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread Aldoszx
I think i2c-tools is missing ! Aldoszx's Profile: http://forums.slimdevices.com/member.php?userid=69750 View this thread: http://forums.slimdevices.com/showthread.php?t=111546 _

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread carsten_h
Aldoszx wrote: > Trying to run "python3 /home/tc/argononed.py" from ssh got me this:> > > > > > > That is the same as I got. I have a Pi 4, so normally I would think that > > the line: > > bus = smbus.SMBus(0) > > would be called. -

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread Aldoszx
Thanks Paul for the script. The shutdown works. Unfortunately, the fan does not start. I have changed the temperature threshold but no luck. Maybe I am doing something wrong or something is missing. Aldoszx's Profile: http

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread carsten_h
paul- wrote: > First, remove the shutdown monitor and don't use that on the tweaks > pagethis script will do all of it a different way. > > I have uploaded the dependencies to our repo Wow, that is great! Thank you very much for your work! I will test it as fast as I can. I saw a file: "et

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread paul-
I have uploaded the dependencies to our repo smbus-python3.6.tcz RPi-GPIO-python3.6.tcz Install them from the extensions web page. This is the actual script, save it to your home directory as /home/tc/argononed.py Then put in the user commands on the pcp tweaks page. python3 /home/tc/argonon

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread carsten_h
paul- wrote: > Then shutdown is working. Sure? Ok. If you say it, then it have to. paul- wrote: > I’ll check out the fan speed dependencies, they should all be > availiable. Thank you! paul- wrote: > how many times do you Just pull the stick from your Mac, vs ejecting it? Never! I alway

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-25 Thread paul-
Then shutdown is working. I’ll check out the fan speed dependencies, they should all be availiable. As for the disk mount errors, the dirty bit is set, it could have come from anywhere. It’s mostly harmless, how many times do you Just pull the stick from your Mac, vs ejecting it? You’ll hav

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-24 Thread carsten_h
I did not run those scripts, I only tried to understand how they work. Yes, the Pi is shutting down and yes I installed the shutdown monitor. carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 Vie

Re: [SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-24 Thread paul-
First, do not try to run those scripts directly.remove anything you have tried. Lets talk about shutdown first. If you just configure the shutdown tweak the way you did it, does the device shutdown? Did you install the shutdown-monitor extension? piCorePlayer a small player for the Ra

[SlimDevices: Unix] Using Argon One case with fan and powerbutton together with piCorePlayer?

2020-01-24 Thread carsten_h
Hello! This is a new thread for the question how to use the fan and the powerbutton of the Argon One case together with piCorePlayer. Let's start at the beginning. I want to use a Raspberry Pi 4 as a LMS server with the piCorePlayer installation. This will be no problem. I want to place this in