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
0 votes
0 answers
13 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
525 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
26 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
33 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
30 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
237 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
11 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
0 votes
2 answers
110 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
0 answers
28 views

How to enable SPI1 and SPI0 at the same time on Linux?

I'm trying this: How to enable SPI1 and SPI0 at the same time? on Simply Linux 10.2 with Raspberry Pi 4 Model B. I want to use two touchscreens. I'm adding dtoverlay=spi1-3cs to /boot/config.txt I'm ...
Alexandr's user avatar
  • 135
0 votes
1 answer
132 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
192 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
117 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
42 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
21 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
168 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
19 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
49 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
242 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
102 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
136 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
548 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
2 answers
135 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
70 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
42 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
182 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
12 views

Custom display with realtime CANBUS values being shown

How does one go about using a Raspberry Pi to display a custom display of analogue gauges and values that are sent to the Pi via CANBUS from a vehicles ECU? What software/tools are needed to write the ...
Mike Sacher's user avatar
0 votes
0 answers
59 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
733 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
115 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
2k 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
490 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
38 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
296 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
189 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
41 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
176 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
189 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
117 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
148 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
123 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
145 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
435 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
132 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 vote
0 answers
151 views

Create a Wi-Fi hotspot on a Raspberry Pi (with RPi OS) through its USB port via a USB Wi-Fi adapter?

I need to use the inbuilt Wi-Fi to connect to an Internet access point. In effect, the RPi should act as a router for all intents and purposes, a router that serves all of my devices. But my question ...
Nagaraju Chukkala's user avatar
1 vote
1 answer
435 views

Am I allowed to use underscores for hostname names?

I am trying to give a hostname along the lines of PiComputer_User1 however I am encountering the following error: unable to resolve host (hostname) : Name or service not known I have added static ip ...
hellosquares's user avatar
1 vote
0 answers
222 views

Retain persistent Wi-Fi connection on Raspberry Pi

I have a Raspberry Pi that I need it to remain connected to my WiFi constantly (at least as soon as the WiFI becomes available). In practice, however, I have noticed that when there are problems with ...
Gouz's user avatar
  • 115
0 votes
0 answers
44 views

Raspberry Pi 3B Randomly Reboots After Kernel Upgrade

I have this strange behaviour from my raspberry pi; I have Raspbian Jessie 4.9.35 installed on it and a reboot never occured, but as soon as I switch from that kernel version to a more recent one the ...
Ayman Hammou's user avatar
1 vote
0 answers
54 views

No FIQ.h on Raspberry PI3B+

I was exploring the FQI routine for ARM processors. I noticed that most Linux kernels provide a fiq.h header file yet my RPi does not seem to have it. Using find does not return anything. My Linux ...
Robin Y's user avatar
  • 21

1
2 3 4 5
18