Questions tagged [linux]

Linux is a high-profile computer operating system. The Raspberry Pi can run one of a number of Linux distributions, the most pupular being Raspbian (Debian-based) and Arch Linux.

190 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
331 views

Multiple instances of AudioManager detected vs code on raspi3

I'm using raspberry pi3 B and am new to the linux system (raspbian). I was trying to build VS Code into raspberry pi3 according to: https://www.hanselman.com/blog/...
1
vote
0answers
78 views

Incorrect encoding when software flow control is enabled sim808

I have an issue with my sim808 module and its encoding mechanisms when software flow control is enabled. The issue is simply bad encoding of the lowercase w character (baud rate 115200, Data Bits: 8, ...
1
vote
0answers
39 views

Compiling pascal applications to .elf on PC

I am making a pascal app on my pc for use on my Raspberry Pi, I thought that coding the app on my Raspberry Pi would be inefficient. I have completed the app and now I need to test the app on my ...
1
vote
1answer
290 views

Kernel Development with Raspberry Pi

I want to start working and playing with linux kernel. Instead of trying on my own system, I want to do the same on raspberry pi. I want to compile my own kernel and start working on my first kernel ...
1
vote
0answers
2k views

How to connect to Raspberry Pi from linux PC with serial connection

I've bought a Raspberry Pi 3 model b and a new design of Berryclip which is supposed to include the USB to serial adapter as an additional microUSB port for the Raspberry. Now I've been told that the ...
1
vote
0answers
408 views

How to press enter during booting without keyboard on ubuntu?

I updated my raspberry pi 3. Now every time I boot it says: cannot open access to console root account is locked. Press enter to boot I am able to boot when I press enter using the keyboard. I ...
1
vote
0answers
197 views

What kernel file to use for piCore 9 on qemu?

Trying to load qemu with the good old "kernel-qemu" file results in a sync error. qemu-system-arm -M versatilepb -cpu arm1176 -hda piCore-9.0.3.img -kernel kernel-qemu -m 256 -append "root=/dev/sda2" ...
1
vote
1answer
4k views

How to: run .sh script with rc.local

I have the following: server pi and client pi both running latest update version Raspbian Stretch I have a .sh script on the client pi to update the time from my server pi. When I run this manually ...
1
vote
0answers
299 views

Cannot start the Google Cloud SQL Proxy on RPi 3

I am trying to install Google Cloud SQL Proxy to my RPi 3, but it does not work after install the LINUX-64BIT proxy and the below command on this page Connecting mysql Client Using the Cloud SQL Proxy ...
1
vote
1answer
62 views

why does my raspberrypi 3B not able to reboot each time power is shut down?

I installed raspberian in my raspberrypi. It worked for the first time. But when I shut it down, it didn't reboot again. So, I had to format the sdcard and reinstall the raspberian again. And ...
1
vote
1answer
381 views

Stuck on Rainbow Screen after kernel upgrade on CentOS7

I ran 'yum update' on my Raspberry Pi3 running Centos7, and now it will not boot. Both LED's are solid (no flashing) and it does not get past the 'Rainbow Screen'. The following packages were ...
1
vote
0answers
260 views

CUPS authentication issue when printing to thermal printer connected to Pi

I have this Adafruit Mini Thermal printer connected to a Pi running Raspbian Jesse. I have CUPS installed on the Pi and can print directly to the printer without any issues. But when I try to print ...
1
vote
0answers
264 views

How deep can a virtual machine like VirtualBox emulate Raspberry Pi?

Currently I have the firmware code for a device running on Raspberry Pi. I want to use a linux computer that I have to test the device out using a virtual machine like Virtual Box (To connect it to ...
1
vote
0answers
154 views

Python Google drive upload not working continuously

I am trying to build an auto image Google drive up-loader with raspberry pi and a web-cam but the python script I wrote after executing once properly doesn't seem to work if I execute it again ...
1
vote
0answers
614 views

Error on Raspberry Pi says 'Read-only file system'?

For reference, this is the project I'm talking about here https://github.com/MichMich/MagicMirror bash command being referenced: bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/...
1
vote
1answer
473 views

eth0 prioritize over wlan0, although it has no internet access

My pi is connected to my home router using wlan0, and have access to internet successfully When I plug my pi with an Ethernet cable, connected to other router, not connected to internet, I cant ping ...
1
vote
0answers
130 views

How to setup interfaces file to connect the Raspbian to a PC via SSH and Internet at the same time?

How can I setup interfaces file to be able to connect the Raspberry pi to the internet (4g USB modem) and at the same time to a PC via SSH (ethernet). My interface file look like this (/etc/network/...
1
vote
0answers
688 views

Raspberry 3, python and shared libraries

I want to code something which can remote this robot: Dobot Magician http://dobot.cc/dobot-magician/product-overview.html. I have a Raspberry 3 and I downloaded the precompiled DLL for Linux on Dobot'...
1
vote
0answers
230 views

Homebridge plugin to run scripts and control brightness level

On Mac OS there is a plugin (homebridge-applescript-file-lightbulb) to run applescripts to e.g play music and even with argument from Siri to control "brightness" level. This makes it possible to ...
1
vote
1answer
1k 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/...
1
vote
0answers
1k views

Mount network drive permanently

it's probably a nooby question, but I got some problems with mounting my Samba Share to my Raspberry Pi with OSMC on it. My Samba Server got the IP: 192.168.178.41 Credentials for the Share: User: ...
1
vote
0answers
475 views

Custom Linux kernel Ubuntu Mate (Raspberry Pi)

I'm using Ubuntu Mate for my Raspberry Pi 2 and I'm trying to add a few modules such as enable AppArmor and few other seccomp configurations needed for lxc such as: CONFIG_SECCOMP_FILTER, ...
1
vote
1answer
277 views

HDD spin down too fast

I have external HDD connected to raspberry PI. I wont to set the spindown time to 5 minutes. When I use sudo hdparm -S 60 /dev/sda it works fine. Of course, I set up APM before to 127 by sudo hdparm -...
1
vote
0answers
143 views

ZoomFloppy and Raspberry Pi

I would like to install a ZoomFloppy to my Raspberry Pi 3. How can I do that? I just found older instructions for windows and macs. I'd like to have a step by step guide to do so. TIA
1
vote
0answers
977 views

socat Virtual Serial Port on RPi3 data issue

I'm having issues trying to log and forward data to a program (opencpn). I've got NMEA data coming in from a serial device via a RS232>USB converter. This is fine. I was having issues with opencpn ...
1
vote
1answer
2k views

Raspberry Pi 3 BLE scanning failure

I am trying to implement the next code to scan for BLE devices: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/socket.h> #include <bluetooth/...
1
vote
0answers
18 views

Forwarding calls from Apache server to cpp server both running on Raspberry

I am using raspberry Pi B+ and i have installed both , Apache server and my own cpp server , running on different ports.The cpp server is based on 'GNU Libmicrohttpd' library and i can choose a ...
1
vote
0answers
257 views

Raspberry Pi 2 Motors Moving on startup and Shutdown H-Bridge Chip

I am making a tank rc car with the Raspberry Pi (model 2) and running the 2 DC motors with an L298N H-Bridge Motor Driver Board. I am using Putty (free SSH client) to SSH into my Pi (running raspbian) ...
1
vote
1answer
492 views

Can not use GPIO pins when Official Raspberry Pi screen is connected

I have a Raspberry Pi2 B+ model, with noobs distro installed. I had some programs using wiringPi library and an ultrasound component working (tested them using a separate monitor via HDMI). However, ...
1
vote
0answers
156 views

Can't reach port 9050

I have a problem with tor (this version and also 0.2.7.*). After compilation, with and without installation afterwards, I can'treach port 9050. I would like to see with arm what's going on but it ...
1
vote
0answers
299 views

Raspberry Pi 2 SoC support in Linux 4.5

Today Linux Kernel 4.5 was released with support for Broadcom BCM2836 (Raspberry Pi 2 SoC) (sic). What does it mean exactly, given Raspberry Pi 2 is already working under linux?
1
vote
0answers
7k views

Amazon Instant Video on Raspberry Pi?

I know, I know, there are tons of articles out there about Amazon PRIME instant video, and how it works on Kodi. However, I don't have a prime account, and am not planning on getting one. I have ...
1
vote
0answers
3k views

Setting up raspberry pi for bluetooth low energy (bluez, bluepy)

I am trying to set up a brand-new Raspberry Pi for bluetooth communication using bluez and bluepy tools. This Raspberry Pi is brand-new and running NOOBS. My terminal history is the following (these ...
1
vote
0answers
482 views

How to change the font size in Raspbian LXDE

How to change the font size in Raspbian LXDE? I've already tried the right-click on the desktop menu approach. That changes some fonts, most in fact. But the Konsole menu fonts are still big. Given ...
1
vote
0answers
153 views

Changing from spi bus to i2c bus to transfer register data of wm5102 in raspberry pi with wolfson audio card

I'm using wolfson audio card on raspberry pi b+ board.Current wm5102 driver uses spi bus to transfer register data but i want to use i2c bus to transfer data.By reading data sheet of 5102 i understood ...
1
vote
0answers
944 views

USB Issues with recent kernel build

I am trying to roll my own image for the raspberry Pi, I am using a B+ model Pi. What I want to do is build my own kernel and for now have it load busybox or something similar, but I seem to be ...
1
vote
0answers
1k views

Is there any way to record audio output by using command line?

I'm trying to record the audio output of my pi but i can't find any good solution. I tried to use arecord but it fails because I don't have any input devices. Because of this my idea was to redirect ...
1
vote
0answers
491 views

PIGPIO: Can child process use the parent initilized pigpio library?

I have a parent process (which is a basic tcp server). This process calls gpioInitialise() before forking a child process which polls gpio pins for input. After forking the child, the parent process ...
1
vote
0answers
743 views

Problem with debconf when trying to upgrade

I have problem with upgrade my system. When i used command: sudo apt-get upgrade I get an error: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File....
1
vote
2answers
6k views

Xlib: extension “RANDR” missing on display “:1.0”

I'm trying to run openvibe-designer on my raspberry pie over vnc. Currently I am using Xvnc version TightVNC-1.3.9. All other applications that I've launched over vnc have worked. I only get this ...
1
vote
0answers
454 views

Processing keystroke input on startup

I am currently working on a project where I am using a Raspberry Pi (running Raspian Wheezy) to handle authentication to a locked door. I have a usb numeric keyboard plugged into my pi, and I have ...
1
vote
0answers
4k views

How do I detect if a usb input device is plugged in?

I am using xboxdrv for my MAME controls, however I also want to use my arcade controls via the GPIO also. To do this, on boot up if a xbox controller is detected, I want to load the xboxdrv program, ...
1
vote
0answers
835 views

Raspberry Pi X-session fails to load over SSH

Am connecting from my Linux (Mint) desktop to the Fedora (rpfr18) Raspberry Pi using SSH X tunneling. When the Pi comes up, I connect to it from the desktop xterminal using: SSH -X root@192.168.x.y ...
1
vote
0answers
1k views

Kernel panic Attempted to kill init! - Android kernel on raspberry pi

I compiled an Android Linux kernel for raspberry pi. The board seems to boot with that kernel but I get the following error when it tries to run /init process. Kernel panic - not syncing: Attempted ...
1
vote
1answer
597 views

Configure a device with spi ( Pi Zero )

I am looking for how I can configure a kernel devices ports, I have a MAX3421 usb host shield and I found and compiled the kernel driver for it ( http://lxr.free-electrons.com/source/drivers/usb/host/...
1
vote
1answer
916 views

Cannot connect Raspberry Pi 2 to my computer (Ubuntu) using USB-to-Serial. No prompt shown

I was trying to connect Raspberry Pi 2 to my computer (Ubuntu) using USB-to-Serial. I have exactly followed the tutorial on the internet. I can find the usb device, and I am in the group dialout:...
0
votes
1answer
10 views

Fresh new slackware arm install, unable to log into my raspberry pie 3

I have been trying to install slackware arm (slackware arm current 4.19.81-7+) on my Raspberry pi 3. After i have installed it successfully (following this guide), i was unable to login due to the ...
0
votes
0answers
40 views

Is there anyway to install pfsense on raspberry by using linux distro as base OS?

I need to run pfsense on raspberry pi but since the architectures are different is there any possibility if i install some linux OS on raspberry and run pfsense on that linux OS.
0
votes
1answer
83 views

Run GuixSD distribution on raspberrypi

How we can load a guixsd distribution on raspberry pi? As you know guix is a unix package and guixsd is an operation system that has guix inside itself. In the below link is the different download ...
0
votes
1answer
339 views

Raspberry pi 4 hdmi screen is blank

I have a raspberry pi 4 using the latest Os but I cant get anything to display on my monitor the monitor I am using is MCT101HDMI-A I have tried another monitor and it display works so I know nothing ...