Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Ok Comboomer
Oct 20, 2007




Magnetic North posted:

This might be a weird question, but here goes: I have a Pi (I think it's a 3 or a 3+) that I don't use. A big part of why I didn't get into it was because it was a nuisance to have to physically plug and unplug the thing to turn it on and off. Well, I was reminded of it when I saw LGR do a video on a hobbyist mini computer which had a similar 'always powered' type thing. Well, he addressed that annoyance with a USB power adapter with an in-line power switch in it. I had no idea this sort of thing existed, though if I thought about it for even one femptosecond I should have realized that people could use those.

Before I grab something online, I got a few questions:
  • Do I need to know anything for compatibility before getting this, besides which USB end it has? My guess is no because USB is just an open standard and all it's doing is transferring power anyway.
  • This is more outside the scope of a Pi, but does anyone know if this alters the power consumption of leaving it plugged in all the time but off? I've been trying to not leave my device chargers stuck in walls to save energy both for my bill and the environment. However, this has been pretty inconvenient to keeping my phone charged, so I might consider getting something similar if it would actually be meaningfully different than the charges I already have.

You can also get switch extension cables that pop in in between your existing power supply and Pi. I got one of those for my Pi4 since I already had the brick. It’s great.

My advice is to google for one rated for your Pi. There’s tons out there marketed specifically for use with various rPis on Amazon and Adafruit and so forth, and tons that have been tried and reviewed for that purpose and will follow that search query, they’re like $4-10.

There’s always the risk of getting a counterfeit or faulty product, but shopping through a dedicated seller like Adafruit should cut down on that risk.

Regardless, any switch cable you buy should have a hundred reviews from rPi neckbeards telling you whether it’s good for you or not.

Ok Comboomer fucked around with this message at 10:45 on Nov 26, 2021

Adbot
ADBOT LOVES YOU

TVs Ian
Jun 1, 2000

Such graceful, delicate creatures.


Also, depending on what you're using the GPIO pins for, it's pretty simple to connect a button to two pins and run a script that will power it on and off that way. It technically goes into sleep mode and not a full power off, but it's barely using any power at that point.

DerekSmartymans
Feb 14, 2005

The
Copacetic
Ascetic


I got a RPi0 w from Canakit through Amazon last year for a Pihole. It came with a small hub and mini hdmi + mini usb power cord that has a on/off switch. It works wonderfully, except for lovely microsd cards dying. But that’s known, and I just pay >$5/mo for NextDNS now. It’s still plugged in, but turned off and I have an idea for it (with its wireless ability) but I’m still thinking of Raspbian questions for the Linux thread :actually:

AlternateAccount
Apr 25, 2005
FYGM

Hm, I am on my second camera now that doesn't work on my freshly flashed rpi0w, the red light just comes on constantly, and that's it. I've made sure the interface is enabled, tried 2 different flex cables, and now 2 different cameras. Can't think of what else I busted. I get one of two results.

code:
pi@zero:~ $ libcamera-hello
Preview window unavailable
[0:02:00.930221811] [588]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3156-f4070274
ERROR: *** no cameras available ***
or

code:
pi@zero:~ $ libcamera-hello
Preview window unavailable
[0:01:48.336878769] [536]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3156-f4070274
[0:01:48.579448627] [536]  INFO Camera camera.cpp:937 configuring streams: (0) 1296x972-YUV420
[0:01:48.581201660] [538]  INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt BG10 Score: 2067 (best 2067)
[0:01:48.582491685] [538]  INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt BG10 Score: 1849.67 (best 1849.67)
[0:01:48.584153717] [538]  INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt BG10 Score: 1500 (best 1500)
[0:01:48.585937751] [538]  INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BG10 Score: 3796 (best 1500)
[0:01:48.589264815] [538]  INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BA81 Score: 4796 (best 1500)
[0:01:48.592794882] [538]  INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt pBAA Score: 1567 (best 1500)
[0:01:48.593935904] [538]  INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt pBAA Score: 1349.67 (best 1349.67)
[0:01:48.594265911] [538]  INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt pBAA Score: 1000 (best 1000)
[0:01:48.594502915] [538]  INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt pBAA Score: 3296 (best 1000)
[0:01:48.595016925] [538]  INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected mode: 1296x972-pBAA
[0:01:48.704376021] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000
[0:01:48.709579120] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000
[0:01:48.713016186] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000
[0:01:48.714764220] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0
[0:01:48.717762277] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000
[0:01:48.718075283] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000
[0:01:48.718284287] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 0
[0:01:48.718463291] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:01:48.718659295] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0
[0:01:48.718835298] [542]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 3
[0:01:48.732734564] [538]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:01:48.734678602] [538]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:01:48.736305633] [538]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:01:48.738262670] [538]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:01:48.844736711] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (7 left)
[0:01:48.875740305] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (6 left)
[0:01:48.911524991] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (5 left)
[0:01:48.951532757] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (4 left)
[0:01:48.974999207] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (3 left)
[0:01:49.004085765] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (2 left)
[0:01:49.048374613] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (1 left)
[0:01:49.077263167] [538]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (0 left)

AlternateAccount
Apr 25, 2005
FYGM

OK now trying the same on an 3B+ and... I get the exact same result. Two cameras, two different cables, now two Pis, all the same result?

edit: something busted in the latest raspbian, it looks like. older releases work as expected. UGH.

AlternateAccount fucked around with this message at 04:57 on Dec 3, 2021

Warbird
May 23, 2012

America's Favorite Dumbass

Fun Shoe

They just put out a “retro” OS release today due in part to what you’ve been running into. Sounds like stretch wasn’t fully baked.

Malloc Voidstar
May 7, 2007

Fuck the cowboys. Unf. Fuck em hard.

quote:

If you want to add the legacy camera interfaces to Bullseye, please click your update icon in the taskbar to update. Then open a terminal (Ctrl-Alt-T) and type ‘sudo raspi-config’, go to ‘Interface Options’ and then ‘Legacy Camera’, and reboot. These camera interfaces are deprecated, and we are not supporting them going forwards.

Adbot
ADBOT LOVES YOU

AlternateAccount
Apr 25, 2005
FYGM

Does "legacy interfaces" in this context mean the actual hardware or the older various programming interfaces to use them?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply