All Questions
Tagged with raspberry-pi4 raspbian
68 questions
0
votes
0
answers
378
views
pygame.error: ALSA: Couldn't open audio device: Unknown error 524, What is going on?
I'm working on a function that takes text and turns it into a .wav file using pyttsx3 on an RPi4B, then using pygame it plays the .wav file (I know pyttsx3 has a built in function for this but we got ...
0
votes
0
answers
20
views
Problem in receiving data from Ethernet interface of Heyer Vizor 12 Patient Monitoring Machine, on Raspberry Pi 4
Introduction:
I am working on a project in Ch. Pervaiz Elahi Institute of Cardiology at Wazirabad, Pakistan. In which, we are assigned the task to fetch patient's vital signs from the Patient ...
1
vote
0
answers
72
views
Sounddevice simultaneous audio playback auto gain problem
I'm using a Raspberry Pi along with a HiFiBerry DAC + ADC PRO to generate and transmit white noise, and then I'm capturing and reading it back in using a loopback configuration. I use the Sounddevice ...
0
votes
1
answer
44
views
How do I run the following script in Raspberry pi 4 terminal as soon as it starts up?
I am currently running the program via VNC and after startup I open the terminal and run the following code
cd home/documents/......
source venv/bin/activate
python new.py
as soon as i run this, the ...
0
votes
0
answers
237
views
Raspberry Pi GPIO - device or resource busy
I'm on a Raspberry Pi 4, and using a Navigator hat from Blue Robotics. When using their library, suddenly the initialization script has started throwing errors.
➜ python git:(master) ✗ python3 ...
-1
votes
1
answer
122
views
ImportError: No module named setuptools on Raspbian OS
I tried to install the Adafruit Python DTH on my Raspberry Pi Zero 2 W (Raspbian64 OS) according to this tutorial - see section PROGRAMMING THE DHT11 WITH PYTHON
For the last step sudo python setup.py ...
0
votes
0
answers
43
views
How do I connect proximity data from an ultrasonic sensor to audio playback volume in python on a Raspberry Pi?
I'm pretty new to coding, but through a combination of fumbling, bumbling, online tutorials, and guides I've managed to successfully get distance data from an ultrasonic sensor (reference here). Now I ...
0
votes
1
answer
1k
views
Installing wayfire-plugins-extra from github on Raspian "Bookworm"
I'm a total beginner with Linux. I have a RaspberryPi 4 running with Raspian "Bookworm" that I want to configure to show some website in kiosk mode. Right now I'm trying to hide the cursor ...
1
vote
0
answers
353
views
Raspberry Pi OS Bookworm - system version (32/64 bit) on rpi4 problem
I launched Raspberry Pi OS Bookworm lite 32-bit on my 32-bit Raspberry Pi 4 and when I run the command uname -a, I got this output:
Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+...
0
votes
1
answer
265
views
Problem with ALSA with Raspberry Pi 4b and voice recognition
I get the following error:
def recognizer():
try:
with sr.Microphone() as voice:
listen = sr.Recognizer()
voices = listen.listen(voice, 2, 30)
command = ...
1
vote
1
answer
888
views
raspberry pi 4 - trying to emulate mouse and keyboard - BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
I have a Pi4 running Bookworm with Kernel 6.1.21 and I'm tring to emulate the keyboard and mouse.
I have a boot script running that looks like this one: Mouse emulation on Raspberry Pi 4 does not work
...
0
votes
1
answer
823
views
Installing ROS on Raspbian
I am attempting to install ROS on Raspbian OS.
I know its meant for Ubuntu, but I've seen this done before and want to get a working installation on Raspbian due to some requirements I have.
When I ...
0
votes
0
answers
1k
views
Auto run VLC on Raspberry
I've installed a headless install of Raspberry PI OS lite and VLC. I'm able to start a stream with the following command:
vlc rtsp://192.168.1.8:7447/xo878sAewsO
Now I'm trying to start this script ...
0
votes
0
answers
96
views
Tensorflow 2.0.0 install failed on raspberry pi4
I am attempting to install tensorflow 2.0.0 on my raspberrypi4
wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.0.0/tensorflow-2.0.0-cp37-none-linux_armv7l.whl
pip3 install ...
1
vote
2
answers
896
views
OpenVINO 2022.3.0 Raspberry pi 4 can't install openvino-dev
I'm trying to install openvino-dev on my RasPi4 (Raspbian OS 64-bit), through pip(python3.9.2) and getting this error:
ERROR: Could not find a version that satisfies the requirement openvino==2022.3....
0
votes
0
answers
358
views
eBPF and global variables support in Debian 5.15 for Raspberry Pi
I am running Raspbin OS which is essentially Debiain distribution on Raspberry Pi Model 4B. The linux kernel version is 5.15.80 and I customized the kernel by setting flags for eBPF support. I have ...
0
votes
0
answers
52
views
UTF 8 text file Error on Raspi, what is the problem?
The problem: Sometimes when our project doesn't detect an object. The text file generated with this function becomes a UTF-8 Encoding error. Maybe I'm no expert at python but I can't seem to track ...
0
votes
0
answers
718
views
Error installing PySide6 on Raspberry Pi4
I created a project using QTcreator with PySide6 and cv2 on a Ubuntu Linux computer, and it worked very well. However, when I transferred this project to my Raspberry Pi4, problems arose.
I tried to ...
1
vote
3
answers
5k
views
Sudo apt-get update in raspberry pi is not working after raspbian updates & folder structure change in http://raspbian.raspberrypi.org/raspbian/
Since recently i am facing an issue with sudo apt-get update and sudo apt-get upgrade, There is an official updates from http://raspbian.raspberrypi.org/raspbian/
Issue is listed below
santhosh@...
0
votes
0
answers
166
views
What is the best way to enumerate the properties of all USB devices attached to a Raspberry Pi 4B using C# .NET 7?
I am somewhat new to Linux (Raspbian 11). I am writing a C# .NET 7 application and need to obtain a list of USB devices attached to the Raspberry Pi 4B.
For each USB device attached, there is a zero-...
1
vote
0
answers
452
views
Raspbian boot up splash screen
We have a raspberry pi 4 based device with a display, and when it is booting, it should start our program (which is does as init.d service). It boots up to console and then starts the program as it ...
0
votes
1
answer
575
views
[Solved[ Streming prime video won't work in Chromium
I just installed a Raspberry Media Center for streaming from Netflix/Crunchyroll/Youtube/Prime Video/Files from Network with Kodi. Everything works besides streaming from Prime Video. That leaves me ...
0
votes
0
answers
2k
views
Attribute Error: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' Raspberry Pi
ON a fresh OS install, I first installed firebase-admin and it installed fine. The I am trying to install 'pyrebase' but I get the above error. I followed this solution of editing crypto.py .....
...
0
votes
1
answer
538
views
K3S multiple Kube-System pods not running with Unknown Status, including DNS pods
Environmental Info:
K3s Version:
k3s version v1.24.3+k3s1 (990ba0e8)
go version go1.18.1
Node(s) CPU architecture, OS, and Version:
Five RPI 4s Running Headless 64-bit Raspbian, each with following ...
0
votes
0
answers
71
views
Calling python scripts and functions through other scripts [in raspian]
I'm running into a problem on my Raspberry Pi 4 (running Raspbian) where: when I run a Python script through a terminal that invokes a subsequent Python script upon the successful run, returns the ...
3
votes
4
answers
13k
views
Temporary failure resolving 'raspbian.raspberrypi.org'
iam not able to update any thing on my pie, iam getting the following error
Err:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
...
1
vote
2
answers
909
views
advanced ip scanner cant find raspberry pi ip address
enter image description hereFollowing things I have done :
I downloaded raspberry pi os on sd card using "Raspi Card Image" Inserted sd card to raspberry pi and connected ethernet cable and ...
0
votes
0
answers
416
views
Running Mplayer in Docker on Raspberry Pi 4
I have a small dotnet client that runs videos using mplayer on Raspbian.
When logged in via SSH, I can run mplayer manually providing i set the DISPLAY variable to :0 and run mplayer as follows:
...
0
votes
1
answer
2k
views
No module named dbus - I already have that - Raspbian
I'm getting an ImportError "no module named dbus" when I reinstalled it
("sudo apt-get install --reinstall dbus")
It wrote me
"0 upgraded, 0 newly installed, 1 reinstalled, ...
0
votes
0
answers
110
views
Raspberry Pi takes total 8 seconds to capture the image for two camera. How to reduce time?
I have two camera connected to RPi (1 USB camera and 1 RPi camera). I need to capture both images to do some processing on them right after image capture
I have this code:
file1 = 'imagecapture' + '...
1
vote
1
answer
1k
views
ModuleNotFoundError: No module named 'mysql' with mysql-connector-python already installed
I'm trying to connect my python scripts to an MySQL or MariaDB Server on my RaspberryPi4.
My python script right now just contains import mysql.connector. But when I try to start it via sudo python3 ...
0
votes
1
answer
795
views
Amazon Prime Video totally freezes/crashes Raspberry Pi 4 in Chromium
Since the Widevine support is available for Raspbian I'm able to watch Netflix and Amazon Prime Video on the Raspberry Pi just using the Chromium Browser.
I have, however, a strange behaviour when ...
0
votes
0
answers
314
views
How to build .NET 6 framework on Raspberry Pi 4 which is based on Yocto (Dunfell)?
Does anyone know how to build .NET 6 framework on Raspberry Pi 4 which is based on Yocto (Dunfell)?
Is it possible to do that?
Or what are the alternatives that I can have?
I have built Yocto image to ...
0
votes
0
answers
2k
views
ffmpeg output to framebuffer (fbdev) Raspberry Pi 4
I have been trying to play a video on the frame buffer with ffmpeg. In theory this
ffmpeg -i /dev/video0 -pix_fmt bgra -f fbdev /dev/fb0
I get errors like
[fbdev @ 0xfcb380] Pixel format bgra is not ...
-1
votes
1
answer
2k
views
Raspberry Pi - change keyboard shortcuts
on RPI its possible to open the terminal with keyboard shortcut CTRL+ALT+T.
Is there any way to change this shortcut to another combination or completely remove it?
0
votes
0
answers
233
views
Visual studio on Raspberry pi not working properly (TAb, CTRL+M, DEL, backspace not working)
I'm using a raspbian Linux on a raspberry pi 4 2GB Ram through a VNC link to code C++ directly on it and control the GPIO pins.
I was coding with Geany until now which was working very fine, but it ...
8
votes
4
answers
20k
views
How to change the default matchbox-keyboard layout
I followed some guides to install an onscreen keyboard (matchbox-keyboard) and create a toggle button but for some reason the default layout that was installed for me is missing everything but basic ...
1
vote
0
answers
122
views
How can I fix this gTTS issue?
I have the following code with gTTS
from gtts import gTTS
obj = gTTS(text = "Hello there", lang = 'en')
obj.save("hello.mp3")
For some reason, however, (I'm using version 2.2.3, ...
1
vote
2
answers
1k
views
How to install opencv on raspberrypi 4 with python3.7
everyone,
The default version of python on the Raspberry Pi 4 is 3.9. I need python 3.7. I successfully install python 3.7.4 and set it as default by adding the line alias python3='python3.7' to the ...
0
votes
1
answer
133
views
Raspberry Pi - Open rdesktop connec
I'm as the title says, i'm trying to open an rdesktop connection on boot but cannot get it to work.
I placed a .desktop file in .config\autostart that should open a shell file. The file then runs this ...
0
votes
2
answers
1k
views
raspberry pi 4 autostart rdesktop
I'm having trouble automatically starting rdesktop on my raspberry pi 4.
I'll give you how I have it configured to see if you can help me find the error and thus be able to solve it
I edit the ...
0
votes
1
answer
8k
views
Pivpn no internet
This question might seem duplicate but I've tried all other solutions which are years old so please help.
I setup Pivpn on my Raspberry Pi but cannot access internet via VPN.
Running ping 1.1.1.1 -I ...
0
votes
2
answers
1k
views
Error at build docker image in Raspberry pi
I am trying to build a image in my RaspBerryPi 4 with raspbian.
I want to make a docker image that run a python Image:
my directory is:
analizador_doff
| tarea_periodica.py
| Dockerfile
| ...
0
votes
0
answers
947
views
Motion on Raspberry Pi: Problems with 2 camera's on USB 4 channel composite video capture device
I'm using Motion on an rPi 4B as a multi camera solution to be used on a boat (to get 180° front view). I tested it with 2 IP camera's and one USB camera and that worked fine. I was able to view the ...
0
votes
0
answers
50
views
Cant Get Out of For loop, it ignores break. have tried to change it but seem to just break my LED output
def shiftOut(dPin,cPin,order,val):
for i in range(0,8):
GPIO.output(cPin,GPIO.LOW);
if(order == LSBFIRST):
GPIO.output(dPin,(0x01&(val>>i)==0x01) and ...
0
votes
1
answer
636
views
How can I make my discord.js start at boot using node pi-4?
I am new to linux in general so I may not be aware of certain things. So, I have tried multitudes of solutions but I haven't succeeded in running the discord.js bot. I have used rc.local with other ...
1
vote
0
answers
273
views
Arduino USB serial connection to Raspberry Pi (Rasbian) not initializing
I have an Arduino Nano 33 iot that outputs data via Serial at 38400 baud, connected via USB. Setup starts with Serial.Begin. The Raspberry Pi 4, running Raspian buster is set up to receive the data. ...
1
vote
1
answer
116
views
TypeError: object.__init__() takes exactly one argument when moving Kivy application to 2.0.0
Is anyone able to advise?
I have an application running perfectly well on Pi3/ArchLinuxArm/Kivy1.11.
I am attempting to move the application to Pi4/RasPiOS Lite (Buster)/Kivy2.0.0.
Now a piece of code ...
0
votes
1
answer
465
views
Raspberry Pi wifi LAN Server how to?
I want to run a Node web server on my Pi, and connect to it via the Pi's wifi. The idea is that I can access the server when I am in the middle of nowhere and just plug the Pi to a 5V output and login ...