Quantcast
Channel: Raspberry Pi Forums
Browsing all 5022 articles
Browse latest View live

Graphics programming • Re: help me set up Geany to work with the GTK+ library...

main.cppCode: #include <gtk/gtk.h>// Callback function for button click eventstatic void on_button_clicked(GtkWidget *widget, gpointer data) { gtk_button_set_label(GTK_BUTTON(widget), "Button...

View Article


Beginners • Re: Help for a very old beginner

I eventually stopped using usenet a couple of years ago when I got totally fed up with the Google Groups interface.Google has shut that down. The sudden drop in spam is wonderful.Statistics: Posted by...

View Article


Troubleshooting • RPi Zero-W USB power

Hi,I'm trying to connect a mobile phone to my Zero-W so I can access its SD-card and also activate tethering. But when I connect the phone syslog reports read errors on the USB device and the connect...

View Article

Networking and servers • Re: Network Equipment Monitor

A full Pi would probably be overkill, except maybe for the need to provide some kind of user interface and credential input and storage. A Pico could do all the necessary checking, but the normal...

View Article

Image may be NSFW.
Clik here to view.

General programming discussion • Re: Start LED before LUKS password entry

Thank you so much! You gave me the idea to simply remove the entries from the fstab and crypttab, so that /dev/md0 is not mounted at boot. Then I wrote a bash script that runs automatically after...

View Article


Beginners • Re: Button to shutdown raspberry pi 4 (python), right track?

Yes, you can use "dtoverlay=gpio-shutdown,gpio_pin=27" but I wanted something with a little more feedback for someone other than me that was directed to shutdown my weather station. I took the same...

View Article

Advanced users • Re: Can I create an autoboot.txt file with multiple...

different types of filters will combine togetherbut multiple gpio filters dont, and only the last gpio you specified will be part of the filterSo, the first condition isn't evaluated before it gets to...

View Article

Advanced users • Re: Testing class A2 SD cards with Command Queueing on Pi 5

Thank you for your patience - latest rpi-update firmware now has this enabled by default.There should be no known-bad cards that get broken but this update, but if there are then please post in this...

View Article


Advanced users • Re: Is it possible to renumber/reorder partitons?

Aside from the horrifically insane way of using a hex-editor to hand-hack the partition table, (facepalm!!), is there a tool that will allow the partitions to be renumbered so that they are in...

View Article


Python • Re: DS18B20 / w1thermsensor

It is not always necessary to activate a venv before using it.The python interpreter is smart enough to know it is in a venv and if it is, it will handle the activation of the venv for its own run...

View Article

Troubleshooting • RPi4 and USB smart card readers

Hello all:I am fairly new to Raspberry Pi.I am using an RPi4 2GB with a Waveshare POE hat https://www.amazon.com/gp/product/B0974 ... UTF8&psc=1, a 64GB SD Card, and Ubuntu 24.04 server.My project...

View Article

Advanced users • Re: RPi5 - IOMMU on PCI

Have you added to the kernel cmdline something like this:vfio-pci.ids=10ec:c821The ID is what you get with lspci -nThe example here is a MediaTek M.2 WiFI card, it works on an N100 CPU. I don't have a...

View Article

Media centres • Re: Peppy player

According to this page: https://openweathermap.org/api/one-call-3One Call API is available only for 'One Call by Call' subscription only.I don't remember if you select that when you ask for the API...

View Article


Troubleshooting • Re: RPi4 and USB smart card readers

I forgot to add what I experienced. This is for the Yubikey, and the same occurs with the Nitrokey.Before removal:Code: # pkcs11-tool --module /usr/lib/aarch64-linux-gnu/opensc-pkcs11.so -LAvailable...

View Article

Image may be NSFW.
Clik here to view.

Beginners • Noctua 5v NF-A4x10 pmw on Pi 5

Hi I’m looking for help to plug my Noctua on Pi5 using the JST-SHI WENT Red with Yellow for +5VBlue with blue For PMW Black with black. For ground Yellow with Green for Tach ( rpm speed signal )Tell...

View Article


Networking and servers • Re: Ideas for controlling a Raspberry Pi 5 via...

Maybe have a look on github at btferret https://github.com/petzval/btferretStatistics: Posted by neilgl — Mon Aug 05, 2024 9:07 pm

View Article

Troubleshooting • Re: raspbian buster - usb device not recognized

I'd appreciate any ideas / help ...Statistics: Posted by mrmrmrmr — Mon Aug 05, 2024 9:10 pm

View Article


Troubleshooting • Re: Raspberry Pi 5 USB 3.0 read performance is worse than...

Sure, here it is:Code: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubDevice Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 3...

View Article

Raspberry Pi OS • Re: /usr/bin/sh being linked to dash not bash makes script...

Thank you very much for your considered reply.It likely would not cause any issues to run system scripts under bash instead of dash. But you should not change the symlink. For one thing, it will...

View Article

Image may be NSFW.
Clik here to view.

General discussion • Re: RPi 5 USB gadget mode possible?

That guide is very light on details (for instance why are they setting up two ethernet interfaces? Why are they talking about bridging them?) and mistaken in at least one place.Running rpi-update is...

View Article
Browsing all 5022 articles
Browse latest View live