geeekpi / RPB-HAT

This is Remote power button, it's brand new, and it's for the Nintendo Case, you can use it turn on/off your Raspberry Pi.
6 stars 1 forks source link

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

Open dp250f opened 6 years ago

dp250f commented 6 years ago

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 commented 6 years ago

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

dp250f commented 6 years ago

Which file is that specifically?

yoyojacky commented 6 years ago

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

yoyojacky commented 6 years ago

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

yoyojacky commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@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 commented 6 years ago

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

mgritsan commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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.