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

Install script does not work on freshly loaded Raspbian. #2

Open
dp250f opened this issue Jan 20, 2018 · 17 comments
Open

Install script does not work on freshly loaded Raspbian. #2

dp250f opened this issue Jan 20, 2018 · 17 comments

Comments

@dp250f
Copy link

dp250f commented Jan 20, 2018

Install script does not work on freshly loaded Raspbian. After install, pressing button on the remote just cuts power to the Pie after about 2 seconds without shutting it down.

@nickfox-taterli
Copy link
Contributor

put your startup file in "/etc/rc.local" for us.

@dp250f
Copy link
Author

dp250f commented Jan 21, 2018

Which file is that specifically?

@yoyojacky
Copy link
Contributor

could you please tell me the steps that you've taken?

@yoyojacky
Copy link
Contributor

sudo sed '$i /etc/init.d/remoteswitch -s 24' /etc/rc.local
please execute this command on your raspberry pi's terminal.

@yoyojacky
Copy link
Contributor

it may be caused by the signal pin's status is not set, and i have already update the setup.sh script file and it will be ok.

@dp250f
Copy link
Author

dp250f commented Jan 31, 2018

setup.sh still doesn't work. I can't sudo sed '$i /etc/init.d/remoteswitch -s 24' /etc/rc.local because the file does not exist.
Please test your repository using a freshly loaded Rasberrian micro SD, following the instructions in README.md and you'll see the issues with it.

@dp250f
Copy link
Author

dp250f commented Mar 17, 2018

I tried again today and it still doesn't work. Here's the steps I took:
Installed Raspbian (downloaded it today from raspberrypi.org) on a new SD card, installed git, then installed RPB-HAT and it still doesn't shutdown before powering off.

@mgritsan
Copy link

Should the shutdown information appear on the screen? The fact is that raspberries turn off sharply, without information about shutdown. Installing the driver does not change anything. The LED "disk" is not lit.

@yoyojacky
Copy link
Contributor

@dp250f you may typing the wrong code.
sudo sed '$i /etc/init.d/remoteswitch -s 24' /etc/rc.local
and more information please refer to https://www.wiki.52pi.com/index.php?title=Power_Button_For_RPi_SKU:_EP-0077

@yoyojacky
Copy link
Contributor

@mgritsan which version of raspbian that you used to put on raspberry pi ? and is that pi 3 B+?

@yoyojacky yoyojacky reopened this Jun 6, 2018
@mgritsan
Copy link

mgritsan commented Jun 6, 2018

raspberry pi 3 model b. I purchased one more inclusion card and she finally earned it as needed. But then I connected the board with wires. And now it turns off again incorrectly

@mgritsan
Copy link

I did everything according to the instructions, I connected the board with separate wires. Raspberry turns on, but turns off incorrectly, abruptly, without commands on the screen.
The LED "Disk" flashes as expected.
The "Status" LED lights up after switching on.
The "Power" LED is off.

@yoyojacky
Copy link
Contributor

@mgritsan hi, it may caused by your wire, how long of the wire that you connect to the board?
and Could you please paste your /etc/rc.local and /boot/config.txt file here?

@mgritsan
Copy link

I understand many years have passed. Previously, everything worked. Reinstalled Raspbian 2019.11 and all the symptoms as before.
Pi3 model B. driver for Version 2.02 (board) silent installation indicated - curl -sSL git.io/vpqzF | bash. But the PWR LED is off. And raspberries abruptly turn off without writing on the "Power Of" screen as before.

@yoyojacky
Copy link
Contributor

I understand many years have passed. Previously, everything worked. Reinstalled Raspbian 2019.11 and all the symptoms as before.
Pi3 model B. driver for Version 2.02 (board) silent installation indicated - curl -sSL git.io/vpqzF | bash. But the PWR LED is off. And raspberries abruptly turn off without writing on the "Power Of" screen as before.

do you have any log when you execute this command : curl -sSL git.io/vpqzF | bash

@mgritsan
Copy link

do you have any log when you execute this command : curl -sSL git.io/vpqzF | bash

Unfortunately I can’t send a log anymore.
I installed Raspbian 2017 and everything worked fine right away. Without any problems, and all the LEDs blink and light up as they should. thanks

@yoyojacky
Copy link
Contributor

do you have any log when you execute this command : curl -sSL git.io/vpqzF | bash

Unfortunately I can’t send a log anymore.
I installed Raspbian 2017 and everything worked fine right away. Without any problems, and all the LEDs blink and light up as they should. thanks

OK, have fun~ we have developed other useful device such as UPS for raspberry pi ,you can check it out and have fun.

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

4 participants