All Questions
9,546
questions with no upvoted or accepted answers
9
votes
0
answers
1k
views
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 ...
9
votes
1
answer
1k
views
Autologin into a webpage via the default GNOME-Webbrowser
I'm trying to call an HTML page like this with the Raspbian's default web browser and it leads me just to the default login-page.
Neither does it with Midori on the desktop.
When calling the exact ...
7
votes
0
answers
979
views
connmanctl having problem with complex passphrase
The built in WiFi module seems to work fine, as it can connect to both of my open networks I created for testing, i.e. the 2.4GHz, and the 5.0GHz ones.
If I set a simple passphrase (i.e. contains ...
6
votes
0
answers
253
views
Raspberry as I2C Slave, how to slow down transfer rate?
I have had minor success using the PIGPIO library and interfacing the Pi as an I2C Slave (Using GPIO Pins 18 and 19 as SDA and SCL) with a Campbell CR1000X Datalogger
I am encountering a problem ...
6
votes
1
answer
1k
views
Rasberry Pi zero and 3 bluetooth transfer speed is slow RFCOMM
I am trying to send a series of bytes from the Raspberry Pi zero W to the Raspberry pi 3 via bluetooth. Im using the PyBluez python package.
I believe that Raspberry Pi Zero has Bluetooth 4.1 and ...
6
votes
2
answers
2k
views
ffmpeg performance degrades over time
I am using a Pi Zero W with the Pi camera (noir) to stream live to Youtube using ffmpeg.
The command line I am using is:
raspivid -o - -t 0 -h 720 -w 1296 -fps 24 -b 6000000 | ./ffmpeg -ar 44100 -ac ...
5
votes
1
answer
2k
views
Ubuntu 21.10 desktop environments freezing on Pi 400
I have created SD card with Ubuntu Desktop 21.10 using Pi Imager on Raspbian. It boots fine but when I interact with desktop environment, e.g. re-arrange the icons on the sidebar, the desktop ...
5
votes
1
answer
2k
views
spi-bcm2835 fe204000.spi: could not get clk: -517
I'm using Ubuntu Server 20.04 on a Raspberry Pi 4 8GB and shut it down normally yesterday it just says this error on screen when starting the kernel spi-bcm2835 fe204000.spi: could not get clk: -517.
...
5
votes
1
answer
5k
views
v4l2-ctl single frame capture produces image with green ending
I have a HDMI capture card and I'm using raspbian.
I want to get one single frame with v4l2-ctl command, then convert it to something common:
Get a frame:
# v4l2-ctl --device /dev/video0 --stream-...
5
votes
1
answer
17k
views
wlan0: link is not ready
I have had my pi3 for a while now all of a sudden I start to get
IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
and stalls there ...
5
votes
0
answers
1k
views
Bluetooth PAN on the Pi Zero W
I have the following problem:
I want to host a webserver on my Pi Zero W and access it over Bluetooth. To achieve this i tried to use PAN as underlying layer.
The first time i followed this post.
Most ...
5
votes
1
answer
2k
views
Can I control GPIO Pins when using Android on the Pi 3?
I want to install Android on my Raspberry Pi for implementing a GUI app, which is easy to create using Android Studio.
But now I am confused about how to control the GPIO pins on the Pi 3 to turn on ...
5
votes
0
answers
2k
views
how to connect raspberry pi to google home app?
How am I to connect my Raspberry Pi 3 (PIXEL desktop) to the Google Home app if it already has Google assistant on it?
5
votes
1
answer
2k
views
GY-521 module / MPU-6050 3x Accelerometer not detected by i2cdetect
I got this GY-521 module (https://www.aliexpress.com/item/MPU-6050-3-Axis-gyroscope-acce-lerometer-module-3V-5V-compatible-For-Arduino/2035920870.html?spm=2114.13010608.0.0.pRpLS4) and no matter what ...
5
votes
1
answer
9k
views
Open Splash Page After Connecting to Wifi Hotspot
I'm using my pi3 to display a local "website" as described here Making a Raspberry Pi 3 accessible w/o configuration via WiFi and static IP/URL.
Therefore, I'm creating a hotspot with the pi. This ...
5
votes
0
answers
699
views
Debugging a RPi using SWD
Has anybody been able to figure out how to debug a Raspberry Pi 3 model B using SWD? To be clear, I'm looking to debug the Pi itself using SWD. We've tried setting up the GPIO pins to use JTAG-SWD, ...
5
votes
0
answers
1k
views
Cannot find -lgcc -lc
I'm trying to compile the FreeRTOS port to Raspberry Pi, but when I compile, I get the error:
arm-none-eabi-ld: cannot find -lgcc
arm-none-eabi-ld: cannot find -lc
make: *** [kernel.elf] Error 1
I'm ...
5
votes
2
answers
391
views
Pi4J kills USB bus?
Hello fellow Pi enthusiasts :)
I am currently attempting to control a standard 16x2 character LCD display from the PI's GPIO pins from Java.
I downloaded Pi4J and wrote a small program to initialize ...
4
votes
0
answers
610
views
raspi ubuntu 20 - apt-get update problem - linux firmware / linux-raspi / linux-image-raspi
Hy
my raspi has this fstab:
UUID=7d298733-8450-4adb-b654-6de49954db5c / btrfs defaults 0 0
UUID=AD5E-0725 /boot/firmware vfat defaults 0 1
Then the ...
4
votes
0
answers
845
views
Docker Alpine:latest image fails to get date so everything fails
I just got a Raspberry pi 4 with 8GB and a SD. I ran all the updates and went directly to install docker and discovered that many images were randomly failing. I narrowed it down to the alpine:latest ...
4
votes
0
answers
696
views
Plymouth bootsplash starting too late
I've set up a Plymouth bootsplash inside an initramfs on Raspbian buster. (It's using something similar but not identical to the raspi-config RO overlay.) But I've noticed that there's a ...
4
votes
1
answer
567
views
Reading Frequencies with Python
hello ladies and gents.
your knowledge helped me a lot until now but now i have a question.
i want to read out the frequency of a 3.3V squarewave. (The unit i want to readout is a capacitive ...
4
votes
0
answers
1k
views
RPi-Zero, HID keyboard gadget for BIOS keyboard
After another user related question on this forum I try to get my USB HID Gadget Keyboard running in BIOS. My gadget is the RPi-Z using libcomposite on Raspbian Buster.
When I plug my keyboard into ...
4
votes
0
answers
2k
views
Raspberry Pi 4 - Dual Audio with Dual HDMI
I have a Raspberry Pi 4. The thing is, I want to play 2 videos at the same time, since the RPi-4 has 2 HDMI outputs. BUT I also want to have split audio. The audio from video 1 should go out over the ...
4
votes
2
answers
8k
views
Can't set output to 4k 60hz on Pi 4
What I've tried:
Setting "4Kp60 HDMI"
I did this in the GUI config application and rebooted. Also tried disabling it and then enabling it in the config.txt and rebooted.
Installing updates
My ...
4
votes
2
answers
795
views
Controlling a High Power 13V DC Motor with in-built Hall Effect sensor
I am a beginner with electronics and RPi.
I have a Brushed DC Motor that runs at a constant 13V and draws about 4-5 A while running and about 18-20 A at stall. It also has a single Hall effect sensor ...
4
votes
0
answers
630
views
Custom camera driver
Is it possible to write a driver, say for a OV camera, based on the existing drivers at the RPI git repo?
As is I understand, with a datasheet for a sensor it should be possible to write a similar ...
4
votes
1
answer
1k
views
SPI access via C# .NET Core console app
I do not have much experience with C# or Linux/Raspbian so would like some advice/guidance please.
Basically I need to write a C# .NET Core console app which will run on a Raspberry Pi Compute 3 ...
4
votes
0
answers
2k
views
Why doesn't extract-vmlinux work with Raspbian's /boot/kernel*.img?
To monitor if a reboot is necessary, I wanted to compare the version of /boot/kernel*img against the version of the running kernel.
To get the kernel version of a compressed linux kernel image (...
4
votes
0
answers
2k
views
Why won't pygame play sound over Bluetooth when everything else works?
I having trouble getting a program I've written using the pygame sound mixer to play sound to work over Bluetooth. The program is able to work correctly over HDMI audio. The Raspberry Pi has no ...
4
votes
1
answer
3k
views
Stuck Boot Reset | LSB: switch to ondemand cpu governor
HW:
Raspberry Pi 3, 16 gig hard drive
Relevant Output:
Starting dhcpcd on all interfaces...
Starting LSB: Autogenerate and use a swap file
Starting LSB: Switch to ondemand cpu governor(unless ...
4
votes
0
answers
2k
views
running pulseaudio in system mode without X
I would like to make pulseaudio work on my Raspberry Pi 3 without X installed.
I'm using the Arch Linux ARM distribution and these are the packages I have installed related to pulseauio and alsa:
$ ...
4
votes
0
answers
349
views
Watchdog service doesn't kick /dev/watchdog in OSMC
I have installed watchdog service on OSMC/Raspberry Pi 3. It starts now automatically, but doesn't touch the /dev/watchdog device.
How I check this:
ls -l /dev/watchdog
crw------- 1 root root 10, ...
4
votes
1
answer
523
views
Why is my RPi freezing of its own accord?
I own a RPi 3 Model B, which does a very good job of freezing of its own accord, even when not much activity is being done.
I mean, I can still move the mouse, but it stays in its last frame and I ...
4
votes
0
answers
1k
views
Connecting Pi3 ModelB with a Sony PS3 DualShock controller
I bought the following model of Raspberry Pi3 from Amazon.
RASPBERRYPI3-MODB-1GB
which claims to support: Bluetooth 4.1, Bluetooth Low Energy
And I also got a Sony DualShock PS3 controller with ...
4
votes
0
answers
650
views
Android Things (0.5.1) fails to initialize GPU on Raspberry Pi 3 Model B?
I have just set-up a Raspberry Pi 3 with Android Things using the latest developer preview (5.1). It boots and I can run some minimum samples, and the output can be seen normally in a HDMI screen. So, ...
4
votes
1
answer
1k
views
What modifies my .asoundrc file every boot?
My .asoundrc file gets modified every boot. If I delete it, a new appears at reboot:
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
If I make changes ...
4
votes
0
answers
18k
views
Bluetooth MAC Address Raspberry Pi 3
I'm trying to connect two raspberry pi 3 betweem them via bluetooth.
But the fact is that their MAC addresses are AA:AA:AA:AA:AA:AA
Does anyone knows how to assign them a real mac address in order ...
4
votes
0
answers
4k
views
Bluetooth repeater/bridge
I was wondering if somebody already tried to create some sort of Bluetooth repeater or bridge? I know they are not the same, but both systems should work for my needs.
In detail, I am trying to ...
4
votes
0
answers
994
views
FT5406 touchscreen sends events but input does not work
I have a Raspi 3B with the official 7" touchscreen attached. The screen works (showed the under-voltage sign when attaching only the screen controller to a 2.1 A power supply, so I'm connecting ...
4
votes
0
answers
1k
views
Unable to autosave snes rom (Zelda)
I've added to /opt/retropie/emulators/retroarch/retroarch.cfg:
input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9
based on http://nickbartlett.com/retropie-emulationstation-not-saving-game-...
4
votes
0
answers
443
views
RPi3 PulseAudio & Avahi problem
I have an Ubuntu 17.04 server which is sharing its sinks (connected speakers) and sources (USB microphone) with my local network. I've ensured the PulseAudio cookie has been pre-shared and on my ...
4
votes
0
answers
325
views
I2s DAC audio out but USB audio in
I was wondering if anyone could help me.
I am trying to set up my Pi 3 to be an assistant (Google or Alexa, etc). I had it set up working fine with the USB mic and the 3.5mm audio out, but I wanted ...
4
votes
0
answers
739
views
RPI 3B and Tiny Thermal Printer - Unable to use python library
I'm having trouble hooking up my Raspberry Pi 3 Model B to my Adafruit Tiny Thermal Printer (nb: not the mini thermal printer - this is the one with a mini-USB port built in).
I've got it connected ...
4
votes
0
answers
2k
views
Can the Compute Module 3 support 240fps from the Pi Camera v2?
The Compute Module 3 supports CAM1 with 4x Lane CSI MIPI as does the official doc for the Sony IMX219 camera module. It has been explained in many places that the reason the standard Raspberry Pi ...
4
votes
1
answer
256
views
Write Image to SD Card per SSH
I want to write an SD Card Image to a SD Card inserted in the Raspberry PI.
What I have done (and it is working):
Login to Raspberry an change the /boot/cmdline.txt a NFS Root (Something like ... ...
4
votes
1
answer
2k
views
How to blacklist devices on a raspberry pi 3 router setup?
I've recently set up a raspberry pi 3 as a simple wifi router, using:
Ubuntu 16.04
hostapd
dnsmasq
I've followed the following tutorial and all went pretty smooth: https://frillip.com/using-your-...
4
votes
2
answers
355
views
MMA845X accelerometer mapped at 1C
I have a MMA845X accelerometer mapped at 1C:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- 1c -- -- -...
4
votes
0
answers
177
views
Berryboot fallback partition
Berryboot is a great way to load multiple os's onto a single pi, but I'd like to use it for something very specific.
I need to be able to have berryboot attempt to load the default os, and if it ...
4
votes
0
answers
1k
views
Can't connect PS3 controller to Pi using Sixaxis
I am trying to use sixaxis to connect a ps3 controller to my Raspberry Pi. When I run sudo ./sixpair_rpi, I get:
Current Bluetooth master: xx:xx:xx:xx:xx:xx
Setting master bd_addr to xx:xx:xx:xx:xx:...