Go to advanced search

by rpdom
Thu Jan 17, 2019 6:55 pm
Forum: General discussion
Topic: Basic question on RPi.GPIO
Replies: 3
Views: 54

Re: Basic question on RPi.GPIO

GPIO.BCM are the internal designations of the GPIO connections in the BroadCom chip. It is how the lowest level software refers to them. GPIO.BOARD is a way of using the GPIO pins using the physical pin numbers on the board. It is supposed to make things easier for beginners. One example is that phy...
by rpdom
Thu Jan 17, 2019 9:56 am
Forum: General discussion
Topic: cannot disable eth0 via the standard init files?
Replies: 4
Views: 74

Re: cannot disable eth0 via the standard init files?

You should be able to stop the interface from getting a DHCP lease by disabling it in /etc/dhcpcd.conf

Just add this line somewhere in that file:

Code: Select all

denyinterfaces eth0
by rpdom
Thu Jan 17, 2019 6:52 am
Forum: HATs and other add-ons
Topic: Long GPIO Header for use with POE HAT
Replies: 5
Views: 85

Re: Long GPIO Header for use with POE HAT

Imperf3kt wrote:
Thu Jan 17, 2019 3:18 am
Is the POE HAT an oversight while naming the product?
It's an (undocumented) extension to the specifications.
by rpdom
Thu Jan 17, 2019 2:25 am
Forum: Advanced users
Topic: USB boot, PI3B+: followed instructions, doesn't work
Replies: 2
Views: 61

Re: USB boot, PI3B+: followed instructions, doesn't work

You don't need to set the OTP bit on the 3B+, it's set in the factory as standard. If I used Windows, I'd use Etcher to write the image file to the USB stick, as it is easier to use than the old Win32 Disk Imager program. Not all USB devices are compatible with the USB boot on the Pi, but I have fou...
by rpdom
Thu Jan 17, 2019 2:16 am
Forum: Windows 10 for IoT
Topic: Windows 10 IoT Core on Raspberry Pi 3 A+ does not boot?
Replies: 3
Views: 71

Re: Windows 10 IoT Core on Raspberry Pi 3 A+ does not boot?

I suspect the 3A+ is not yet supported by the Win10 IoT Core image. The splash screen is generated by the early bootloader files, which also read the config.txt. The rainbow screen is typical of running old code against a newer system on the Pi.
by rpdom
Thu Jan 17, 2019 2:07 am
Forum: HATs and other add-ons
Topic: Long GPIO Header for use with POE HAT
Replies: 5
Views: 85

Re: Long GPIO Header for use with POE HAT

Imperf3kt wrote:
Thu Jan 17, 2019 1:50 am
As to stacking, you shouldn't stack hats, as they're not designed for multiple hats on the same device. Part of why they're called "hats" - do you wear two or three hats on your head?
The PoE HAT uses a different I2C address to other HATs and therefore can be stacked with another HAT.
by rpdom
Thu Jan 17, 2019 1:54 am
Forum: Advanced users
Topic: GPIO-POWEROFF: Is it safe to immediately cut power off when pin goes LOW?
Replies: 2
Views: 57

Re: GPIO-POWEROFF: Is it safe to immediately cut power off when pin goes LOW?

Yes, it is safe. You should see the 10 flashes of teh ACT LED just before the pin changes state.
by rpdom
Wed Jan 16, 2019 7:43 pm
Forum: Beginners
Topic: Boot with number lock on
Replies: 17
Views: 16496

Re: Boot with number lock on

Pugg wrote:
Wed Jan 16, 2019 6:49 pm
Tried this but... "bash: $: command not found " ... Using Raspberry 3 B+
Don't type the "$". That is the command prompt.
by rpdom
Wed Jan 16, 2019 2:44 pm
Forum: Troubleshooting
Topic: Clone and “Error: Can't have a partition outside the disk!”
Replies: 34
Views: 1102

Re: Clone and “Error: Can't have a partition outside the disk!”

npaisnel wrote:
Wed Jan 16, 2019 2:32 pm
mowing the bottom paddock!
There's a euphemism I hadn't heard before. :lol:
by rpdom
Wed Jan 16, 2019 2:40 pm
Forum: Troubleshooting
Topic: Sainsmart 8 + 16 Relay Boards keep breaking
Replies: 22
Views: 242

Re: Sainsmart 8 + 16 Relay Boards keep breaking

pir8ped wrote:
Wed Jan 16, 2019 2:33 pm
Exactly as in the image on the site I linked to.

SRD-12VDC-SL-C
Yes, that is a 12 Volt relay. The 5 Volt ones have "5VDC" in the part number.
by rpdom
Wed Jan 16, 2019 2:35 pm
Forum: Advanced users
Topic: I want MySQL instead of MariaDB
Replies: 46
Views: 14845

Re: I want MySQL instead of MariaDB

I suspect the removal of root access to the database was a security fix by the Debian maintainer, not specifically a difference between MySQL and Mariadb. I have used (non-debian) Mariadb systems where almost all database access was performed by the root user (much to my horror!). On my old personal...
by rpdom
Wed Jan 16, 2019 2:26 pm
Forum: Advanced users
Topic: Raspberry PI cold boot attack protected / Zero out RAM after boot?
Replies: 71
Views: 2208

Re: Raspberry PI cold boot attack protected / Zero out RAM after boot?

If Pi's already had Flash rather than ROM, RPT could probably have added boot from USB and networking booting to all Pi variants right back to the original A's and B's. The bugs and issues which there have been in internal bootcode and might be in future could be resolved without needing a silicon ...
by rpdom
Wed Jan 16, 2019 1:02 pm
Forum: Beginners
Topic: Multiple partitions on SD card that came with RPi2?
Replies: 38
Views: 435

