Go to advanced search

by jcyr
Fri Sep 20, 2019 12:19 am
Forum: General discussion
Topic: Backlight blanking
Replies: 9
Views: 181

Backlight blanking

My monitor's back light doesn't turn off when the screen is blanked due to inactivity. Is that a function of the videocore firmware, and is fixing it on the TODO list?
by jcyr
Thu Sep 19, 2019 7:03 pm
Forum: General discussion
Topic: Small piwiz race condition (time sync)
Replies: 25
Views: 621

Re: Small piwiz race condition (time sync)

Ah, this takes me back to the systemd vs. init wars... This all would be so easy under init.
by jcyr
Thu Sep 19, 2019 7:01 pm
Forum: General discussion
Topic: Low voltage warning even though gpio being powered with 5.07V?
Replies: 33
Views: 1031

Re: Low voltage warning even though gpio being powered with 5.07V?

rin67630 wrote:
Thu Sep 19, 2019 5:43 pm
davidcoton wrote:
Thu Sep 19, 2019 4:42 pm
Great until you plug in a PSU with reversed voltage -- or the wrong voltage -- or both.
That is the very reason why I have the bucket converter in between.
Reverse voltage does not harm and no voltage between 6V and 36V is wrong...
What's a bucket converter??? :-)
by jcyr
Wed Sep 18, 2019 1:50 pm
Forum: General discussion
Topic: Small piwiz race condition (time sync)
Replies: 25
Views: 621

Re: Small piwiz race condition (time sync)

IMHO, desktop applications shouldn't make assumptions about whether the time is synchronised or which NTP client is used, which makes it a bit tricky to handle this particular case properly. Indeed it is a thorny problem, given that many will prefer NTP. There are plenty of cases where an app will ...
by jcyr
Wed Sep 18, 2019 1:46 pm
Forum: General discussion
Topic: Small piwiz race condition (time sync)
Replies: 25
Views: 621

Re: Small piwiz race condition (time sync)

Another option: /usr/lib/systemd/systemd-time-wait-sync Tried that... didn't work! The dependency seemed to be met as soon as the timesyncd service issued a "READY=1" indication to systemd, which it does as soon as it is initialized instead of when the time is actually synchronized. Might be wrong ...
by jcyr
Wed Sep 18, 2019 12:55 pm
Forum: General discussion
Topic: Small piwiz race condition (time sync)
Replies: 25
Views: 621

Re: Small piwiz race condition (time sync)

If you're using timesyncd here's simpler solution #!/bin/bash # Wait For Time Synchronization while [ ! -f "/run/systemd/timesync/synchronized" ] do echo -n "." sleep 1 done echo "Sync'd" I like your suggestion, but "/run/systemd/timesync/synchronized" is apparently a Buster addition and I have to ...
by jcyr
Wed Sep 18, 2019 1:15 am
Forum: General discussion
Topic: Small piwiz race condition (time sync)
Replies: 25
Views: 621

Re: Small piwiz race condition (time sync)

I really like your solution! I have found that you can restart systemd-timesyncd shortly after the desktop is up and get the clock synchronized much sooner. I really hope someone fixes the problem. Users shouldn't have to spin their wheels waiting for the O/S to be ready before running applications...
by jcyr
Wed Sep 18, 2019 1:06 am
Forum: General discussion
Topic: Installing Visual Studio Code
Replies: 10
Views: 277

Re: Installing Visual Studio Code

If I'm not mistaken, Visual Studio is a Microsoft product for MS Windows. As such, it is written for a different operating system that run on a different--and incompatible--hardware architecture. Visual Studio Code != Visual Studio Sure, just making sure the OP wasn't given the impression that inst...
by jcyr
Wed Sep 18, 2019 12:35 am
Forum: General discussion
Topic: Installing Visual Studio Code
Replies: 10
Views: 277

Re: Installing Visual Studio Code

If I'm not mistaken, Visual Studio is a Microsoft product for MS Windows. As such, it is written for a different operating system that run on a different--and incompatible--hardware architecture. Not quite, MS supports .deb packages for both 32 and 64 bit versions of Debian Linux on Arm. Unfortunat...
by jcyr
Mon Sep 16, 2019 5:39 pm
Forum: Beginners
Topic: Soldering
Replies: 22
Views: 477

Re: Soldering

Fine pitch surface mount soldering... looks kind of sloppy up close. Helps if you have a 3D microscope.
by jcyr
Mon Sep 16, 2019 4:37 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 22
Views: 1648

Re: Image File Utilities

Botspot wrote:
Mon Sep 16, 2019 1:36 pm
Milliways wrote:
Mon Sep 16, 2019 12:54 pm
Fix the Forum so that posts can be deleted.
Never done this personally, but I think you can flag your own post and tell the moderator you want it deleted.
Hmmm... I've never had any issues deleting my own posts! That's what the garbage can icon does...
by jcyr
Mon Sep 16, 2019 4:33 pm
Forum: Beginners
Topic: SDHC? Or just SD?
Replies: 13
Views: 345

Re: SDHC? Or just SD?

W. H. Heydt wrote:
Sun Sep 15, 2019 4:00 am
If you use Etcher, you don't have to unzip the Raspbian download.
Really? I didn't know that!
by jcyr
Mon Sep 16, 2019 4:26 pm
Forum: General discussion
Topic: Raspberry Pi4 bootloader update package
Replies: 54
Views: 3206

Re: Raspberry Pi4 bootloader update package

I would hope that people would consider that some of us are new to Raspberry Pi, Linux, etc., and things aren't as clear and easy to us as they are to those who have been here for quite some time. I'm trying my best to do the best i can with things and have managed a great deal so far and learned a...
by jcyr
Sun Sep 15, 2019 11:40 pm
Forum: C/C++
Topic: Output temp to Fahrenheit. Sub string hack but works
Replies: 4
Views: 157

Re: Output temp to Fahrenheit. Sub string hack but works

This also will work and is a little more portable #include <stdio.h> // Virtual system file that provides the CPU temperature #define TEMP_SYS_FILE "/sys/devices/virtual/thermal/thermal_zone0/temp" // Get current CPU temperature float getTemp(void) { FILE* ftemp = fopen(TEMP_SYS_FILE, "r"); if (ftem...
by jcyr
Sun Sep 15, 2019 11:28 pm
Forum: Beginners
Topic: Raspberry Pi 4 Fan
Replies: 7
Views: 249

Re: Raspberry Pi 4 Fan

Just got my 5v fan to my Raspberry Pi 4, and it`s loud like a jet engine Is it possible to connect it to the 3.3 v to get a lower speed? or will this result in damage of the board in any way? The fundamental problem being that the two 5v pins are next to each other, so anything that uses the first ...
by jcyr
Sun Sep 15, 2019 8:35 pm
Forum: Beginners
Topic: Raspberry Pi 4 Fan
Replies: 7
Views: 249

Re: Raspberry Pi 4 Fan

Noctua makes 40x10mm and 40x20mm 5V fans that are very quiet. They are a bit pricey, but Noctua fans are the best you can get. Agree about Noctua fan quality. Furthermore if you choose a 4 wire Noctua with PWM control, running it at 20-30% will be enough to keep a Pi4 below 80C. At that speed they ...
by jcyr
Sun Sep 15, 2019 6:09 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 22
Views: 1648

Re: Image File Utilities

How hard would it be to make this work for hybrid boot (/boot on SD, / on USB) with backup to CIFS share?
by jcyr
Sun Sep 15, 2019 5:28 pm
Forum: General discussion
Topic: Battery charger IC good for raspberry pi?
Replies: 5
Views: 208

Re: Battery charger IC good for raspberry pi?

Something like this https://www.adafruit.com/product/2465 might do if you don't need more than 1 AMP. As you can see designing one of these yourself is not trivial, and you'd likely not build it for less than $20.
by jcyr
Sun Sep 15, 2019 3:37 pm
Forum: General discussion
Topic: Raspberry Pi4 bootloader update package
Replies: 54
Views: 3206

Re: Raspberry Pi4 bootloader update package

I used a hex editor on my laptop. I believe there are complete instructions here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md Thanks jcyr, but that's not very helpful for someone who just wants to use a Pi and not have to learn to rewrite everything in hex. You prob...
by jcyr
Sat Sep 14, 2019 3:45 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 27
Views: 2349

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

I've disabled some of these mitigations on all my X86 boxes running Linux using the nospectre_v1, nospectre_v2, and nospec_store_bypass_disable kernel command line parameters. These mitigations degrade performance and I see no point in securing non mission critical processors sitting behind a pfSens...
by jcyr
Sat Sep 14, 2019 1:25 pm
Forum: General discussion
Topic: Raspberry Pi4 bootloader update package
Replies: 54
Views: 3206

Re: Raspberry Pi4 bootloader update package

I did the above update as stated. Since doing this whenever i shut down the Pi4 the monitor shuts off as usual but the Pi Ethernet light starts flashing continuously and the blue and red leds on my SSD stay on continuously - not flashing. I presume this means my Pi is not powering down properly any...
by jcyr
Fri Sep 13, 2019 2:24 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 529
Views: 135128

Re: Raspberry Pi 4 temperature

I have set my fan controller to keep the temp no higher that 70C in order to prevent throttling at 80C. Is there an issue with running at 70C for extended periods? I'd assumed not, but RPF guidance would be welcome.
by jcyr
Fri Sep 13, 2019 2:13 pm
Forum: General discussion
Topic: Raspberry Pi4 bootloader update package
Replies: 54
Views: 3206

Re: Raspberry Pi4 bootloader update package

I did the above update as stated. Since doing this whenever i shut down the Pi4 the monitor shuts off as usual but the Pi Ethernet light starts flashing continuously and the blue and red leds on my SSD stay on continuously - not flashing. I presume this means my Pi is not powering down properly any...
by jcyr
Fri Sep 13, 2019 2:01 pm
Forum: General discussion
Topic: 12v battery + 25 watt Solar = always powered 4B?
Replies: 17
Views: 526

Re: 12v battery + 25 watt Solar = always powered 4B?

dickon wrote:
Fri Sep 13, 2019 11:15 am
92m for wifi outside. I have an AP within ~15m of the greenhouse, albeit inside a set of bifolds.

As for BLE, that same AP can read a Ruuvitag BLE beacon in more or less the same spot quite happily.
Ditto, BLE at 10 meters going through single exterior wall.
by jcyr
Thu Sep 12, 2019 7:26 pm
Forum: General discussion
Topic: RPI 4 USB-C supply
Replies: 37
Views: 1286

Re: RPI 4 USB-C supply

Sure, if a 5V 'charger' doesn't regulate to 5V at advertised max. load then it is out of spec. I disagree. If the charger supplied with a device has adequate performance to charge the device's battery then it is not out of spec. That it might have "5V xA" on the label does not necessarily mean it i...

Go to advanced search