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).

231 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10 votes
0 answers
2k 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 ...
Chris Loonam's user avatar
6 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. ...
Soerili's user avatar
  • 61
5 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 (...
Axel Beckert's user avatar
  • 1,172
4 votes
1 answer
2k views

How to change default apache folder to Flash drive on Raspbian?

I have apache 2.4 on my raspberry pi and need to change DocumentRoot to flash drive folder. But I have 403 Forbidden. In apache logs: AH01630: client denied by server configuration: /media/pi/www/...
Nikita Sidorov's user avatar
3 votes
0 answers
139 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
3 votes
1 answer
235 views

Sporadic slow booting due to fsck (mount count being reset)

I'm hoping to use a Raspberry Pi as the basis of an in-car infotainment system. I've followed a number of guides on reducing boot times, but the Pi will often take a long time to boot—about 20 s ...
screwtop's user avatar
  • 141
3 votes
0 answers
309 views

Coin acceptor misbehave when connected on raspberry pi

I have a Bill note acceptor and a Coin acceptor, and I have wrote a program in C# to communicate with these two machines, and it worked perfectly on windows, after that I migrated this application to ...
amm965's user avatar
  • 131
3 votes
0 answers
135 views

service for mongodb 3.4 server on SLES 12 SP2 Doesn't start(Raspberry Pi 3)

The link below was the source: https://software.opensuse.org/download.html?project=server:database&package=mongodb It was the only mongodb 3.4 which could be installed correctly but unfortunately ...
Posse's user avatar
  • 131
3 votes
0 answers
153 views

Implementing a system call for CPU hotplug on RPI3/ModelB

My goal is to implement a system call in linux kernel that enables/disables a CPU core. First, I implemented a system call that disbales CPU3 in a 4-core system. The system call code is as follows: ...
A.Chaalane's user avatar
3 votes
0 answers
321 views

BLE alternatives to Beacon transmitter - Pi2

I'm working with a Raspberry Pi 2 Model B. Currently my Raspy sends a Beacon signal. No problem to receive it with an Android App. The problem is that iOS can find beacon devices only if i already ...
Alberto Fecchi's user avatar
3 votes
0 answers
565 views

Using kernel debug symbols on Raspberry pi

I see that I can install packages that contain the kernel debug symbols in Ubuntu as shown here. Is it possible to do the same for Raspberry pi? I'd really like to have kernel symbols for the raspbian ...
user avatar
3 votes
0 answers
2k views

Keyboard doesn't work in initramfs

I've setup an encrypted root partition with Ubuntu 15.04 MATE (the latest image). I've fought with it for quite a while now, but I'm now certain that the initramfs has everything it needs in order to ...
Naftuli Kay's user avatar
3 votes
1 answer
4k views

making WiFi adapter run in dual mode - STA and AP

I am trying to make RaLink RT 5370 WiFi adapter run in dual mode - station as well as AP. I have tiny core linux installed on PI, built on top of 3.18.10 linux kernel version. I have been able to make ...
deveshchanchlani's user avatar
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
2 votes
0 answers
42 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
467 views

How to change the logo on login page on Raspberry Pi 4?

I'm using Raspberry Pi 4 with Raspbian OS. Upon turning on my machine, the system asks me to enter my username and password. So on that specific page, there is an official Raspberry Pi logo. I would ...
Dibha256's user avatar
2 votes
2 answers
743 views

USB Button with LED

I need for my raspberry a USB connected device like a button that can be color illuminated and can be pressed. I want to use it to trigger at my raspberry certain actions in sw. I fond this https://...
TrailSurfer's user avatar
2 votes
0 answers
1k views

Traffic Control using Raspberry Pi 3 B+

My router doesn't have bandwidth control per IP/MAC feature. I was wondering if there's a way to use my Raspberry Pi 3+ (that's already used as a pi-hole) to control the bandwidth for each IP/MAC in ...
Mehdiway's user avatar
  • 183
2 votes
0 answers
245 views

Real Time audio recording from two audio input and playing simultaneously in 2 audio output

I have one Raspberry Pi with 2 USB speakers and a mic system. I want to record simultaneously from one mic and play in another speaker. Like, MicA recording will be played in SpeakerB and MicB ...
Dwitam Ghosh's user avatar
2 votes
1 answer
614 views

Mount network share on boot with hidden password

When I was trying to mount a network share on boot by adding the following line to the /etc/fstab file: //<server>/folder /home/pi/target cifs username=<username>,password=<password&...
kzhao1228's user avatar
2 votes
0 answers
158 views

DNS and NTP not working after installing NetworkManger on Raspberry Pi

can anyone help me, this issue has been driving me mad for 4 months, I have very limited experience with any form or Linux and at a complete loss at to how to make it work. I have a Raspberry Pi 4 ...
David R Yuill-Kirkwood's user avatar
2 votes
0 answers
4k views

Warning: modules_install: missing 'System.map' file. Skipping depmod

I am trying to insert a kernel module using depmod and modprobe utilities in-order to resolve any dependencies. When I build the module it throws "Warning: modules_install: missing 'System.map' file. ...
user11875340's user avatar
2 votes
0 answers
992 views

Raspberry PI infrared remote

I have been trying for the past week to make a simple system to switch my air conditioning ON/OFF based on raspberry pi. I have my IR VS1838B infrared receiver, and a small circuit build out of a ...
SabinManiac's user avatar
2 votes
1 answer
661 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
Kareem's user avatar
  • 121
2 votes
1 answer
561 views

Ideas on why my app won't run on Yocto RPi system?

I've built a custom 32-bit non-GUI Raspberry Pi image using Yocto (Morty), built the corresponding SDK, and used the SDK's toolchain to build an app. When I run the app on the RPi, from a command ...
Paul DeRocco's user avatar
2 votes
0 answers
1k views

Raspberry Pi 3, chromium_browser, and Mobaxterm...Not happy!

I have a Raspberry Pi 3 setup running raspbien (usual os, jesie). I use mobaxterm to connect to the box and start up a gui. I can run several apps fine..such as gimp for instance. When I try and ...
Jeffrey Edward Messikian's user avatar
2 votes
0 answers
1k views

RaspberryPi access point on wlan1 stopped working

I have a Raspberry Pi 3 with an external WiFi antenna wlan1 set up as an independent IoT access point without Internet connection following this tutorial, using hostap and isc-dhcp server. I omitted ...
birgit's user avatar
  • 71
2 votes
0 answers
5k views

Raspberry/Linux doesn't recognize USB device

I'm using Raspberry Pi model B+ V1.2 to which I want to connect TP-LINK TL-WN823N Wireless N USB Adapter. I have connected device and this is what happened: pi@raspberrypi:~ $ lsusb -t /: Bus 01....
Yas's user avatar
  • 121
2 votes
0 answers
413 views

Docker image to cross compile node modules for RPI?

I am wondering if anyone knows a way(preferably docker container) to use a Linux Machine, to cross compile a nodejs application, with native modules, such as serialport and run it on a RPI? Thanks
Franklin Dattein's user avatar
2 votes
0 answers
145 views

Problems with Kali on raspberry pi, plus some mac issues

Just yesterday I was able to boot Kali on my raspberry pi without much of a problem. The following day, however I tried booting it as usual. It showed the boot screen and everything with the four ...
Matthew's user avatar
  • 21
2 votes
0 answers
369 views

xpra server error (error accepting new connection)

I'm having trouble connecting to my xpra server. I've installed Xpra version v0.14.10, on my raspberry pi 2 which running on Raspbian Jessie Distro. I connect to my RPi through putty with X11 ...
sphchow's user avatar
  • 281
2 votes
0 answers
833 views

Specify interrupt in devicetree overlay

I have created a devicetree overlay to add an MRF24J40 transceiver to Raspberry Pi. The interface of the transceiver is SPI and an interrupt request. After some trouble the device finally appears in ...
Jonatan's user avatar
  • 121
2 votes
0 answers
80 views

what is the use of this patch 'ASOC: dapm: add code to configure dai link parameters from "rpi-3.12.y" '?

Recently i am working on the raspberry pi kernel rpi-3.12.y When i am using the latest image and modules of it, i am getting an error while rebooting or halting. The error message is like unable ...
optimus prime's user avatar
2 votes
1 answer
146 views

Investigation - pi's password is lost in every reboot issue

I'm investigating this issue: pi's password is lost in every reboot. Issue summary: Change pi's password by passwd command -> reboot -> the changed password always will be changed to another which we ...
Minh Nguyen's user avatar
1 vote
0 answers
117 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
1 answer
507 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
196 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
1 vote
0 answers
152 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
0 answers
232 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
1 vote
0 answers
55 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 vote
0 answers
33 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
1 vote
1 answer
53 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
1 vote
1 answer
575 views

RaspberryPi security, Bios settings, ubuntu secure boot. 2fa u2fa hacking

Do I have to enter operatingsystem in order to access BIOS settings on a raspberry pi? I am thinking about installing ubuntu on a raspberrypi and I see that linux has equvalent to windows 10 safemode. ...
GabeNewel's user avatar
1 vote
0 answers
138 views

Scrolling the Raspberry Pi 400 console

In console mode (without any GUI running), the usual key combination for scrolling is Shift+Page Up/Down. However, on the Raspberry Pi 400, this combination, which should map to Shift+Fn+Up/Down, ...
finitud's user avatar
  • 121
1 vote
1 answer
391 views

/dev/i2c is not showing Raspberry Pi4 running on Android

I am using AOSP android 11 in the RPi4. I have enabled the i2c in config.txt using the param dtparam=i2c_arm=on. The i2c is showing in the /sys/bus/i2c/devices/i2c-1 but /dev/i2c is not listing in the ...
Jijith Janardanan's user avatar
1 vote
2 answers
572 views

Pi 4 not reading the QMC5883L magnetometer

I am trying to set up my magnetometer QMC5883L with my raspberry pi 4. But the pi is somehow not reading the magnetometer. I ran the command i2cdetect -y 1, but there is no detection. My connections ...
Omickey's user avatar
  • 11
1 vote
1 answer
752 views

Java won't let me allocate more ram for my minecraft server on my rP4 8 GB

I recently setup a minecraft server on my raspberry pi 4 8GB running ubuntu server version 20.04, everything on the server works fine, but when I try to allocate 4 gigabytes of ram to the server with ...
LucasL23's user avatar
1 vote
0 answers
57 views

Redirecting log entries - where have I gone wrong

On a Pi Zero, I have two python scripts set up as systemd services. Each has a .service file in /etc/systemd/system. Each has a .conf file in /etc/rsyslog.d that is intended to redirect syslog ...
Gordon Shephard's user avatar
1 vote
0 answers
113 views

Can keyes Sound sensor be used as a Microphone in Raspberry pi?

I am trying to make a speech recognition system on a Raspberry Pi 3 model B+ using Python. It needs a microphone. I have the keyes Sound sensor which looks like this(https://cutt.ly/Jjp9jWP). Can this ...
user14890196's user avatar
1 vote
0 answers
1k views

Problem with USB RFID Reader and Raspberry pi 4

Firstly I'm just a beginner trying to get into pi world so my knowledge is minimal at this point. I'm trying to make USB RFID card reader work on raspberry like it works on my Windows pc, imitate ...
Łukasz Hoffmann's user avatar

1
2 3 4 5