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.

Filter by
Sorted by
Tagged with
6
votes
3answers
5k views

Compile linux module on Raspbian error

I am trying to compile a simple helloworld module on my Raspberry Pi B+ under the 3.18.7+ Kenel. I did it after THIS tutorial. When I try to build my module I have this error : make[1]: *** /lib/...
0
votes
2answers
466 views

Can the Pi run an embedded RTOS other than Linux?

I have a hobby project that requires a real-time MCU running an embedded RTOS like embox or something comparable. I know that it is typical for the RPi to be ran with a Linux flavor like Raspian, ...
1
vote
1answer
757 views

missing crypto kernel module on Raspberry Pi 2

I'm trying to use dm-crypt on my Raspberry Pi 2 with Raspbian (jessie) to open a trueCrypt volume, but i get Required kernel crypto interface not available. Ensure you have algif_skcipher kernel ...
1
vote
1answer
2k views

Raspberry PI 2 Model B Not Detecting ds18b20 Sensor (Tested with Multiple Sensors)

I just wanted to ask some advices. I have tried everything I could find, including : /boot/config.txt add Line dtoverlay=w1-gpio,gpiopin=4 Update and Upgrade Updating firmware Buying new Sensors. ...
2
votes
3answers
6k views

What is the difference between running Linux a Raspberry Pi VS a regular system?

