Go to advanced search

by PeterO
Fri Aug 23, 2019 1:45 pm
Forum: Python
Topic: python 2 end of life
Replies: 9
Views: 362

Re: python 2 end of life

Surely this is an issue for Debian to be sorting out ?
PeterO
by PeterO
Fri Aug 23, 2019 11:38 am
Forum: Device Tree
Topic: Fan overlay working with Pimoroni fan shim
Replies: 4
Views: 93

Re: Fan overlay working with Pimoroni fan shim

DougieLawson wrote:
Fri Aug 23, 2019 11:19 am
Does Pimoroni document that on their website? If not you may want to tweet this to them.
Already done so Dougie...
PeterO
by PeterO
Fri Aug 23, 2019 9:58 am
Forum: Device Tree
Topic: Fan overlay working with Pimoroni fan shim
Replies: 4
Views: 93

Fan overlay working with Pimoroni fan shim

I now have a Pimoroni fan shim fitted which uses pin 18 , so I added

Code: Select all

 dtoverlay=gpio-fan,gpiopin=18,temp=65000
and it just works :-)
Now I'm sitting here wasting time watching it start and stop 8-) :lol:
PeterO
by PeterO
Thu Aug 22, 2019 10:00 pm
Forum: Troubleshooting
Topic: RPi 3 not booting after updates
Replies: 13
Views: 248

Re: RPi 3 not booting after updates

It helps with slower pis installing updates quicker. Just a trick to help speed up the installation, not a solution to the problem. Overclocking prior to getting a stable system up and running and backed up is a terrible idea. Not really. Yes, really ! As long as it's a stable overclock, And therei...
by PeterO
Thu Aug 22, 2019 6:08 pm
Forum: Raspbian
Topic: dd takes so long...
Replies: 31
Views: 60187

Re: dd takes so long...

Took like 30 minutes, maybe less. Top said it was stuck, but after watching it for a while, I noticed it was running; just flipping back and forth. Ctrl-t will send it an info signal that should give you an idea of how much it's done For the dd man page Sending a USR1 signal to a running 'dd' proce...
by PeterO
Thu Aug 22, 2019 5:48 pm
Forum: Troubleshooting
Topic: unable to Install 32bits glibc library
Replies: 2
Views: 51

Re: unable to Install 32bits glibc library

Actually they say

Linux Hardware Requirements

Intel Pentium 4 (2 GHz CPU or higher)
1 GB of RAM
7 GB of free space on the hard disk
So you're out of luck on a PI :-(

PeterO
by PeterO
Wed Aug 21, 2019 4:15 pm
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 68
Views: 2220

Re: Permanently disable swap on Raspbian Buster

But it's more work. And the full desktop is correctly configured. It saves time to go the other way around. The fact that I can get from Raspbian Lite to a fully working Mate desktop in 5 commands, without messing with one unmet dependency or having to edit and compile anything is amazing. Even bri...
by PeterO
Wed Aug 21, 2019 12:52 pm
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 68
Views: 2220

Re: Permanently disable swap on Raspbian Buster

You have a rather odd way of doing things. If you want bare bones either get a stripped tiny OS or just start with Raspbian Lite and add only the cmdline apps you absolutely need. Starting with a distro with X and a desktop and trying to strip it out without breaking stuff is a total pita. If you a...
by PeterO
Wed Aug 21, 2019 8:41 am
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 219
Views: 30975

Re: Raspberry Pi 4 usb boot?

jamesh wrote:
Wed Aug 21, 2019 8:19 am
Gavinmc42 wrote:
Wed Aug 21, 2019 12:58 am
That is just wrong..... in my opinion.
And mine, smacks of cutting of nose to spite face.
OI ! That's my line :lol:
https://www.raspberrypi.org/forums/view ... 0#p1522461

PeterO
by PeterO
Tue Aug 20, 2019 4:28 pm
Forum: General discussion
Topic: Modding 1gig PI4B, with 8gb or 16gig ram chip
Replies: 18
Views: 892

Re: Modding 1gig PI4B, with 8gb or 16gig ram chip

according to the official raspberry pi 4b video, compatible 8g and 16g chips exist, its just the price is up there. Where does it say that? I've looked at all the major manufacturers and none of them list a 8GB or 16GB part that is LPDDR4 and has the same package + pinout. If the pinout is differen...
by PeterO
Tue Aug 20, 2019 2:34 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 219
Views: 30975

Re: Raspberry Pi 4 usb boot?

I wouldn't get involved with RPi computers until it had 1GB ram & USB boot, that's why my first was a RPi3B, had to borrow & use a microSD card to 'fix' it, but after that all mine boot from USB, pendrives &/or HDD/SSD. So, until the RPi4B gets its 'fix', it'll stay in its box, I've got plenty of p...
by PeterO
Tue Aug 20, 2019 7:12 am
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 219
Views: 30975

Re: Raspberry Pi 4 usb boot?

So does anyone know have they made any progress with booting the raspi4 from usb? yet! Do you think they will keep it secret when it is ready ? :shock: Be patient ! All serious users need this facility I doubt it very much ! For now, those that might want it for maybe performance reasons are using ...
by PeterO
Tue Aug 20, 2019 6:48 am
Forum: Scratch
Topic: Good news!!! Scratch 3.0 works with my Raspbian Pi 4
Replies: 11
Views: 879

Re: Good news!!! Scratch 3.0 works with my Raspbian Pi 4

