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

187 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
536 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 ...
4
votes
0answers
409 views

Is it possible to install Rocks Cluster Distribution on Raspberry Pi?

There are lots of websites about making a supercomputer with Raspberry Pi. Is it possible to install "Rocks Cluster Distribution" on Raspberry to have a more efficient cluster?
3
votes
0answers
120 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 ...
3
votes
0answers
975 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 (...
3
votes
0answers
130 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 ...
3
votes
0answers
138 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: ...
3
votes
2answers
2k views

Setting up ad-hoc wireless

I have pi 'A' setup to be an adhoc network and using dhcp3-server. /etc/network/interfaces auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 iface wlan0 inet static address 10.10.1.1 ...
3
votes
0answers
998 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 ...
3
votes
1answer
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 ...
2
votes
0answers
302 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. ...
2
votes
0answers
67 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 ...
2
votes
0answers
49 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&...
2
votes
0answers
64 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 ...
2
votes
0answers
589 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 ...
2
votes
1answer
2k views

Trying to run plex media server on Raspberry Pi

Hi I'm trying to run Plex on my Raspberry Pi 1st gen rev B, but it does not seem to be starting. I have followed this guide and looked at others that look the same and can't see what the issue is. It ...
2
votes
1answer
350 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 ...
2
votes
0answers
969 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 ...
2
votes
0answers
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 ...
2
votes
1answer
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/...
2
votes
0answers
4k 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....
2
votes
0answers
382 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
2
votes
0answers
293 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 ...
2
votes
0answers
132 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 ...
2
votes
0answers
274 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 ...
2
votes
0answers
706 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 ...
2
votes
0answers
450 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 ...
2
votes
0answers
71 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 ...
2
votes
1answer
57 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 ...
1
vote
2answers
36 views

Writing to framebuffer on C is very slow (Raspberry Pi)

I want to make a very intensive simulation and need the most power the Raspberry Pi gives me. So I flashed Raspberry Pi OS Lite (without Desktop) onto an Micro SD Card and wrote to the framebuffer in ...
1
vote
2answers
66 views

How can I delete Chromium browser history at boot up on Raspberry Pi-4 b

Playing the online game, Forge of Empires, I get the notice to clear cache. This is run in Chromium Browser on my Raspberry Pi 4 b 4Gb running Raspberry OS 32 bit.
1
vote
0answers
63 views

How do I use the proper linux header extension folder

I am trying to build a TP-Link driver and when I run make I get... "******************************************" "NO SKRC,we will use default KSRC" "******************************************" make ...
1
vote
0answers
249 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 ...
1
vote
0answers
85 views

Compile Linux kernel with toolchain built for aarch64 and uClibc

I am using RPI3 model B I have compiled toolchain using crosstool-ng with the following sample. ./ct-ng aarch64-rpi3-linux-gnu Using ./ct-ng menuconfig, I changed C library from glibc to uClibc. ...
1
vote
0answers
96 views

Linux driver support for OV4689

I am working on Camera driver in Linux. We used camera module with OV4689 IC. Below is the link https://www.arducam.com/product/1-3-ov4689-sensor-standalone-camera-module-uc4689-a46/ Any one used ...
1
vote
0answers
28 views

Scan and label mac addresses on local network with web interface (similar to fing)

I really like the fing app on android (app that brute force scans all ips on the local network then port scans to see what services are active) and I was wondering if there was something similar that ...
1
vote
0answers
29 views

Reconfigure xserver?

I was installing different DEs like KDE Plasma and Cinnamon on Rasbian buster. I uninstalled KDE and I’m using Cinnamon as my permanent DE, but somehow KDE reconfigured xserver so that even now with ...
1
vote
0answers
78 views

Problems with cifs/ntfs

I've been working on setting up Transmission to download to my NAS, which has a shared NTFS directory. I'm getting an error "Error: Permission denied (/mnt/ntfs/...) I understand this has to do with ...
1
vote
0answers
2k 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. ...
1
vote
0answers
115 views

Where does the Raspberry PI 3 b+ IO peripherals mapped in the ARM virtual address space?

BCM2835 data sheet The earlier version of Raspberry PI (BCM 2835) data sheet shows that the IO Peripherals are mapped from starting address - 0x20000000 - In ARM physical address space 0xF2000000 - ...
1
vote
0answers
323 views

Linux VPN server without port forwarding

I want to make a VPN server on my raspberry PI. I know it's pretty much simple task but my router does not support port forwarding. So is there any other way to do that?
1
vote
0answers
215 views

Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ buildroot

I am building a Custom OS using Buildroot. I am following this article to build the custom os. Author of that article gave a sample image of the os that will be created after the build is completed. ...
1
vote
1answer
156 views

How can I restore the default toolbar or add apps from the command line?

So I was messing around with the toolbar and ended up deleting the whole panel. When I rebooted my Pi, the panel came back, but it was empty, so I opened the toolbar editor, and was able to add an ...
1
vote
1answer
357 views

Using cgroup module in iptables cause “no chain by that name” error message

Trying to use cgroup module in iptables rule cause "No chain/target/match by that name" message. I'm using: Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux ...
1
vote
0answers
418 views

Raspberry Pi/OBDII/Serial Communications over Bluetooth

Thanks for having a look at my post and my problem :) I'm presently developing an automotive on-board diagnostics scanner application in python3/wxPython. For the communications heavy lifting, I'm ...
1
vote
1answer
115 views

Earliest place in boot for output to I2C LCD (not HDMI)

We're using an embedded Raspberry Pi that uses a (I2C) 4x20 LCD (character) instead of HDMI. Since the boot process can take some time I'd like to get something on the LCD as soon as possible to say ...
1
vote
0answers
429 views

Raspberry pi3 TFT screen setup

EDIT: This is the the screen I bought This is my first post here so I hope I do not screw up too much... I have a raspberry pi3 with 3.5inch tft resistive touchscreen display (720x480) connected via ...
1
vote
0answers
71 views

Odd characters in LXTerminal with RealVNC viewer

Image below shows the output from service cron status, via ssh on the left, LXTerminal via RealVNC on the right. Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux ...
1
vote
0answers
55 views

Raspberry Pi jammed after few days of continuous work? size full?

I made a project on raspberry pi 3+ and left it on over a weekend. After 4 days, when I came back, the program was not working. When I try to connect it with Remote Desktop, it was not working. I ...
1
vote
0answers
74 views

Calling a program from /etc/rc.local

I have a simple script that adjusts the monitor's brightness that is set to run on startup. #!/bin/bash gpio -g 18 1024 gpio -g mode pwm gpio pwmc 1000 gpio -g 18 800 I am calling this script from /...
1
vote
1answer
612 views

SSH on Raspberypi hang or frozen

I have direct connection with Raspberry pi via ethernet cable on linux machine. if i run ssh pi@10.42.0.22 i could establish secure connection. the problem i encountered is raspberry hang or frozen ...