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
1
vote
1answer
1k views

Raspberry Pi Executables and Redirection

I have an executable that I am running on the Raspberry Pi. When the program is run, output is displayed on the terminal, but when I use the redirect operator >, I get nothing in the text file. ./...
0
votes
1answer
191 views

Running a xinit from a perl script

I have a perl script that generates the X,Y and brightness coordinate for a motion starfield. It very basic at the moment with basic orbits just for testing. I don't want the system to boot to a ...
10
votes
3answers
22k views

How to build custom OS for Raspberry pi from scratch?

I am new to kernel and embedded Linux. I have recently bought a Raspberry Pi and booted it using the Raspbian. I was fascinated by the Pi, to learn more on Embedded I have decided to make an home ...
1
vote
0answers
145 views

Communication between Raspberry Pi over Wifi [duplicate]

I want to interface some sensors with my raspberry pi via GPIO UART serial communication and then transmit the data to another raspberry pi via wifi. I am not a pro. Any good tutotial or technique?
2
votes
2answers
3k views

open a win32diskimager-imported file on Windows

I have a raspberry pi. I did a backup by importing an image with win32diskimager. Is there any way to open this imported image and explore the filesystem in it? I'm on Windows 8, but Windows can't ...
1
vote
0answers
836 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
376 views

RPi used as wakeup-light, bashscript+CEC+Raspbmc

I've a vision about using my RPi as a wake up light device along with my TV. The way it "should" work in my head is that I have it constantly on, checking the time. At a certain time it sends a CEC ...
2
votes
2answers
391 views

How to use ARM software in Raspberry?

I would like to run Maestro Control Center software (for Mini Maestro 24-Channel USB Servo Controller) in Raspberry. But it is not ARM software. It is availabe for Linux and Windows. I'm total newbie ...
3
votes
1answer
4k views

Installing OpenCV on Raspberry Pi: can't find packages

I'm trying to install OpenCV 2.4.7 on Raspberry Pi (Model B, OS: Raspbian). The guides I'm referring to are: 1. RASPBERRY PI + SIMPLECV + OPENCV + RASPICAM CSI CAMERA 2. Raspberry Pi + OpenCV 3. ... ...
3
votes
2answers
2k views

How do I boot directly to a VNC or RDP session on a Raspberry Pi?

Is there a way to boot a Raspberry Pi directly to an RDP or VNC session? I don't want to boot to a full OS with a display manager and THEN RDP or VNC. I'd like to have the Pi boot and only do ...
3
votes
1answer
2k views

How to tell if I am running the latest version of the Raspbian kernel?

I just finished building the Raspbian kernel according to the instructions in Raspberry Pi Kernel Compilation Guide. Prior to this I was running the latest build from raspberrypi.org, 3.6.11+ #358. I ...
6
votes
1answer
2k views

Raspbian kernel module segmentation fault

My Raspberry Pi currently runs 3.6.11+ #538 (obtained from uname -a), which may be the source of my issues. I'm starting to write a kernel module using the following "Hello World" code: #include <...
1
vote
2answers
3k views

NTFS-3g HDD 0770 and 0777 permissions Owncloud

I want to install owncloud on my Raspberry-pi (Model B), I've got it running but only on my SD-card. Now i want to set the data on my External HDD. I've added the follow line in /etc/fstab, so the ...
3
votes
4answers
3k views

Problems compiling kernel on Raspberry Pi

I'm trying to compile the kernel from source on the Raspberry Pi, so I fetched it from git@github.com:raspberrypi/linux.git, and I'm using the stable branch (rpi-3.6.y). I did the following: git ...
31
votes
14answers
82k views

More powerful alternative to Raspberry Pi?

I already own a Raspberry Pi model B, and I am looking for a more powerful alternative. I want it to be able to run as a server (email, file, and web) and also as a media center. I know Raspberry Pi ...
1
vote
2answers
618 views

Linux - Windows 8 - Samba - Can see dir and contents but not create [closed]

I have the following setup Raspberry pi with samba installed and running Windows 8 machine that can see the samba share, access the proper DIR, see all contents In the smb.conf file, at the base of ...
0
votes
1answer
2k views

RaspberryPi program takes 100% cpu [closed]