I'm new to Linux and Raspberry Pi's (I've been doing research on the two for a couple of days now) and I was wondering: What is the difference between running Linux a Raspberry Pi VS a regular ...
3
votes
2answers
9k views

Is it possible to install pcsc-lite 1.8.13 on raspbian OS?

I'm working on a raspberry pi project. I'm trying to install a driver package for ACR1251U-A1 NFC tag. This package requires to install pcsc-lite package at first. But as I understand after a search ...
-1
votes
1answer
49 views

Linux within the confines of a Pi-based system [closed]

Earlier today I was browsing software internships on my schools job posting website (I'm a CS student) and I noticed one of the jobs had this requirement: Experience with Linux programming, ideally ...
1
vote
1answer
82 views

Process stdout/stderr still showing up on monitor

I have a process I am running on startup from my rc.local file: setsid python /Path/To/script.py < /dev/zero &> /Path/To/log.txt & However, when I boot the pi, the stdout is still ...
1
vote
2answers
5k views

Captive Portal using DNSMasq

I'm trying to setup a captive portal (catch-all HTTP server) on a Pi. I have configured the Edimax USB adapter with DHCPD and hostapd and that works perfectly. Client devices can connect and access ...
0
votes
0answers
47 views

Raspberry Pi boot script saves file to root /

We are doing a prototype of one device, where our central controller is running on RPi. Since we want it to automatically execute one application straight out of the box, without plugging anything in ...
1
vote
1answer
2k views

SSD1306 as a framebuffer with fbtft driver on a raspberry pi 2

I am facing an issue when trying to use my oled screen as a standard and simple linux framebuffer. I followed these instructions for the wiring https://learn.adafruit.com/ssd1306-oled-displays-with-...
1
vote
1answer
2k views

Redirect script output to /dev/tty1 and also capture output to file

I want to display text output on the console that is always displayed on a small screen ( Adafruit 2.8 Inch TFT ) on my Raspberry Pi. The following code works for showing that text output: cd /home/...
4
votes
3answers
467 views

Using Wi-Fi Adapter reboots Pi

I'm using an Edimax EW-7811Un in my Raspberry Pi 2 under Raspbian. Version is Linux stickpi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l (or at least that's the closest I can find)....
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 ...
3
votes
1answer
2k views

QEMU for Raspbian Wheezy on Ubuntu - host is 'none', no job control, invisible text?

I'm having some issues getting Wheezy to work in QEMU. I've tried a lot of different combinations of arguments, all with the same results; this is the most recent I've tried. > qemu-system-arm -...
3
votes
2answers
2k views

Recover Console Text Output after Using fbi App to display image on /dev/fb0

I am not using X and I'm using fbi to display an image on the /dev/fb0 framebuffer device. When I boot up my Pi, I see all the usual text and it boots up to where I can log in on the console. After I ...
5
votes
4answers
444 views

dd for image backup

My SD card corrupted itself but I have a back up image. The partition table leave 1GB unallocated space at the end so that I can restore to any 8GB memory card regardless of memory fluctuations. ...
5
votes
1answer
1k views

Simple Custom 1-Wire GPIO Communication Protocol between Master PI and Slave PI

I have 2 Raspberry Pis in my system. One can be 'docked' to the other one and some time later it can become 'undocked'. While docked, the 2 Pis will have a connection between 2 GPIO pins ( 1 pin on ...
5
votes
1answer
1k views

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu....
4
votes
1answer
1k views

Can I write and read the pins of the GPIO just by using the shell?

I do not have programming skills, but I have some knowledge using the command line of the shell. Is it possible to get access to the GPIO just from the shell ?
1
vote
2answers
965 views

Faster Way To Transfer Video FIle

I have a Raspberry Pi with Raspbian installed in it, and I would like to receive video files on My Ubuntu machine from Raspberry through a switch via Ethernet(CAT5). Note: I can connect both devices ...
0
votes
1answer
382 views

Not clean NTFS filesystem hangs command

I have made a NAS Server with my Raspberry Pi and this works great with a NTFS Formatted External Harddisk, but when the RPi is not correctly shut down, it makes a mess with the filesystem. When I ...
3
votes
1answer
391 views

Unmodified Linux Distro Install

I have several Raspberry PI units, but I always use the customized flavor of Linux (Raspbian) for installs. Does the Raspberry PI support the installation of an unmodified ISO from the various Linux ...
1
vote
1answer
383 views

what is the differnece between the gpio interrupt and hardware interrupt?

In raspberry linux, we are using interrupts and gpio interrupts. Whats the difference between them?
1
vote
2answers
1k views

loading programs onto SD card and installing. No Network

I've got MINIBIAN running on my B+ and want to keep experimenting with it by installing some software. I am not connected to the web or network, and I can't seem to find a how-to regarding installing ...
21
votes
2answers
56k views

How to stream raspivid to Linux and OSX using GStreamer, VLC or Netcat?

How can I stream video stream to Linux or OS X using raspivid and either VLC, GStreamer or Netcat?
1
vote
0answers
947 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 ...
0
votes
1answer
126 views

How to record a video automatically with an embedded system

I have this project in mind, where I'm not yet sure if it's possible to realize this way. The situation I want to run an embedded System (for example, a Raspberry, or any other embedded system) to ...
3
votes
4answers
11k views

Auto startup of the Midori web browser is not working on Raspberry pi

I am trying to start the Midori web browser on Raspberry Pi, on boot. These are the steps I've followed so far: I have edited the .bashrc file from the root folder using this command: sudo nano /...
0
votes
3answers
2k views

Unable to send file from Raspberry Pi to my system through SSH

I am using debian in my raspberry pi and Ubuntu12.04 in my laptop. I am trying to send some files from my raspberry pi to my laptop. For this I use SSH and use this command:- sudo scp acc.c tabish@10....
2
votes
1answer
2k views

How to share internet connection from ubuntu with RPi using Ethernet Cable [closed]

I am a new user of Raspberry Pi. I have a Ubuntu PC (with Ubuntu 14.04 running). My RPi is booted with Raspbian OS. I have added "ip=192.168.1.20" into my "cmdline.txt", at the end. Thus, in order to ...
1
vote
1answer
2k views

Raspberry Pi High-Quality Sound Recording

For a project, I need to be able to record at a sample-rate of at least 500 kHz. I want to use a Raspberry Pi, but I know that it has no interface with sound. I found the Wolfson Audio Card for the ...
0
votes
2answers
4k views

VMware across clustered Raspberry Pi

I've read many threads about gaming clusters that always end up in "your software isn't built for clustering", but I've been lead to believe that VMware IS built for clusters. That being said, if I ...
2
votes
2answers
707 views

Raspberry Pi backup server (windows & mac)

I would like to set up my raspberry pi model B and my 2TB hard drive as a backup server for both my windows pc and my mac. I would like to partition my hard drive such that 300GB is for mac time ...
1
vote
2answers
2k views

OpenWrt to Raspberry Pi

I am planning to turn my raspberry pi B+ into a router. The main motto is to create a QOS application on my Pi so that I can limit the bandwidth usage to a particular application. For example if I ...
1
vote
1answer
3k views

Cloning SD card causes “interface eth0 does not exist”

I have cloned my raspberry pi SD card after customising the OS. However, when I try to boot it on a different pi, everything appears fine, but eth0 doesn't show up in ifconfig. When I try 'ifup eth0', ...
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 ...
0
votes
0answers
394 views

i am unable to boot with my latest rpi-3.18.0 kernel and enabling the device tree?

I am working on the latest rpi kernel ie 3.18.0 and by enabling the device tree. I compiled the source code and with that image and modules i am unable to boot. I downloaded the source code from ...
2
votes
5answers
389 views

Getting started with raspberry pi B+

I just got r-pi B+ and flashed an 8gb sd card with 'pidora'. But I am stuck at the logging in process. I don't have a display for the r-pi. All I have is a laptop running Fedora 20 and a raspberry pi ...
5
votes
1answer
2k views

Can I use Google Translate to make my Raspberry Pi speak in different languages on demand?

I have found various instructions on making the 3.5mm audio jack on the Pi work with some sort of text to speech. I tried quite a few instructions that were online, but very few spefied the Pi, which ...
2
votes
2answers
4k views

Executing bash script in python language

I tried to make a python script to execute "sudo cp -avr /home/pi/progs/ /var/www/" but wasn't able 'cause of errors. Now I want to simply execute "ls /var/www/" but I got these errors: Traceback (...
0
votes
1answer
1k views

I want to set the alt function for the gpio in raspberry pi

I am working on the raspberry pi, doing changes in the machine driver. And there is a hack in the machine driver to change the alt function of one gpio. So I want to remove the hack and want to call ...
2
votes
1answer
863 views

Automount USB as read only for MP3 player

I've made a MP3 player for the Pi using a 16x2 LCD display and 5 buttons; what I would like to do next is to add the ability to automount any USB flash inserted and then tell my program (all written ...
4
votes
7answers
4k views

Can I connect two Linux systems via USB?

I would like to hook up my new Raspberry Pi A+ to an older B model without having to connect the A+ to WiFi. Can I connect them somehow via USB? Can I do it with a hub in between?
2
votes
1answer
291 views

rPi B+ Arch Linux running Java application

My customer's java app - .jar file runs on rPi B+ with ArchLinux installed. Now, I've also enabled hardware watchdog timer which purpose is to reboot rPi when java app hangs. Now, I've configured the ...
1
vote
2answers
403 views

Two GPIO-based TFT screens?

Is it possible to connect two GPIO screens to the Raspberry Pi at once? Ideally, one with touchscreen capabilities and one without. If it's not possible, could both a GPIO screen and a small HDMI ...
3
votes
0answers
1k views

Dynamic compression / limiter of MP3 audio playback? [closed]

I often listen to audio plays (single or multiple MP3 files) before going to sleep but then wake up again when there is a much louder scene or the end theme. I can't just turn the volume down in ...
1
vote
0answers
492 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 ...
0
votes
1answer
720 views

PJSIP cross compilation linker error unresolvable relocation

I'm trying to write a very small, very simple project using PJSIP. But I'm already stuck on the first step, incorporating PJSIP in my project. I'm trying to build and compile on a Ubuntu 14.04 system ...
2
votes
0answers
66 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 ...