Just to repeat was was posted in another thread... The Desktop version of Scratch 3 for the Raspbian Pi is finally here!!! It was released on August 16th. Scratch 3 Desktop for Raspbian on Raspberry Pi https://www.raspberrypi.org/blog/scratch-3-desktop-for-raspbian-on-raspberry-pi/ While you can ru...
by PeterO
Mon Aug 19, 2019 12:49 pm
Forum: C/C++
Topic: Looking for advice with C++ learning
Replies: 25
Views: 1196

Re: Looking for advice with C++ learning

needs to become something like [64 bit signed integer] a [64 bit signed operator] = [64 bit signed integer] b [ignoring overflow 64 bit signed integer operator] + [64 bit signed integer] b; I can't see that catching on ! PeterO Did you mean "checking overflow"? I think Heater wants all integer arit...
by PeterO
Mon Aug 19, 2019 9:28 am
Forum: C/C++
Topic: Looking for advice with C++ learning
Replies: 25
Views: 1196

Re: Looking for advice with C++ learning

Unless that is, one can be sure that in the context the statement is in, and with the data it receives at run time, it will do some of the small subset of behaviors that are actually defined. I'm pleased to see that you've recognised this now, but I was thinking, "What would Heater's ideal language...
by PeterO
Sun Aug 18, 2019 2:51 pm
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 68
Views: 2220

Re: Permanently disable swap on Raspbian Buster

Ok, I re-read the conversation, and it indeed appears that we misunderstood each other. To get to the point, Debian and Raspbian are not in the list of operating systems that run entirely from RAM https://en.wikipedia.org/wiki/List_of_Linux_distributions_that_run_from_RAM What has that got to do wi...
by PeterO
Sun Aug 18, 2019 12:46 pm
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 68
Views: 2220

Re: Permanently disable swap on Raspbian Buster

Then you'll have to read up on fact. It's not my job to provide you the proof you can provide yourself. Your point of view, your job to provide the proof. How do you not understand this ? Oh and you're still not understanding the arguments because "In your case, there aren't many, if any at all, su...
by PeterO
Sun Aug 18, 2019 10:37 am
Forum: Advanced users
Topic: Avoiding circular symlinks in an install script
Replies: 18
Views: 299

Re: Avoiding circular symlinks in an install script

The right syntax is if [ ! -L linkname ] See https://www.tldp.org/LDP/abs/html/fto.html Thank you Peter, but my question was not how to use the if statement, but how to specify correctly the symlink within the if statement. I have seen that you have modified your answer. Thank you... The original s...
by PeterO
Sun Aug 18, 2019 10:17 am
Forum: Advanced users
Topic: Avoiding circular symlinks in an install script
Replies: 18
Views: 299

Re: Avoiding circular symlinks in an install script

Thank you Peter, but my question was not how to use the if statement, but how to specify correctly the symlink within the if statement. You asked Maybe you just could help me to enter the right syntax for the [command] Try to ask the right question next time ! But you do it the same as you would sp...
by PeterO
Sun Aug 18, 2019 10:04 am
Forum: Advanced users
Topic: Avoiding circular symlinks in an install script
Replies: 18
Views: 299

Re: Avoiding circular symlinks in an install script

rin67630 wrote:
Sun Aug 18, 2019 9:56 am

Maybe you just could help me to enter the right syntax for the

Code: Select all

if [ ! -L linkname ]
bash statement?
The right syntax is

Code: Select all

touch fred
ln -s fred fredLink

linkname="fredLink"
if [ ! -L ${linkname} ]
then 
  echo "Is a link"
fi
See https://www.tldp.org/LDP/abs/html/fto.html
PeterO
by PeterO
Sat Aug 17, 2019 7:33 pm
Forum: Automation, sensing and robotics
Topic: Impedance plane display
Replies: 3
Views: 192

Re: Impedance plane display

Encrypted_toast wrote:
Sat Aug 17, 2019 11:22 am
I would like to display ....
What do you want to display it on ?
PeterO
by PeterO
Sat Aug 17, 2019 7:07 pm
Forum: OpenGLES
Topic: Another Pi4 GL working example - Lazarus
Replies: 7
Views: 501

Re: Another Pi4 GL working example - Lazarus

I've chosen to target OpenGLES 3 for all my work as it's more up to date that openGL 2.1 !
PeterO
by PeterO
Sat Aug 17, 2019 7:05 pm
Forum: OpenGLES
Topic: Another Pi4 GL working example - Lazarus
Replies: 7
Views: 501

Re: Another Pi4 GL working example - Lazarus

glTexImage2D(GL_TEXTURE_2D, 0, GL_bgraa, 256, 1, 0, GL_bgra, GL_UNSIGNED_BYTE, @pallette);

Is this a typo ? AH !!! You've fixed it :-)

PeterO
by PeterO
Sat Aug 17, 2019 3:58 pm
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 68
Views: 2220

Re: Permanently disable swap on Raspbian Buster

Like you, I don't know. But my understanding is that cacheing should not in itself require swapping. Cacheing uses the specialist fast cache RAM (L1 and L2), because by its nature cache memory needs to be faster than main RAM. The cache in this case is not the L1/L2 memory caches in the SoC, but th...
by PeterO
Sat Aug 17, 2019 3:24 pm
Forum: General discussion
Topic: When can we expect USB boot for the Pi 4?
Replies: 56
Views: 3022

Re: When can we expect USB boot for the Pi 4?

How can you say that someone is 'ungrateful' - this is a commercial product - it isn't free - but was released before it was working fully. 8-) Ok, maybe "Ungrateful" is the wrong word, but for the same price we're getting 2-3x performance , 4x RAM, 2xvideo etc etc etc and complaints are about one ...

Go to advanced search