Re: Multiple partitions on SD card that came with RPi2?

How can I tell which distro is on this card? The file /etc/os-release contains the version information. [email protected]:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www....
by rpdom
Wed Jan 16, 2019 7:30 am
Forum: Troubleshooting
Topic: Pi 3B+ stops working
Replies: 25
Views: 874

Re: Pi 3B+ stops working

You appear to have your meter set to the 20 volt AC range. You should set it to the 20 volt DC range.
by rpdom
Tue Jan 15, 2019 8:52 pm
Forum: Advanced users
Topic: I want MySQL instead of MariaDB
Replies: 46
Views: 14845

Re: REAL MySQL instead of MariaDB

Absolutely not a replacement. I don't want to trash Maria but none of my code works with maria. I had to install an older version of Raspbian to get things to work. It would be nice to have a choice. A frustrating factor is if I request apt-get install MySQL-server, I should get MySQL and not maria...
by rpdom
Tue Jan 15, 2019 8:18 pm
Forum: Troubleshooting
Topic: Massive problems after upgrade
Replies: 10
Views: 862

Re: Massive problems after upgrade

That looks good to me. The only oddity I see is 500 http://archive.raspberrypi.org/debian/ jessie/staging armhf Packages release o=Raspberry Pi Foundation,a=oldstable,n=jessie,l=Raspberry Pi Foundation,c=staging origin archive.raspberrypi.org But I don't think that would affect anything.
by rpdom
Tue Jan 15, 2019 8:02 pm
Forum: Troubleshooting
Topic: GPIO Port Concern/Troubleshooting
Replies: 2
Views: 716

Re: GPIO Port Concern/Troubleshooting

There should be not problems using Physical pin 26 (BCM pin 7).
by rpdom
Tue Jan 15, 2019 7:35 pm
Forum: Troubleshooting
Topic: Massive problems after upgrade
Replies: 10
Views: 862

Re: Massive problems after upgrade

Raspbian Jessie has not been supported since August 2017.. Even so, those packages are still in the archive and should be installable. There's something funny going on here. The fact apt says the required packages are "not installed" rather than "not installable" may be significant. Perhaps some pi...
by rpdom
Tue Jan 15, 2019 1:21 pm
Forum: Networking and servers
Topic: Best practice for networked printing via 3A+ or 3B+
Replies: 2
Views: 249

Re: Best practice for networked printing via 3A+ or 3B+

I went for a networked (wired) colour duplex laser printer from Dell for just under £100. Pity they stopped doing them. It works well with CUPS on my Pis and my Raspberry Pi Desktop (Debian) laptop. Official toner cartridges are very expensive, of course, but third party ones are a fraction of the c...
by rpdom
Tue Jan 15, 2019 10:01 am
Forum: Beginners
Topic: Can I run 2 different OS on 2 different sd cards in the same raspberry pi board?
Replies: 10
Views: 826

Re: Can I run 2 different OS on 2 different sd cards in the same raspberry pi board?

Yes, you can run one OS on one card, shut the Pi down, swap cards and boot up on the other card. This is the way many people do it.
by rpdom
Tue Jan 15, 2019 9:24 am
Forum: Beginners
Topic: RPi 3B+ Hardware PWM
Replies: 6
Views: 842

Re: RPi 3B+ Hardware PWM

Imperf3kt wrote:
Tue Jan 15, 2019 6:09 am
From my own experience, only GPIO 13 and 18 are PWM pins.
GPIO 12 can be used instead of GPIO 18. They both use the same PWM channel.
by rpdom
Mon Jan 14, 2019 2:35 pm
Forum: General discussion
Topic: Is it best to buy Pi 3 B+ now or wait for new one?
Replies: 29
Views: 834

Re: Is it best to buy Pi 3 B+ now or wait for new one?

Or that's the generic name for the Pi4B, Pi4A, CM4, and CM4L. (Though I would prefer those first two be Pi4BW and Pi4AW to leave room for WiFi-less versions.) Maybe the Pi 4BWB for WiFi and Bluetooth. Actually, why not follow the original BBC Micro theme and add the memory size (B+64 and B+128) and...
by rpdom
Mon Jan 14, 2019 10:19 am
Forum: Raspbian
Topic: VLC 3.0 with hardware acceleration
Replies: 68
Views: 7212

Re: VLC 3.0 with hardware acceleration

6by9 wrote:
Mon Jan 14, 2019 9:57 am
There is some magic that can be done on the repo to stop upstream updates overriding our downstream version,
Setting the "Epoch" in the version number will do that. Change 3.0.3 to 1:3.0.3
by rpdom
Mon Jan 14, 2019 10:00 am
Forum: Troubleshooting
Topic: Rediclious debug from libusb
Replies: 6
Views: 753

Re: Rediclious debug from libusb

Please start a new subject describing exactly what you want rather than following on to a four year old out-of-date subject.
Thank you.
by rpdom
Sun Jan 13, 2019 9:35 pm
Forum: Automation, sensing and robotics
Topic: Joining multiple DS18B20 sensors
Replies: 13
Views: 645

Re: Joining multiple DS18B20 sensors

chadk5utc wrote:
Sun Jan 13, 2019 9:26 pm
mutitempcircuit (1).jpg add cat5 or other wire as needed
Wrong! Only one 4.7K Ohm resistor is required. Using more than one will cause problems.

Go to advanced search