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
12 views

can raspberry pi run in ro mode?

Is raspberry pi able to easily work RO without messing up the FS it is being booted from? I guess low-level (kernel-level that is) support for that must be available because live-cds exist so I was ...
eftshift0's user avatar
  • 730
0 votes
0 answers
48 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
83 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
36 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
14 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
44 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
15 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
39 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
  • 13
1 vote
1 answer
128 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
45 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
28 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
80 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
230 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
81 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
56 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
33 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
75 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
10 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
53 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
1 vote
0 answers
735 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
421 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
77 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
1k 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
327 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
33 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
195 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
139 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
32 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
122 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
121 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
80 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
109 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
76 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
102 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
354 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
113 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
0 votes
0 answers
82 views

Trying to run a windows application on linux using wine

I am having trouble running a windows exe on linux using wine. Fyi: Running Bullseye on Raspberry pi 4 (Raspbian) 32bit version. Installed wine32. Tried running an exe using wine SampleApplication.exe ...
XRRX's user avatar
  • 1
1 vote
0 answers
130 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
288 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
170 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
43 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
51 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
3 votes
0 answers
124 views

Enabling SPI card reader in device tree on Raspberry Pi

Good evening, I have MFRC522 card reader. It works well with generic spidev kernel-level driver and high-level python driver. However, as I wanted to learn device trees in linux, I tried to bind ...
yomol777's user avatar
1 vote
0 answers
32 views

wine: cannot find L"/home/lubuntu/.wine/drive_c/windows/Neko"

I am an unexperienced Linux user. I am trying to run an exe file in wine on live usb lubuntu 22.04 The problem is that when I try to run it from terminal by pasting the destination along with the ...
User lubuntu first october's user avatar
0 votes
0 answers
1k views

Error in building libcamera - Debian 'Bullseye'

Very new to Raspberry Pi & Linux programming, have only been tinkering with it for the past month, so assume I know nothing. Context: I am using a custom 'lite' image from the Cluster Hat website ...
Matthew Banko's user avatar
1 vote
1 answer
50 views

Why is my IDE not opening on raspberry pi?

Context: I am running the 32bit full Raspbian OS on the raspberry pi 4 as a desktop, the newest version. Whenever I open chromium, the default web browser, it simply opens a window. When I tried to ...
Nicholas Pacheck's user avatar
0 votes
1 answer
441 views

Can I fix the port for USB devices in raspberry pi?

I have a raspberry pi and two QR code scanners, scanner1, and scanner2, I want to connect both scanners with the raspberry pi but at specific ports. Rasberry pi has four USB ports 1, 2, 3, and 4 ...
Govind yadav's user avatar
0 votes
1 answer
241 views

python cv2 module not found when triggered by crontab

My python script imports cv2, and it works fine when I start the script manually. If I set the script to launch on boot (either via crontab, or via a .desktop file (in the user/.config/autostart/...
Matt Welander's user avatar
-1 votes
2 answers
375 views

How to extend rootfs before booting

I installed raspbian on an sd card and then booted into a pi zero to do my required configuration and setup. I then made an .img off of this sd card which I'm planning to use in a manufacturing ...
php_nub_qq's user avatar
0 votes
0 answers
183 views

curl --interface not working

I have 2 interfaces - eth0 and eth1. eth0 is an ethernet connection while eth1 is a 4g dongle What works? curl ifconfig.me --interface eth0 curl ifconfig.me --interface eth1 curl ifconfig.me --...
Avinash Sah's user avatar

1
2 3 4 5
18