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

C/C++ • boost program options c++ question

Why is the any_string literal needed on the below code?Code: options_.add_options()("help,h", value<bool>(&help)->default_value(false)->implicit_value(true), "Print this help...

View Article


Advanced users • Re: Raspberry Pi 5 USB Gadget mode for MIDI

Ah, yes, you are correct!Then I don't know how to connect it without a USB-C split PD cable (which I don't have).My setup is: a Mac Mini (with USB-C and USB3/2 ports) that I need to use as a host, and...

View Article


Raspberry Pi OS • Re: Booting time reduction

What is your current boot time?Why do you need to reduce it?What is your target boot time?What is your current boot time?27 secWhy do you need to reduce it?I am using this iin industrial machine. They...

View Article

Beginners • Re: Which one to download deb or rpm?

it's generally safer to go with the version that's in the repository.The newer one is in 'the' repo (Debian, which is the basis for PiOS 64)If the pi repo version would still be relevant for PiOS it...

View Article

Troubleshooting • Re: Issue with Raspberry Pi 3 Model B+

Also see this on how to update firmwarehttps://pip.raspberrypi.com/categories/ ... rmware.pdfStatistics: Posted by jamesh — Tue Jul 30, 2024 2:06 pm

View Article


Image may be NSFW.
Clik here to view.

General • Re: Display Help

I did, and when I did that a "couple" errors/var warnings appeared (I had to backspace ~1/3 of the warnings because the errors were 100,000 characters long):libraries\TB_TFT_eSPI\TFT_eSPI.cpp.o: In...

View Article

Ubuntu • Re: Dual booting Ubuntu via PINN via retropie

I will add Retropie 4.8 to PINN for you.Statistics: Posted by procount — Tue Jul 30, 2024 2:22 pm

View Article

Interfacing (DSI, CSI, I2C, etc.) • Re: Interfacing a 8-bit Serial RGB Display

Thank you, I will certainly look into this. In order to enable the colors in turn I guess I will have to edit the driver itself?If the display-width is 3 times larger, how will this affect the image...

View Article


Beginners • Re: How to send two camera streams from RPi 5 over TCP connection...

There are many ways to go about this, so I'm slightly hesitant to make a suggestion. You could certainly put a "capture_array()" in a loop where you could (compress?) and send the frames. The outline...

View Article


Advanced users • Re: Self-Encrypted Drives

No built-in support.We would recommend using RPi secure-boot to verify the kernel + initramfs loaded for the secure pre-boot and let the initramfs unlock the other regions on the drive assuming that...

View Article

Beginners • Re: Please help me connect phone to Pi 5 via Bluetooth.

To send files the other way from a Pi to a phone, the Pi needs to be an OBEX client. The program btferret.c is set up to do file transfers this way (and it will also run as an OBEX server like...

View Article

MicroPython • Re: How to receive large (>1024 byte) UDP datagram packets?

I guess that was down to running older MicroPython firmware.Why that? I used the latest firmware available then.I thought you had been using older firmware from saying "I only got 1024 in my original...

View Article

Interfacing (DSI, CSI, I2C, etc.) • Re: DSI bug on Pi 5

A quick answer on EoTp: It's an option, not currently enabled. Apparently it's enabled by setting the LS bit of DSI_PCKHDL_CFG (right now we set only bit 2, enable BTA).Statistics: Posted by njh — Tue...

View Article


Troubleshooting • Re: Two RPi 5 dead

You can buy a replacement DA9090 from PiHut in the UK, not sure about the DA9091 (and they are not compatible). Note that these are EXTREMELY difficult to replace even with specialised...

View Article

Image may be NSFW.
Clik here to view.

Troubleshooting • Re: Bios does not recognize raspberry Pi in g_multi mode

I've not played around with this since the end of April.To get things working on Win11 I did a couple of things differently to what you're doing:Used the VID and PID that g_ether uses. 0x525 and...

View Article


Image may be NSFW.
Clik here to view.

Interfacing (DSI, CSI, I2C, etc.) • Re: PWM phase offsets not working on RP1

Thanks for the answers!I tried to get the "dance" working, but to no avail. I could not even get the reload interrupt to trigger when phase was set strangely.On many occasions now I have seen that one...

View Article

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

Thanks a lot for this hint, i'll check it later.But rootfs i notencrypted. Sorry if i wasn't clear about this.. Only /dev/md0 (raid array) is encryptedStatistics: Posted by crabler — Wed Jul 31, 2024...

View Article


Advanced users • Re: 3 monitors possible with RaPi5?

At the moment playing to build some desktop to my son and have this:https://argon40.com/en-ca/products/argo ... -nvme-caseAudio DSP board also available but it’s extra. I didn’t know that and would...

View Article

Image may be NSFW.
Clik here to view.

General discussion • unable to find my i2c slave

I'm using Raspi 5 to communicate with an Arduino via I2C. In `raspi-config`, I enable I2C, and I set parameters in `/boot/firmware/config.txt`:Code: dtparam=i2c_arm=ondtparam=i2c_arm_baudrate=400000I...

View Article

General discussion • Re: unable to find my i2c slave

`gpioinfo` message if it's useful:Code: gpiochip0 - 32 lines: line 0: "-" unused input active-high line 1: "2712_BOOT_CS_N" "spi10 CS0" output active-low [used] line 2: "2712_BOOT_MISO" unused input...

View Article
Browsing all 4769 articles
Browse latest View live