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
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
893 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
545 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 ...
6
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
3k 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
17k 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
216 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
395 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
542 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
11k 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
235 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
190 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
43k 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
296 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
813 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
133 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 ...
4
votes
2answers
5k 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
49k 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 ...
3
votes
1answer
1k views

Schedule periodical processes

I have a project that I´ll be using RaspBerry Pi to make a controller for process control. To do that I need to schedule processes periodically. Does anyone know how I could do that? So I have to ...
3
votes
2answers
281 views

Install very basic linux

How can I compile a basic linux kernel on Rpi, or is it possible in a any way? I want a very basic linux with nothing on it but just Linux. Let me know if there are any alternatives or suggestions.
2
votes
3answers
192 views

Special OS for a special device

Why does the RPi need a 'special' kind of Linux ? Why can't it run any distribution ?
10
votes
1answer
8k views

Building a minimal Linux for Raspberry Pi

Now I got my Raspberry Pi. I am an experienced application software developer, but I've never done hardware stuff or low-level programming before. I want to build a minimal Linux, including drivers ...
13
votes
10answers
132k views

SSH “connection refused” on Raspberry pi - cannot find why

I have the following problem SSH "connection refused". It would work fine, but while I am working on the SSH, I would get "connection refused" and would have to re-connect (which does not occur for ...
3
votes
2answers
2k views

How can you update “Incredible PBX” for the Raspberry Pi without using the non-free, $20/year updater?

I have been a fan of Asterisk, and in particular the project The Incredible PBX. However, they charge $20 per year to update (for the raspberry pi). This updater installs security updates, among ...
5
votes
4answers
3k views

IRC/XMPP web-based chat client or BNC?

Is there any webchat client with a daemon for Raspbian/Raspberry Pi? Something like webpidginz or an alternative for it. I found it hard to use with Raspberry Pi/Raspbian (because it doesn't provide ...
3
votes
1answer
438 views

XBMC and unclean shutdown

So, I have my Pi, and based on some posts here, am installing Raspbmc. I have a nice powerstrip that senses current through the "main" outlet (my TV), and will switch off some of the outlet if there ...
0
votes
2answers
230 views

What are the kinds of (useful) things could I do on a raspberry PI? [closed]

I'm probably going to buy one, but I'm not sure what I will do with it. I have a lot of linux experience but not a lot of hardware experience. So what things can I do on it that would be useful and ...
2
votes
2answers
6k views

Failed MySQL install (Raspbian)

I finally got a Raspberry Pi for Christmas and decided to set it up as a home web server. I have nginx with PHP set up and working. I came to install MySQL and ran sudo apt-get install mysql-server. ...
6
votes
2answers
956 views

Raspberry Pi One Touch Audiobook *Updated*

I am looking for anyone to help me out. I am trying to build this for my blind grandmother for Christmas. **Update, since I couldn't get it to work I switched to this guys update python script, ...
2
votes
0answers
2k views

raspberry pi booting failed on custom kernel [closed]

hello I have compiled my custom kernel and pack initramfs into it. I have created two partition fat32 and ext3. fat32 contains bootloaders and kernel and ext3 contains rootfs. I have made a raw disk ...
3
votes
3answers
6k views

How to use Pi for standalone automation?

I want to use the Pi for standalone home automation. As such, the Pi must boot up automatically and run a Java program. I am running Debian Wheezy hardfloat. I have little Linux experience, what ...
12
votes
2answers
18k views

building kernel image (.img) including ramdisk

I have built my Linux kernel (3.0.1) for my Raspberry Pi with these following steps: 1. Downloading kernel source 2. tar xvf source.tar.bz2 3. downloading arm cross compilation tool. 4. tar xvf arm-...
4
votes
1answer
1k views

Periodic task in kernel module

I currently developing a gpio based kernel module for a custom protocol. As per requirements of protocol, I have to send data, clock and enable signal to output device throgh gpio. This data is 16-bit....
6
votes
0answers
2k views

Any CANopen adapters supported on the PI? [closed]

Does anyone know if there are any CANopen protocol converters supported on the Pi, or if ones that work under Linux could be ported to it?
8
votes
1answer
2k views

SSH not landing default user directory

I have recently installed Raspbian onto a Raspberry Pi. As part of the installation process I changed the user name and group from the default (pi) to my own (let's call it user) using usermod and ...