Most Popular

1500 questions
10
votes
4 answers

Performance differences running Raspbian from USB flash drive versus SD card

I want to run Raspbian from a USB flash drive on a Raspberry Pi 3B+. What would be the performance difference in doing so, as compared to running Raspbian from an SD card?
MC Naveen
  • 221
  • 1
  • 2
  • 8
10
votes
4 answers

How can I start an mp3 from the beginning every time a headphone is plugged in?

I'm doing an audio installation where multiple headphone jacks are on a wall and the user will plug into the jacks and each jack plays an mp3 that starts playing from the beginning when it gets plugged in. Is this possible with an RPi? What is the…
Pablo Gnecco
  • 117
  • 4
10
votes
4 answers

NOOBS stuck at rainbow screen - Raspberry Pi 4

I formatted my SD card to fat32 using GParted and copied all the files from the official NOOBS Lite download: https://www.raspberrypi.org/downloads/noobs/. I unzipped using unzip command on the terminal. When I turn on the rainbow appears and the Pi…
Sebastian Braga
  • 461
  • 1
  • 4
  • 12
10
votes
2 answers

Control GPIO pins from C

Most of the libraries, in multiple languages, interact with the GPIO pins via /sys/class/gpio/export, /sys/class/gpio/import, /sys/class/gpio/gpio10/value, etc. However the linux kernel docs clearly state that is the legacy way of doing things. What…
Simão Martins
  • 211
  • 1
  • 2
  • 6
10
votes
4 answers

SATA 3 SSD too slow on raspberry pi 4, even with external power

I have a Pi 4B (with latest firmware upgrade) running Raspbian Buster and a 2TB SSD with a SATA 3 interface. I'm using a SATA 3 to USB 3 converter that can also connect to external power when necessary. The SATA 3 to USB 3 converter works fine: I…
ma3oun
  • 283
  • 1
  • 3
  • 8
10
votes
1 answer

Would it be possible to build an Arch distribution that used Hard Float support and/or optimised the binaries for ARMv6?

According to the Wiki, the Arch image doesn't use Hard Float support and I'm pretty sure it uses the ARMv5 instruction set. Would it be possible to build a distribution that used Hard Float and ARMv6?
Alex Chamberlain
  • 15,638
  • 15
  • 69
  • 113
10
votes
3 answers

RPi 3 - Reduce power consumption

I am looking to reduce the power consumption to a minimum on my RPi 3. For my project, the Raspberry Pi Zero is not an option. for now, I disabled Bluetooth and WiFi and made sure to kill some process when the PI is running on battery until the…
Senseh B
  • 203
  • 1
  • 2
  • 5
10
votes
6 answers

Raspberry 4 usbmount not working

As the title suggests, I am having issues on the new raspberry pi 4 with buster and USBMOUNT. Well, it's not working. At 3b+ there was a similar issue, you had to edit a file and change MountFlags from slave to shared. Well there isn't a MountFlags…
papatrexas
  • 511
  • 1
  • 3
  • 12
9
votes
1 answer

Cannot Use SPI frequency above 500 kHz

I am running Arch Linux ARM on a Raspberry Pi 2 Model B, and I am attempting to communicate with a TFT display. I am writing a kernel module to interface with the display using SPI, and it works, but I cannot get the SPI frequency to go above 500…
j_lentini
  • 149
  • 6
9
votes
1 answer

What is the difference between Raspbian Lite and Debian?

I have read the official page but still cannot figure out the difference between Raspbian Light and Debian. The difference between Raspbian and Debian or between Raspbian and Raspbian Light can be easily found by googling and Raspberry Pi's…
Weihang Jian
  • 191
  • 1
  • 3
9
votes
2 answers

Forcing DHCP to release and renew and use a reservation?

I am able to ssh into my new RPi. One of the things I like to do to my infrastructure devices is to go ahead and convert their DHCP assignment to a reservation. My router is a CradlePoint Firmware Version : 2.0.0, 2012/04/16 WiMAX Version :…
Cade Roux
  • 2,117
  • 5
  • 23
  • 27
9
votes
4 answers

After reboot, my RPi is one hour off -- How to adjust for Daylight Savings problems?

The electricity to my apartment went out a few days ago. I use my RPi to record data and store it in a database. I've just learned that the time for all my data has been off by an hour because the RPi's clock is off by an hour. From here I issued tz…
Matthew Moisen
  • 745
  • 5
  • 11
  • 25
9
votes
2 answers

How to mount the EXT4 partition on the SD card from within VirtualBox

I have an SD Card reader built into my Lenovo laptop and I've installed VirtualBox and Debian squeeze to a VM but I can't seem to view the EXT4 partition, or any partition for that matter, on the SD card! I asked this question: Change IP settings by…
Dog Ears
  • 2,027
  • 6
  • 19
  • 28
9
votes
2 answers

How many serial ports are on the Pi 3?

How many serial ports are on the Pi 3? There is one on the GPIO pin that goes to ttyS0. Is there a separate one for USB? I have read somewhere about /dev/ttyUSB0. Is that a separate serial port? Can I attach 2 different devices 1 at each ttyS0 and…
Lightsout
  • 429
  • 1
  • 5
  • 20
9
votes
3 answers

Turn off visible light from camera IR lamps?

I have a Raspberry Pi IR camera with 2 attachable IR lamps. I am not sure if it is the same but it looks very similar to the Waveshare unit mentioned here frequently, eg in this question. The goal of this little project is to watch wildlife, so I'm…
Don't Panic
  • 190
  • 1
  • 7