Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get the screen and power button operating correctly. #26

Open
RNZB opened this issue Dec 5, 2023 · 14 comments
Open

Unable to get the screen and power button operating correctly. #26

RNZB opened this issue Dec 5, 2023 · 14 comments

Comments

@RNZB
Copy link

RNZB commented Dec 5, 2023

So it appears theres quite a bit of trouble getting the power button and the screen information to operate correctly. I had read @geerlingguy thread and tried everything that was mentioned there but the only way I can get the screen to show the information is to run ./display and it will only operate whilst that command is active. I have not been able to automatically run it in the background with the provided scripts. The power button just does nothing too. How do i get this stuff resolved??

@RNZB
Copy link
Author

RNZB commented Dec 5, 2023

I have resolved the screen issue. the power button i have still been able to get to work

@TiVoHomeUser
Copy link

I had a problem with the power button not working when using an Argon Fan HAT with it's own power button. There was a conflict with both using the same I/O pin7 (GPIO4).

@RNZB
Copy link
Author

RNZB commented Dec 6, 2023

Im wondering if that is my issue. i have a raspberry pi poe+ hat installed on it.

@Dion4cen
Copy link

Dion4cen commented Dec 6, 2023

Is it a phenomenon that the power button doesn't go off when pressed is it a phenomenon that exists with all 4? Can you send us the script to see what's wrong?

@RNZB
Copy link
Author

RNZB commented Dec 8, 2023

Yes tghe power button does not work on all 4 of the pi's and the script is exactly what you have in your git hub instructions. I have just copied and pasted it and added it to my config.txt file

@RNZB
Copy link
Author

RNZB commented Dec 11, 2023

Is there also a way you can dim the oled screen?

@Dion4cen
Copy link

Yes tghe power button does not work on all 4 of the pi's and the script is exactly what you have in your git hub instructions. I have just copied and pasted it and added it to my config.txt file

Hi
That is you have added "dtoverlay=gpio-shutdown,gpio_pin=4,active_low=1,gpio_pull=up" on the config file ?
Besides, if you want the button work, you also need to run the display demo.(./display) as the readme mentions.

@Dion4cen
Copy link

Is there also a way you can dim the oled screen?

Hi,
There is not a method to dim the oled sreen which doesn't support for this function.

@TiVoHomeUser
Copy link

Have you tried removing the POE hat and powering the Pi through the USB to see if the code works?

For dimming the display the colors can be adjusted for power off I set the colors to black in my branch.

@RNZB
Copy link
Author

RNZB commented Dec 13, 2023

I have got the display operating correctly but the off button still does not turn everything off. it does effect the screen though. it glitches a little and doesnt show all the information. the pi is still on. and yes that is exactlyy what i have in my config.txt file. im running the pi on a raspberrt pi poe hat. i dont want to take the hat off as thats how i will be powering them. in jeff geerlings video about the rm0004 he was running poe hats too and didnt have an issue.

@RNZB
Copy link
Author

RNZB commented Dec 19, 2023

So I got the power button working with the POE hat. The only issue left is that the oled screen doesn't completely lose power when the power button is pressed. It still remains illiminated with nothing on it.

@Adarack
Copy link

Adarack commented Jan 7, 2024

So I got the power button working with the POE hat. The only issue left is that the oled screen doesn't completely lose power when the power button is pressed. It still remains illiminated with nothing on it.

Could you please share how you got the power button working?

@Dion4cen
Copy link

So I got the power button working with the POE hat. The only issue left is that the oled screen doesn't completely lose power when the power button is pressed. It still remains illiminated with nothing on it.
Hi,
We used the official POE hat and did not have this problem. It is recommended that you use the official POE HAT, we can not guarantee whether the POE HAT of other manufacturers can work normally.

@WhirlyHat
Copy link

So I got the power button working with the POE hat. The only issue left is that the oled screen doesn't completely lose power when the power button is pressed. It still remains illiminated with nothing on it.

How did you get the power button to work? Pressing the power button for me turns the LED off but does not shut down the Raspberry PI. The power button's LED will not light up again until I remove power to the PI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants