Go to advanced search

by PeterO
Thu Feb 27, 2020 11:36 am
Forum: C/C++
Topic: Unknown Target Error : Raspberry pi
Replies: 2
Views: 67

Re: Unknown Target Error : Raspberry pi

Clearly you aren't using the provided make files! You seem to be trying to just compile a single c source file without using the Makefiles which set up the correct environment. I had to add "#include <stdlib.h>" to samples/common/remote_at.c to make it compile Built ok on X86-64 Mint desktop and on ...
by PeterO
Thu Feb 27, 2020 11:20 am
Forum: Troubleshooting
Topic: pi 4 original firmware hash
Replies: 10
Views: 201

Re: pi 4 original firmware hash

There is always the possibility of a loose connector. I've noticed the USB sockets on my PI4 seem to allow the USB plugs to wobble about more than the socket on a Pi3 I used for comparison.

PeterO
by PeterO
Thu Feb 27, 2020 10:50 am
Forum: Troubleshooting
Topic: pi 4 original firmware hash
Replies: 10
Views: 201

Re: pi 4 original firmware hash

Most likely a power supply problem. Voltage dips as extra load of new USB device is added and it droops below the SSD's lower limit.

Are there any messages in /var/log/syslog ?

What PSU are you using and what else is plugged into your PI on GPIO or USB ?

PeterO
by PeterO
Thu Feb 27, 2020 9:04 am
Forum: Python
Topic: Python socket: trying to receive a new TCP message within a while loop
Replies: 3
Views: 90

Re: Python socket: trying to receive a new TCP message within a while loop

I have couple of suggestions... Set the socket option so that the socket can be reused (makes debugging much easier) srv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) srv.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR, 1) To recognise strings I had to use test = sendString.strip() if test ==...
by PeterO
Wed Feb 26, 2020 9:16 pm
Forum: Python
Topic: Python socket: trying to receive a new TCP message within a while loop
Replies: 3
Views: 90

Re: Python socket: trying to receive a new TCP message within a while loop

The thing that crosses my mind is "Is the socket blocking or non-blocking ?"

Can show the code that opens and configures the socket ?

Actually I think it must be non-blocking....

How do you know if it is not getting the stop message, or is it not recognising it ?


PeterO
by PeterO
Wed Feb 26, 2020 6:42 pm
Forum: Troubleshooting
Topic: import tkinter as tkinter ImportError: No module named tkinter
Replies: 5
Views: 91

Re: import tkinter as tkinter ImportError: No module named tkinter

Ryangg wrote:
Wed Feb 26, 2020 6:38 pm
python gaurr_interface.py

try "python3 gaurr_interface.py"

PeterO
by PeterO
Wed Feb 26, 2020 5:25 pm
Forum: Advanced users
Topic: Optimizing boot time of Pi Zero W
Replies: 14
Views: 302

Re: Optimizing boot time of Pi Zero W

jahboater wrote:
Wed Feb 26, 2020 5:11 pm
He was asking "how" to disable the services, not "which ones" he should disable.
Maybe but there's not enough info to tell either way !
PeterO
by PeterO
Wed Feb 26, 2020 4:57 pm
Forum: Advanced users
Topic: Optimizing boot time of Pi Zero W
Replies: 14
Views: 302

Re: Optimizing boot time of Pi Zero W

Without knowing what you what to use it for it's imppossible to say which services are "non-needed".

For example:
You could disable all the WiFi related services, but if you need to use WiFi that would make it useless !

PeterO
by PeterO
Wed Feb 26, 2020 1:24 pm
Forum: Troubleshooting
Topic: pi 4 original firmware hash
Replies: 10
Views: 201

Re: pi 4 original firmware hash

jamesh wrote:
Wed Feb 26, 2020 1:14 pm
stripe wrote:
Wed Feb 26, 2020 1:01 pm
thanks jamesh, I will try the latest firmware, but I was looking to roll the firmware back to the original version
thanks mate
Don
Why? The latest version is much better.
Maybe they are trying to work out how much better 8-)
PeterO
by PeterO
Wed Feb 26, 2020 1:21 pm
Forum: Off topic discussion
Topic: Single board computers with 16 GB of RAM are coming
Replies: 10
Views: 313

Re: Single board computers with 16 GB of RAM are coming

takyon wrote:
Wed Feb 26, 2020 1:16 pm
I'm sure there could be a lively discussion about smartphones or other mobile devices being sold with 16 GB of RAM.
I doubt it. This forum is provided by the Raspberry Pi folks for us use and talk about things related to their products.
They don't make mobile phones :roll:
PeterO
by PeterO
Wed Feb 26, 2020 1:05 pm
Forum: Off topic discussion
Topic: Single board computers with 16 GB of RAM are coming
Replies: 10
Views: 313

Re: Single board computers with 16 GB of RAM are coming

That is not the original title I had on the post that I had spent 20 minutes writing up. It was just a list of links to smartphones if I remember. There was no Pi related content at all, in fact it just looked like click-bait from a phone supplier ! What I want I was always told "I want never gets!...
by PeterO
Mon Feb 24, 2020 8:30 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 331
Views: 44816

Re: New Pi 4B v1.2?

chwe wrote:
Mon Feb 24, 2020 8:24 pm
Most release full schematics of their boards which makes it possible to figure out stuff on your own when needed (mostly interesting for power trees).
And just now many units have these other manufacturers sold ? The market has spoken and it doesn't support your thesis ! :lol:

PeterO
by PeterO
Mon Feb 24, 2020 3:13 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 331
Views: 44816

Re: New Pi 4B v1.2?

The news is out... https://hackaday.com/2020/02/23/raspberry-pi-slips-out-new-pcb-version-with-usb-c-power-fix/ https://www.cnx-software.com/2020/02/24/raspberry-pi-4-rev-1-2-fixes-usb-c-power-issues-improves-sd-card-resilience/ Strange that a board revision get a lot less publicity !! It's really ...
by PeterO
Mon Feb 24, 2020 12:22 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 331
Views: 44816

Re: New Pi 4B v1.2?

I bought 2 Pi 4s right after they went on sale. I have to say the power supply design is a mess, and I don't like the attitude of some folks here from the foundation. There are many Pi-like SBCs did better jobs and those companies usually respond to their customers and fix issues a lot more activel...
by PeterO
Mon Feb 24, 2020 9:55 am
Forum: Beginners
Topic: What are the advantages and disadvantages of Arduino and Raspberry Pi?
Replies: 12
Views: 335

Re: What are the advantages and disadvantages of Arduino and Raspberry Pi?

The fact that there are projects that use them both should make it obvious that your question is meaningless without more information about what you are trying to do.
PeterO
by PeterO
Mon Feb 24, 2020 6:52 am
Forum: General discussion
Topic: Programming two monitors with Raspberry pi 4
Replies: 5
Views: 134

Re: Programming two monitors with Raspberry pi 4

With two monitors the desktop spans both, so you can position the windows so they are displayed on the two screens.

Google for "tkinter window geometry" to get some ideas how to do this.

PeterO
by PeterO
Sun Feb 23, 2020 8:53 pm
Forum: Python
Topic: Detecting Key Press No Window or Wait
Replies: 3
Views: 121

Re: Detecting Key Press No Window or Wait

Hi. I want to detect a key press, without a window, or for it to wait until a key is pressed. I need this to be cross platform, and I need to be able to run it without being root. Thank you. You need to provide much more context before anyone can make any meaningful suggestions. Which key ? Any key...
by PeterO
Sat Feb 22, 2020 6:19 pm
Forum: C/C++
Topic: N46 controller
Replies: 4
Views: 155

Re: N46 controller

I think that is an "old style" interface....
PeterO
by PeterO
Sat Feb 22, 2020 6:10 pm
Forum: General discussion
Topic: Raspberry Pi Zero: please use with a CPU cooler!
Replies: 29
Views: 974

Re: Raspberry Pi Zero: please use with a CPU cooler!

I think you are mixing up
"throttling" due to high temperature
and
"scaling" by the ondemand governor.

PeterO
by PeterO
Sat Feb 22, 2020 4:35 pm
Forum: C/C++
Topic: N46 controller
Replies: 4
Views: 155

Re: N46 controller

ISTR using libevdev is the way to do it.
PeterO
by PeterO
Fri Feb 21, 2020 12:03 pm
Forum: General discussion
Topic: Raspberry PI 4 - USB Boot
Replies: 37
Views: 1610

Re: Raspberry PI 4 - USB Boot

rjbook51 wrote:
Fri Feb 21, 2020 11:49 am
"Wait" is a four letter word.
What are you alluding to here ?
PeterO
by PeterO
Fri Feb 21, 2020 11:15 am
Forum: General discussion
Topic: Of canaries and backdoors
Replies: 15
Views: 566

Re: Of canaries and backdoors

gordon77 wrote:
Fri Feb 21, 2020 11:13 am
i thought from the title it was someone who had canaries who wanted a detector to know if the backdoor was open ;)
Which ironically would have been much more "On topic" :lol:
PeterO
by PeterO
Fri Feb 21, 2020 11:14 am
Forum: General discussion
Topic: Of canaries and backdoors
Replies: 15
Views: 566

Re: Of canaries and backdoors

jamesh wrote:
Fri Feb 21, 2020 11:10 am
, and never had any 'gag' orders.
That's assuming they don't contain a "Do not admit to having received this gagging order" clause :lol:
PeterO
by PeterO
Fri Feb 21, 2020 11:06 am
Forum: General discussion
Topic: Raspberry PI 4 - USB Boot
Replies: 37
Views: 1610

Re: Raspberry PI 4 - USB Boot

jamesh wrote:
Fri Feb 21, 2020 11:02 am
I wonder if I should create a sticky post with exactly that in it to save all these questions.
There's no point James! I seems that even people that have "seen lots of discussions" clearly don't actually read them !

PeterO
by PeterO
Thu Feb 20, 2020 7:13 pm
Forum: General discussion
Topic: Came with my Pi 4 kit
Replies: 4
Views: 184

Re: Came with my Pi 4 kit

"slightly dodgy to back up the running OS, though" Not dodgy if you use the raspbian SD card copier ? I would hope not, but does the SDCard Copier guarantee not to read things as they change? I have always thought this problem was fairly fundamental. The sort of thing that we used to take systems d...

Go to advanced search