Why my program takes 100 % CPU even if its a helloworld program. Is it normal behavior?. Can anyone tell me the reason for this?. I am using debian wheezy. Here is the screen shot of process..
1
vote
2answers
1k views

Streaming games from PC to RP

Let's say I want to play Supertux on big TV screen with RP connected. I don't want, and it's not always possible, to install all PC games on RP. What's the best way to run games on PC and display them ...
2
votes
2answers
1k views

How do I automate removal and re-enabling overscan as I move the pi between HDMI and TV?

I use my Pi (with raspbian) in two locations, at the desk I have a DVI-D monitor hooked to the HDMI output and in the livingroom there is a big old thick television using PAL composite.. I would like ...
4
votes
0answers
873 views

How to profile code on raspberry pi? [closed]

Are there any open source or examples for using raspberry pi's ARM cpu's PMU, performance counter? It can be a bare metal example or user-space application. I have seen this and that (which I don't ...
2
votes
2answers
522 views

Lightweight and/or legacy distro for FOTRAN hackery?

My grandfather was a programmer back in the day, and lately he's been hearing about the RPi in the news and he's expressed a desire to try one out. He can remember computers filling whole rooms and ...
5
votes
2answers
10k views

Software for displaying animated gifs? [closed]

I've been searching for days but have yet to find an application that can play scaled up animated gifs without getting choppy. The basic requirements are: Scaled to full screen (1080x1920) No window ...
0
votes
1answer
3k views

How can Raspberry Pi output a HD stream? How is graphic processing handled in Linux and Raspberry Pi 's hardware? [closed]

Raspberry Pi has something less than decent hardware and is still able to output an HD stream (that's what I have read, correct me if I am wrong). A 700 MHz ARM processor, a not-so-great GPU, but ...
1
vote
1answer
2k views

Gather data from a PLC to a Raspberry Pi running Debian and then broadcast it on internet

I have an Unitronics V570 PLC which takes temperature readings. An Ethernet card enabled PLC is really expensive so I plan to connect the PLC to a Raspeberry PI. How can I use Python functions that ...
13
votes
3answers
16k views

Learning Linux driver development with Raspberry Pi

I'd like to write a Linux device driver for some real hardware device. What Raspberry Pi peripherals are a good fit? Basically I need the following: It must be small enough for a beginner (few month ...
1
vote
1answer
1k views

Raspberry Pi camera feed is slow

I managed yesterday to hook my "LifeCam VX-800" to my Raspberry Pi. It works just fine, but it's very very slow. I tried adjusting that by decreasing the sleep duration in the code, but that didn't ...
2
votes
0answers
1k views

Python having trouble accessing usb microphone via Gstreamer to perform speech recognition with Pocketsphinx on a Raspberry Pi [closed]

So python is acting like acting like it can't hear ANYTHING from my microphone at all. Here's the problem. I have a Python ( 2.7 ) script that is suppose to be using Gstreamer to access my microphone ...
4
votes
2answers
214 views

SSH session closses on TAB key

Since I upgrade the RaspMBC distribution in my Pi I have been experiencing a strange problem with SSH. When I connect to Pi using putty and press TAB, putty closes. I tried different versions of putty ...
0
votes
2answers
1k views

Kernel module assembly output

I compiled the kernel modules written in C directly on my Raspberry Pi using this Makefile: obj-m := HelloWorld.o all: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: ...
3
votes
3answers
3k views

When does the OS kill an application?

I have an application which polls a bunch of servers every few minutes. To do this, it spawns one thread per server to poll (15 servers) and writes back the data to an object, however sometimes the ...
0
votes
1answer
381 views

QEMU on Raspberry Pi

I'm trying to eventually run a Debian image within Raspian, but for now I'm just trying to run Slitaz. I'm able to get the boot process going, but it hangs while loading 'rootfs(N).gz, where (N) is 1-...
1
vote
3answers
532 views

Linux machine broadcasting its own network while connecting to a different network

I'm wondering if it is possible to setup a Raspberry Pi (a basic Linux box) with a USB Wifi Dongle to both connect to a Wifi network as well as be a Wifi Access Point? What I'd like to do is: Have ...
13
votes
4answers
10k views

Use SSD as RAM?

How can I use SSD disk space as RAM to run large-memory jobs on the Raspberry Pi? Is this the same in Linux as creating "ramdisk" as per this Q&A?
2
votes
2answers
233 views

Prevent libsane.so.1 from being overwritten during update

I need to run the latest version of Sane-Backends to support my scanner. I've compiled the source such that it's out of the way for the distro's package V1.22 but when I run an update it overwrites ...
1
vote
1answer
186 views

LFS on ARM with Blink

I am interested in creating a LFS (Linux From Scratch distro) on ARM with a HTML5 rendering layer, like how Mozilla's Firefox OS has. However, I want to use the new Blink rendering engine powering ...
2
votes
2answers
2k views

code stops after few hours and raspberry py freezes. (pymodbus + rs485 + raspberry pi) python code

I am using pymodbus to collect some data from sensors 4 reading every sec. The program is in continuous loop but the problem is raspberry pi freezing every few hours (60 hr). The code stops ...
7
votes
2answers
42k views

Recover files from broken sd card (no boot)

Is there any chance to recover some files that are on a SD card which doesn't boot anymore? Seems the last power-cut affected some files on the card and the Raspberry Pi is not able to boot anymore.
2
votes
3answers
4k views

Creating boot script for webcam

I seem to be having trouble getting this to work, I'm trying to run mjpg-streamer when the Raspberry boots, but it doesn't using the script below. I have mjpg-streamer installed in: /home/pi/mjpg-...
2
votes
0answers
292 views

samba server (smbd) causes “mount: / is busy” [closed]

I am developing an application on Raspberry Pi. I am using samba to share my RAMDISK over network. Here below you can see my fstab: proc /proc proc defaults 0 0 ...
3
votes
0answers
1k views

Audio/Video out of sync with PCM2704 USB key. How should I proceed? [closed]

I recently bought a PCM2704 USB sound card, which is purported to work out-of-the-box with raspbmc. I've enabled the experimental audio drivers, but now I get pretty bad A/V sync issues. Of course, ...
13
votes
2answers
32k views

Pi powerd OBD-II Computer

I recently built an OBDuino32k with my Arduino Uno. Unfortunately, I built the wrong interface, so I can't use it with my car. I built an interface for ISO instead of ELM. I bought a Raspberry Pi ...
1
vote
1answer
807 views

How to make cross compile development enviroment that can use shared libraries from Pi?

I was able to install toolchain and compile programs that use basic c libs. But that is not really useful when compiling big programs. I've learned that, when cross compiling, compiler will look for ...
-2
votes
1answer
132 views

How to set up the Raspberry Pi [closed]

I have just gotten my Raspberry Pi. I am a beginner in Linux. Can someone please explain how I should go about starting up my computer?
0
votes
2answers
4k views

How to unzip Minecraft PI edition through terminal

I recently got the Raspberry Pi Model B, and have been tinkering with it for hours on end. I recently discovered that one of my favorite games, Minecraft is now available. I downloaded the program and ...
4
votes
0answers
1k views

How can I read and write data to a Character Device File in Linux with PHP? [closed]

I'm trying to read and write to modules on the I2C bus on a Raspberry Pi using PHP. I'm using fopen() and fskeek(). Below is the code I've been trying to use to read data coming in from the physical ...
3
votes
2answers
4k views

Performance difference Raspbian versus Gentoo

Is there a measurable difference in CPU performance between Gentoo and Raspbian? With Gentoo you use different compiler flags and with the USE flags compile only what you need. In Raspbian all ...
4
votes
2answers
48k views

Getting “No rule to make target 'modules'. Stop.” error when running makefile. What does it mean?

I'm trying to get a webcam working with my Raspberry Pi How do I install webcam firmware on the Raspberry Pi? I found a possible way of doing this with gspca. So I downloaded the file and unzipped ...
0
votes
3answers
1k views

What application (and options) should I use to get terminal access to my Raspberry Pi over a USB/serial cable on Linux?

I've got a Raspberry Pi with a Raspbian SD card, connected to my Debian laptop via a USB TTY cable. The cable is supplying power to the board; my user is in the dialout group, and can see /dev/ttyUSB0....
1
vote
0answers
1k views

Raspberry Pi Air Display [closed]

recently I've discovered air display for various configurations (mac+pc, pc+pc, etc.). I've been thinking about doing the same with raspberry pi connected to my tv. Although air display isn't ...