Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [linux]

Linux is a contemporary multi purpose operating system. The Raspberry Pi can run one of a number of Linux distributions, the most popular being the official "Raspberry Pi OS" (formerly Raspbian).

Filter by
Sorted by
Tagged with
-2 votes
0 answers
43 views

Minecraft Pi does not run on RPi 5 [duplicate]

I have recently bought a Raspberry Pi 5 and installed Raspbian Bookworm on it. I have one minor problem that is kind of bugging me a bit: Minecraft Pi does not run! It did not come pre installed on my ...
snakes_are_cool's user avatar
-2 votes
0 answers
19 views

creating own system, is it possible to make a uuid as the root parameter in cmdline.txt? [closed]

so i got console=serial0,115200 console=tty1 root=9793db01-3255-444b-863b-bce347337ad5 rootfstype=vfat elevator=deadline fsck.repair=yes rootwait quiet init=/usr/bin/cli this cmdline.txt and i think, ...
Mark's user avatar
  • 1
0 votes
0 answers
16 views

Booting a raspberry pi disk image using qemu without an external kernel?

Back in the day, qemu didn't have actual support for the raspberry pi, so while it was possible to boot a raspberry pi disk image in a virtual environment, it required a special kernel. Since then, ...
larsks's user avatar
  • 653
0 votes
0 answers
9 views

"Invalid module format" when running a cross-compiled linux kernel module

I'm trying to cross compile the ad7192 linux driver for a raspberry pi 4 running the latest 64 bit raspberry pi OS(kernel 6.6.20). pi@raspberrypi:~/projects$ uname -a Linux raspberrypi 6.6.20+rpt-rpi-...
Arun Cheriyan's user avatar
0 votes
1 answer
23 views

Raspberry Pi won't autorun program without an HDMI monitor plugged into it

I can't figure out why my Raspberry Pi will not auto-run a program on startup. I've tried everything that I can find. The Pi boots and runs the program fine with a monitor plugged in, but as soon as I ...
sam w's user avatar
  • 1
0 votes
1 answer
89 views

Kernel in use does not match headers after manual update

