Most Popular

1500 questions
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
  • 273
  • 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,530
  • 14
  • 67
  • 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

HEVC playback on RPi 4

Raspberry Pi 4 lists HEVC (H.265) video decoding up to 4K@60fps in the spec. I'd like to get some feedback from people who already had a chance to try it out. Is this hardware or software encoding? Does it support the 10-bit profiles? Does it work…
Dmitry Grigoryev
  • 27,928
  • 6
  • 53
  • 144
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
  • 6
9
votes
3 answers

How can I delay the startup of systemd services until the datetime is set (no RTC on the Raspberry Pi)

When I shutdown and power off the Raspberry Pi 3b and then power it up again the next day, I get wrong starting date/time printed when checking sudo systemctl status DustSensor. The printed date/time is from the date/time of the shutdown. How can I…
monok
  • 255
  • 1
  • 3
  • 11
9
votes
2 answers

How to known if an ARM library (.so) is compatible with the raspberry PI

I have a compiled library (without source) for a fingerprint driver. I'm sure it's an ARM compilation because the command file mylib.so says: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped but if I want use…
9
votes
2 answers

Raspberry Pi DHCP Server: clients not getting IP addresses

I am relatively new to networking, so please bear with me. For a purely educational project, I've set up a network where the Raspberry Pi 3 running Raspbian Stretch is to function both as a router and a DHCP server. The intention is to have a…
Flux
  • 279
  • 3
  • 9
9
votes
4 answers

How to Wake the Raspbery Pi Display Without Disabling The Screensaver

People have asked how to disable the screen from going blank or to sleep, but I have a slightly different question. I would like to be able to remotely wake a sleeping or blank display, but then allow it to go blank again. So far this isn't…
GrandAdmiral
  • 603
  • 3
  • 8
  • 16
9
votes
3 answers

How to make Raspberry Pi suspend to RAM?

My application only uses Pi very occassionally and only a few seconds each time. It would be ideal if Pi supports suspend to RAM feature to save maximum energy. (I am thinking of the next step of powering Pi with batterries only.) My question is:…
Penghe Geng
  • 361
  • 1
  • 5
  • 10