Go to advanced search

by dgordon42
Tue Sep 29, 2020 12:21 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Raspberry Pi Desktop how to run 64-bit
Replies: 4
Views: 447

Re: Raspberry Pi Desktop how to run 64-bit

That is normal it is 32bit Userland with an appropriate Kernel for the CPU Architecture. There is no 64bit Kernel / 64bit Userland release by the RPF / RPT. As RPT are now beta testing a 64-bit version of Raspberry Pi OS on the RaspberryPi machine, I was wondering if there are any plans to release ...
by dgordon42
Sat Aug 29, 2020 11:39 am
Forum: Troubleshooting
Topic: [SOLVED] Unexplainable behaviour of Extrernal USB HDD
Replies: 22
Views: 617

Re: Unexplainable behaviour of Extrernal USB HDD

Yeah, but I work with this setup about 4 month or so - without any problems. Are you using quirks for your jmicron SATA to USB3 chipset? Raspberry Pi OS had a kernel update a few weeks ago. This may change the situation with regard to quirks. What kernel are you running now? Are you using an extern...
by dgordon42
Sat Aug 29, 2020 1:16 am
Forum: Troubleshooting
Topic: [SOLVED] Unexplainable behaviour of Extrernal USB HDD
Replies: 22
Views: 617

Re: Unexplainable behaviour of Extrernal USB HDD

Have a read of the sticky post about poor performance of disk drives on the Pi's USB3 port.
You say you are using a jmicron interface between your drive and the Pi.
These have been known to cause problems, and may need quirks added as detailed in the above post.

Hope this helps,
Dave.
by dgordon42
Tue Jun 16, 2020 6:49 pm
Forum: Troubleshooting
Topic: Send SMS with Huawei Dongle
Replies: 1
Views: 147

Re: Send SMS with Huawei Dongle

On your "Gumma config" picture, it shows the Port as "/dev/Serial0". Your dongle is connected to a USB port, so this is incorrect. You should use something like "/dev/ttyUSB0" If you unplug and then plug in your dongle and run the "dmesg" command, the last few lines will tell you what port the dongl...
by dgordon42
Wed Jun 10, 2020 7:35 pm
Forum: Python
Topic: Raspberry pi camera code
Replies: 4
Views: 403

Re: Raspberry pi camera code

Your last line of code will crash Python as it is missing the closing quote mark (")

Hope this helps,
Dave.
by dgordon42
Fri Jun 05, 2020 4:30 pm
Forum: Beginners
Topic: Unable to use smartctl or hddtemp with WD external HDD
Replies: 5
Views: 420

Re: Unable to use smartctl or hddtemp with WD external HDD

'smartctl' works for me when I address the drive rather than a partition.

Code: Select all

sudo smartctl -A /dev/sda
Hope this helps,
Dave.
by dgordon42
Fri May 01, 2020 8:12 pm
Forum: Troubleshooting
Topic: Rpi4-4GB: USB3 devices not recognized in USB3 port
Replies: 18
Views: 1163

Re: Rpi4-4GB: USB3 devices not recognized in USB3 port

I saw something similar last year while trying to get a Crucial 120GB SSD working on a Pi 4B USB3 port through a StarTech adapter using an AS Media AS 1351 chip set. I found that when I connected (either before or after booting) my drive it would initially appear to connect, but after a few seconds ...
by dgordon42
Tue Apr 21, 2020 11:04 am
Forum: Beginners
Topic: Lathe tachometer
Replies: 4
Views: 330

Re: Lathe tachometer

If you are worried about a magnet affecting the balance of your chuck, fit 2 magnets 180 degrees apart. You will then count 2 pulses per revolution, which will help when detecting low RPM values.

Hope this helps,
Dave.
by dgordon42
Wed Apr 08, 2020 10:54 am
Forum: Troubleshooting
Topic: Strange USB 3.0 behavior [SOLVED]
Replies: 2
Views: 260

Re: Strange USB 3.0 behavior

USB 3 devices can put out interference that affects wireless devices that operate in the 2.4GHz band, like your wireless keyboard. The usual recommendation is to use a short USB extension cable to connect your keyboard's dongle to the USB 2 port on your Pi. Getting a bit of distance between your USB...
by dgordon42
Sun Mar 22, 2020 5:29 pm
Forum: General discussion
Topic: startup pygame script doesn't show anything
Replies: 4
Views: 269

Re: startup pygame script doesn't show anything

In addition to what @pcmanbob says above, your shebang line does not look correct.
Try changing it to:

Code: Select all

#!/usr/bin/env python3
Hope this helps,
Dave.
by dgordon42
Sun Mar 15, 2020 12:18 pm
Forum: General discussion
Topic: RPi4 using WiFi only if Ethernet connection missing?
Replies: 10
Views: 1484

Re: RPi4 using WiFi only if Ethernet connection missing?

@Bosse_B, As far as I know, your Pi will use an Ethernet connection in preference to a WiFi connection for traffic when both interfaces are present. If your Pi has both an Ethernet connection and a WiFi connection, run the "route-n" command to see where the Pi will send it's traffic. It should use t...
by dgordon42
Thu Feb 27, 2020 4:33 pm
Forum: Networking and servers
Topic: Problems adding a USB 3.0 SSD to PI4
Replies: 35
Views: 4873

Re: Problems adding a USB 3.0 SSD to PI4

It is not so much the adapter as the adapter's chip-set. At the moment I'm using a StarTech S251BU31315 adapter which has an ASMedia ASM1351 chip-set. It is working with an old Crucial BX100 120GB SSD. I did have problems getting it to work in the beginning, I had to plug it into a Pi 3B+ and partit...
by dgordon42
Thu Feb 27, 2020 3:13 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Raspberry Pi Desktop (Hardware Compatibility List / Trouble shoot)
Replies: 6
Views: 1211

Re: Raspberry Pi Desktop (Hardware Compatibility List / Trouble shoot)

I'm running Debian Buster with Raspberry Pi Desktop on a Dell Inspiron 1501 laptop, with an AMD Athlon X2 processor, which I bought in 2006. I had already upgraded the memory to 2GB and the hard dive to a 1TB Crucial MX500 SSD. It originally ran Windows XP. I also had problems getting a network conn...
by dgordon42
Thu Feb 27, 2020 1:40 pm
Forum: Networking and servers
Topic: Problems adding a USB 3.0 SSD to PI4
Replies: 35
Views: 4873

Re: Problems adding a USB 3.0 SSD to PI4

Some USB3 to hard drive adapters don't work well with the Pi 4B.
See this thread for more details and a possible fix.

Hope this helps,
Dave.
by dgordon42
Tue Feb 18, 2020 1:57 pm
Forum: Advanced users
Topic: Using Bluetooth and UART (GPIO14&15)
Replies: 1
Views: 221

Re: Using Bluetooth and UART (GPIO14&15)

Undo any changes you have made on your Pi while trying to get your serial port working. Add the line: enable_uart=1 to the end of the '/boot/config.txt' file, and reboot. Refer to your serial port as "/dev/serial0", that's Serial Zero not Serial Oh, in your code. The 'serial0' alias for the Serial P...
by dgordon42
Fri Feb 14, 2020 12:00 pm
Forum: Troubleshooting
Topic: Issues since kernel got updated to 4.19.93
Replies: 162
Views: 19929

Re: Issues since kernel got updated to 4.19.93

"rpi-update" loads the latest firmware and kernel which is still in testing This is still beta software, and it is recommended that people do no use "rpi-update" unless it is suggested by the RPI People to try to fix a particular issue. There is no promise or guarantee that your Pi will still boot a...
by dgordon42
Fri Jan 31, 2020 11:18 pm
Forum: Troubleshooting
Topic: Taskbar and main window have different widths
Replies: 1
Views: 436

Re: Taskbar and main window have different widths

See this thread.

The white space seems to have been inadvertently introduced with a recent update.

Hope this helps,
Dave.
by dgordon42
Mon Jan 27, 2020 8:34 am
Forum: General discussion
Topic: Firefox-esr illegal instruction
Replies: 9
Views: 1651

Re: Firefox-esr illegal instruction

Chryses wrote:I installed firefox-esr like always and no error are show, but if I only try to access to it I got error
How did you install it?
The copy of Firefox-ESR in the Raspbian repositories works on all Pi's as @pagenotfound says above, but Firefox from other sources may not.

Hope this helps,
Dave.
by dgordon42
Wed Jan 22, 2020 1:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi 4 - Using alternate I2C
Replies: 14
Views: 2322

Re: RPi 4 - Using alternate I2C

You can run several I2c buses at the same time, details on how to configure the buses and GPIO pins are in the file '/boot/overlays/README' on your Pi. Note that only GPIOs 2 & 3 (physical pins 3 & 5) have pull up resistors fitted on the Pi itself. To use any other pins you will need to have pull up...
by dgordon42
Wed Jan 22, 2020 11:29 am
Forum: Troubleshooting
Topic: Pi freezing when plugging in a new SSD
Replies: 15
Views: 1663

Re: Pi freezing when plugging in a new SSD

2 things to try: First, power down your Pi, plug in your USB Drive, and power up again. Does the Pi work normally now, and does the drive work? It's possible that your power supply can't handle hot plugging of the Drive. Next, read the sticky post about poor performance with SSD's attached to the Pi...
by dgordon42
Sun Jan 19, 2020 10:15 am
Forum: Troubleshooting
Topic: How to download scripts without network connection?
Replies: 4
Views: 330

Re: How to download scripts without network connection?

Is it possible to download the scripts to the pi via the SD card or a USB stick? Yes, its possible to do both. The easiest way would be to download them on a PC, copy them over to a blank USB stick, then plug the stick into your Pi. Then, just copy the files into your Home directory. If you wish to...
by dgordon42
Sun Jan 19, 2020 9:52 am
Forum: Troubleshooting
Topic: Pygame Not Displaying Objects Moving on Raspberry Pi
Replies: 2
Views: 216

Re: Pygame Not Displaying Objects Moving on Raspberry Pi

Looks like a typo on line 35. Try changing

Code: Select all

play_pos = [x,y]
to

Code: Select all

player_pos = [x,y]
Note, I have not tested this,
Dave.
by dgordon42
Tue Jan 14, 2020 1:32 pm
Forum: General discussion
Topic: How to use Bluetooth and UART both.
Replies: 11
Views: 1689

Re: How to use Bluetooth and UART both.

So right now, with dtoverlay=miniuart-bt I use a mini-uart? Incorrect, with "dtoverlay=miniuart-bt", Bluetooth uses the miniUART 'ttyS0' internally and you use the full UART 'ttyAMA0' as the Serial Port on GPIO pins 14 and 15 (physical pins 8 and 10). The clue is in the name. See the details in my ...
by dgordon42
Tue Jan 14, 2020 11:15 am
Forum: Beginners
Topic: Reading data serially for reading sensor data
Replies: 4
Views: 522

Re: Reading data serially for reading sensor data

First, replace all instances of "/dev/ttyAMA0" in your code with: /dev/serial0 Next, ensure that the Serial Port is enabled and the Serial Console is disabled. The 'Raspberry Pi Configuration' Tool in the GUI, or 'sudo raspi-config' in the CLI can help with this. Reboot after any changes. Hope this ...
by dgordon42
Mon Jan 13, 2020 1:12 am
Forum: Beginners
Topic: 1pps generation from raspberry Pi
Replies: 2
Views: 446

Re: 1pps generation from raspberry Pi

The Pi can output a 1 PPS timing signal by adding the line: dtoverlay=pps-gpio to the file '/boot/config.txt' and rebooting. This will output a 1 second timing signal on GPIO 18 (physical pin 12). You can change from the default pin if required, see details in the file '/boot/overlays/README'. Hope ...

Go to advanced search