Goal: configuring my RPi 4 to act as a bridge/router between the cafe wifi downstairs and my private network while also using Pi-hole for my local network. Effectively, my wlan0 connects to the cafe (...
letmeinLetMeInLETM's user avatar
0 votes
1 answer
398 views

How to solve Missing X server or $DISPLAY when trying to change the loaded website in chromium

I am a newbie with using raspberry and I am using chilipie-kiosk to develop a kiosk on a raspberry pi. The idea is when the Raspberry Pi starts, the Chromium browser is launched with a page that we ...
Jorge Palacios Zaratiegui's user avatar
0 votes
0 answers
17 views

Failed to initiate p2p connection between raspberrypi4 and linux Laptop

currently, I am working on a P2P connection between Laptop and Rpi4 facing interface creation fail issue while using wpa_supplicant to create a connection between the laptop and Raspberry Pi 4B to ...
Reddy Bhargavi's user avatar
1 vote
2 answers
3k views

Raspberry Pi 5 edit / modify temperature limit for the active cooler FAN

I am willing to modify the Temperature limit that the pi has to turn on its fan on, to cool down. Because by default it says the fan only starts when the pi gets hotter than 60C. https://www....
user160384's user avatar
0 votes
1 answer
30 views

flashing a microsd with a bootable OS that already has ssh opened up?

i dont have spare mouse keyboard or microhdmi. But I do have an ethernet cable. Therefore I need to access and control the board with SSH. Is there a way to achieve this with preconfigured SSH? server?...
Fermat's Little Student's user avatar
0 votes
1 answer
48 views

compiler linking error GPIO libraries no longer initialising

I am working on a private project and have run into a linking error described below: undefined reference to `gpioSetMode' collect2: error: ld returned 1 exit status I am using g++ and the terminal to ...
winterx0's user avatar
0 votes
1 answer
44 views

cannot autostart snap on Rpi4 bullseye

I have a pi with Debian bullseye. I have a snap - zwave-js-ui. The snap works fine (sudo snap start zwave-js-ui); however I would like it to start on boot. The enable appears to be unsuccessful: sudo ...
minisaurus's user avatar
1 vote
1 answer
643 views

firefox in fullscreen mode on raspberry pi 4 (debian bookworm)

I need my raspberry (new Pi OS with debian bookworm) to show a certain web page in full mode, so I run this script firefox -kiosk -private 'www.example.com' and can expect firefox to open www.example....
tux's user avatar
  • 11
0 votes
0 answers
12 views

seedstudio reterminal not turning off after sudo reboot

I am using the seedstudio reterminal with cm4 to make a program that involves sht20 sensor. I encountered an error and found one solution in editing the “boot/config.txt” , by just adding some lines ...
arctic's user avatar
  • 1
1 vote
2 answers
210 views

How do I get Raspberry Pi Pico to mount to the same Linux device every time it's in BOOTSEL mode?

Basically what's happening: I plug in my Pico W to my Raspberry Pi 4B (8GB model, running Ubuntu Server 23.10 arm64) via USB while holding down the button, so it's in BOOTSEL mode. I run sudo dmesg ...
HackerDaGreat57's user avatar
0 votes
1 answer
262 views

External USB drive hangs whole system and randomly disconnects on raspberry pi

I have a raspberry pi which I use as a NAS with SAMBA. After I installed a brand new drive (480 GB Lexar SSD) into a Sata-To-USB adapter, the system acts weird (raspbian bullseye). When opening parted,...
Bellacoda's user avatar
0 votes
0 answers
276 views

How to install Tizen TV profile on Raspberry Pi 4

I also asked this on the actual Tizen community forums, but just in case no one replies on my thread in the Tozen forums, I posted here. I want to be able to have Tizen TV profile on my Raspberry Pi 4....
Anston Sorensen's user avatar
1 vote
1 answer
131 views

Correct cross-compilation options to run binary on Raspberry 3 model B

I have Raspberry Pi 3 Model B with me. I am developing on Ubuntu Linux laptop computer. I want to cross-compile so that the binary may run on Raspberry. My Raspberry info: pi@raspberrypi:~ $ cat /proc/...
AlphaParticle's user avatar
0 votes
1 answer
50 views

is /etc/network/interfaces.d/ redundant with this

I use a Raspberry Pi, and have the following set in /etc/dhcpcd.conf: # static IP configuration: denyinterfaces wlan0 interface eth0 static domain_name_servers=8.8.8.8 1.1.1.1 interface usb0 static ...
Jeroen Oudshoorn's user avatar
0 votes
0 answers
22 views

Configuration of iqaudio digiamp+ on Matlab

I try to implement a simple Simulink-model on my Raspberry Pi 4 model b . For this, I have a simple sine wave with 1/8000 sample time wich I pluged into an ALSA Audio Capture Block. When I try to run ...
Scorpio731's user avatar
0 votes
0 answers
270 views

Operating system (Home Assistant OS) won't load anymore

I'm running Home Assistant OS on a Raspberry Pi 4b. A couple of days ago, I lost connectivity, it won't boot anymore. When I connect a HDMI cable, I don't see anything, monitor doesn't even say it's ...
Tobias's user avatar
  • 101
0 votes
0 answers
24 views

USB-to-CAN not working but reported as working

I'm using an USB-to-CAN-Udapter on RasparryPi. Everything seems good and CANsend is also reflected in CANdump. State seems to be fine according to ip -details -statistic link show can0 as well: &...
Michael Mayer's user avatar
0 votes
1 answer
50 views

How to Access corrupted Raspberry Pi SD card using Ethernet Connection

I have Raspberry PI with Corrupted SD card, showing Kernel Panic Message, is there any way i can access it without removing SD card from SD card SLOT, raspberry pi is connected with Ethernet, which is ...
abhi's user avatar
  • 23
1 vote
1 answer
309 views

Why is my measured I2C clock frequency significantly slower than its setting?

I am setting the I2C frequency on the Compute Module 4 (running Ubuntu 22.04.2 LTS) with dtparam=i2c_arm=on,i2c_arm_baudrate=400000. The I2C bus has two parallel 10kOhm pullup (to 3.3V) resistors per ...
Eric's user avatar
  • 21
0 votes
0 answers
121 views

How to solve "E: Sub-process /usr/bin/dpkg returned an error code (1)"?

I am working on a Raspberry Pi 3 with Ubuntu. When I try to execute the following command: sudo apt install raspberrypi-kernel-headers I receive the following error: Paketlisten werden gelesen... ...
Michael's user avatar
0 votes
1 answer
29 views

Unable to run linpack on head node of cluster

I recently set up my own home cluster - 4 units of raspberry pi. But I am having problems trying to benchmark all 4 units using Linpack One node is the head node called rpislave1, it connects to the ...
AlexChan's user avatar
0 votes
0 answers
142 views

how to change default network adapter

i recently bought a external network adapter (alfa awus036AXML ) and wanna use with my Raspberri pi 4 type b.i installed Kali Linux on my Raspberri pi. can you help me please? i installed the Drivers ...
aspjava's user avatar
0 votes
1 answer
700 views

rpi-imager not working in ubuntu 22.04.2 LTS x86

I want to use rpi-imager in ubuntu sudo -i apt update apt install rpi-imager rpi-imager but it couldn't work.The log is: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' ...
chaganhu's user avatar
-1 votes
3 answers
170 views

Translate GPIO pwm commands to linux sysfs interface

I am trying to translate some raspberry pi gpio pwm commands to use the linux sysfs interface to control the pins instead in order to get the same pwm output. The goal of this is to provide pwm output ...
turtlemcnuggets's user avatar
0 votes
0 answers
81 views

How to make a raspberry pi zero recognisable with tty from linux?

I am trying to configure a raspberry pi zero w to be used through the screen function on linux. In order to achieve this, I have to make it recognisable through tty. It is supposed to be recognised as ...
Intfly's user avatar
  • 1
0 votes
1 answer
44 views

How best to transfer "personal settings" between SD cards?

{I believe this was asked 11 years ago, and every answer missed the point by fixating on the idea of CLONING an entire image from a smaller capacity SD card to a larger/faster one... NOT what I'm ...
Bear Metal's user avatar
0 votes
1 answer
234 views

Raspbian Desktop and Netcat script at boot

I'm a complete beginner and I'm looking for some help. I need to automatically start a command / script at boot to listen for a port from Netcat on computer with Raspbian Desktop version. If I open ...
BudFox77's user avatar
0 votes
0 answers
62 views

Raspberry Pi downaload of CV2 gone wrong

I have installed the CV2 library on my raspberry pi 4, but when I proceeded to import it I got this error: ImportError: libjasper.so.1: cannot open shared object file: No such file or directory I ...
David's user avatar
  • 1
2 votes
1 answer
1k views

Specified qdisc kind is unknown when using tc netem to emulate latency on Raspbian

When I tried to emulate latency using tc. I get the following error on Raspberry Pi 3B+. sudo tc qdisc replace dev eth0 root netem delay 100ms Error: Specified qdisc kind is unknown. These are the ...
Sahan Samarakoon's user avatar
0 votes
1 answer
958 views

Python code cannot detect my i2c address

I would like to ask some opinions regarding i2c communications with pca9685. My i2c1(SDA=GPIO2, SCL=GPIO3) of my rpi 4b is used by my mpu6050, which I had to enable one more i2c channel of my ...
Bobking's user avatar
  • 11
1 vote
0 answers
129 views

PCA 9685 i2c communication issue

I would like to ask a question regarding the usage of secondary channel of i2c in rpi 4b. I have enabled the secondary channel through adding "dtoverlay=i2c-gpio,bus=2,i2c_gpio_sda=22,...
user153780's user avatar
1 vote
2 answers
4k views

Mounting exfat drive with read/write permissions for a non root user

I’ve been reading a few posts about this, but still haven’t gotten any traction. I’m convinced I’m dealing with my options getting overridden. Context I have an exfat mounted drive on a Raspberry Pi 4....
sameetandpotatoes's user avatar
1 vote
1 answer
580 views

How to Access Terminal Over Serial Port in Raspberry pi 4

I'm trying to Read and Write over Serial Port to Terminal in Headless Linux That I Installed on my Rpi4. is That even Possible? is so, how?
user avatar
1 vote
0 answers
42 views

Why root user has different library version than simple user? [closed]

I was trying to build one project with cmake but turned out that root doesn't have it (admin user had it). After installing it on root they have now different versions. I thought that root has only ...
PiotrBzdrega's user avatar
3 votes
1 answer
354 views

Uninterrupted, endless SPI transfer - is it possible?

I wrote a linux driver for SPI protocol so RaspberryPi could communicate with my device that's using serial data transfer (the device has clock input and data output). It almost works, the problem is ...
PookyFan's user avatar
  • 133
1 vote
0 answers
220 views

Cubic Ubuntu virtual environment not working

When I try using Cubic Ubuntu to make a custom image of Ubuntu, I put in the ISO file, rename some things here and there, and click next. After it copies some stuff and does its thing, it tries to ...
Darshan Kolesar's user avatar
2 votes
0 answers
47 views

QPU On Linux Framebuffer Device

I've been trying to use RPI's DPI driver alongside some logic gates to drive an epaper display. I've got it working pretty well on the CPU, essentially how it works is that it copies /dev/fb0 i.e. X ...
ZZT Production DIY and Gaming's user avatar
2 votes
0 answers
206 views

sudo ./install.sh cant run the script [SOLVED] [closed]

Using RPi 4 model B Rev 1.4, Raspberry Pi OS. I'm trying to install MCC's DAQ hats. I have the followed all the instructions but when I try to run, sudo ./install.sh I get the following, sudo: ./...
DrBwts's user avatar
  • 199
1 vote
1 answer
211 views

First steps on troubleshooting crashes for aheadless pi?

I use a Raspberry Pi 4 8 GB as a headless server to run stuff like pihole, nextcloud, wireguard, etc Ever since I switched from booting and operating from an SD card to an external SSD drive over USB, ...
Manuel Pedro Gómez Castro's user avatar
0 votes
1 answer
128 views

Can't access terminal after Raspberry Pi 4 boots (custom image)

I am trying to build my own custom Raspberry Pi 4 image. I have successfully built the kernel and busybox. I have setup my SD Card into 2 partitions: -boot -rootfs I used a USB to TTL cable to view ...
kakashi07's user avatar
0 votes
0 answers
160 views

No activity LED after shorting GPIO pins 3 and 5 on Raspberry Pi 4

I accidentally connected the fan to GPIO pins 2 and 3 or 3 and 4 (I am not sure which pair I connected but not both pairs are tougher) and now my Pi won't boot up. It is showing a solid red light. But ...
Savad's user avatar
  • 101
2 votes
1 answer
145 views

Raspberry Pi Imager for Standard User

I am helping design a lab at school where the students of the class will image their own Raspberry Pis. Right now there are only 20 students in the pilot class, but I will soon need to scale this to ~...
christopolise's user avatar
0 votes
1 answer
170 views

Corrupted syslog file. Has anyone a clue what could have happened here?

this is the extract of the syslog from a Raspberry Pi. On it runs an unbound server and other network stuff. For some time I have the problem that in "regular" intervals (about every 4 weeks)...
JJandke's user avatar
  • 71
3 votes
2 answers
489 views

i2c_arm bus initialization and device-tree overlay

I've built a Pi1541 HAT, just for fun, and am now playing with the device-tree autoconfiguration in Raspbian. I've made an overlay that autoloads during boot, based on the EEPROM contents, and that ...
Hans Liss's user avatar
1 vote
1 answer
150 views

My Application (based on python tkinter) is not running at Boot time (autostart) in Raspberry Pi Os?

I have made executable file of python tkinter application. It runs well when clicked. But I want to run it at Boot time (AutoStart) in Raspberry Pi Os. I have tried many methods but they didn't work. ...
Sukrit Machine Tools's user avatar

1
2 3 4 5
18