Posted by: blindowl on 2023-02-28 06:32:53Anyone else using a PiSCSI/RaSCSI mounted internally, powered by the Mac?
Two things:
the shutdown process. When I shutdown the Mac, the RPi will also turn off, abruptly, and possibly corrupt the SD card. If I shutdown the Pi first, while the Mac is running, the Mac will freeze. What’s best practice here, I guess option 2? But annoying with the extra step just to shutdown the Mac safely.
Using the Mac’s HDD activity LED, has anyone got that working? I’ve connected the LED to the pins on the PiSCSI — but nothing, no activity. I’ve verified that the LED itself is working.
Posted by: Phipli on 2023-02-28 06:41:31
the shutdown process. When I shutdown the Mac, the RPi will also turn off, abruptly, and possibly corrupt the SD card. If I shutdown the Pi first, while the Mac is running, the Mac will freeze. What’s best practice here, I guess option 2? But annoying with the extra step just to shutdown the Mac safely.
You can get shields for the Pi that have battery or a large capacitor to allow them to shut down correctly. They detect the loss of power and start the process (when set up correctly).
Using the Mac’s HDD activity LED, has anyone got that working? I’ve connected the LED to the pins on the PiSCSI — but nothing, no activity. I’ve verified that the LED itself is working.
Have you got the polarity right?
Posted by: blindowl on 2023-02-28 06:49:21
You can get shields for the Pi that have battery or a large capacitor to allow them to shut down correctly. They detect the loss of power and start the process (when set up correctly).
Oh, interesting! I didn’t know about such thing. Will look it up!
Have you got the polarity right?
Honestly, I haven’t tried the other way around. Only verified ground and made sure the black cable from the LED connected to it. Should be correct but I guess I need to try…
Posted by: avadondragon on 2023-02-28 09:34:01I've been wondering this same thing and not wanting to mount one internally because of it. So far I've just been making sure to use an external power source plugged into the USB to keep the pi running. But I really want to add one to a powerbook for some coffeeshop computing fun.
You can get shields for the Pi that have battery or a large capacitor to allow them to shut down correctly. They detect the loss of power and start the process (when set up correctly).
That's awesome. Do you happen to know what to call the device or have a link? I've had trouble finding such a thing.
Posted by: 3lectr1cPPC on 2023-02-28 10:10:35Hmm. I’ve always just pulled the plug on my PiSCSI when I’m done using it, for over a year now with no corruptions.
Posted by: Phipli on 2023-02-28 10:52:06
I've been wondering this same thing and not wanting to mount one internally because of it. So far I've just been making sure to use an external power source plugged into the USB to keep the pi running. But I really want to add one to a powerbook for some coffeeshop computing fun.
That's awesome. Do you happen to know what to call the device or have a link? I've had trouble finding such a thing.
DFRobot Raspberry Pi UPS HAT is an uninterruptable power supply shield for the Raspberry Pi. With the addition of your own 3.7V Lithium battery, it can provide a steady 2A power source to your Raspberry Pi for an extended period of time when the system is powered off, to avoid system damage and...
Free delivery and returns on eligible orders. Buy Raspberry Pi UPS Power Supply Uninterruptible UPS HAT 18650 Battery Charger Power Bank Power Management Expansion Board 5V for Raspberry Pi 4 Model B / 3B + / 3B at Amazon UK.
Note NOT supports software safe shutdown. Do not apply power to your Raspberry Pi 4 via the Type-C socket. Please use high quality power supply, the low quality power supply will generate surge Voltage, which will damage the board chip. we recommend Panasonic brand NCR18650BD 18650 lithium...
geekworm.com
Things like these
Posted by: Phipli on 2023-02-28 10:53:18
Hmm. I’ve always just pulled the plug on my PiSCSI when I’m done using it, for over a year now with no corruptions.
That isn't great. I'd wire in a shutdown button.
Posted by: 3lectr1cPPC on 2023-02-28 10:55:30How would one do that? PiSCSI board is hooked up to a Pi 3B
Posted by: Phipli on 2023-02-28 11:01:54
How would one do that? PiSCSI board is hooked up to a Pi 3B
Find an unused I/O pin and wire in a pull up resistor and leads to a button. I'm sure they haven't used up every pin.
You can tack wires to the back of pin headers.
Or, just use a http get widget on your phone and... what's it called? Flask? A little Web server thing in python.