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
60
votes
8answers
48k views

Is it possible to run real time software?

I know it runs Linux and there are real time patches available for Linux. Would those patches work? Has anybody tried another real-time-os on the Raspberry Pi? The idea is to use the board for ...
56
votes
5answers
89k views

How do I determine the current MHz?

I've been trying to get an accurate reading of my Raspberry Pi's MHz, since I overclocked it in /boot/config.txt My /boot/config.txt is as following: pi@raspbmc:~$ cat /boot/config.txt arm_freq=900 ...
47
votes
4answers
35k views

Emulation on a Linux PC

How can I connect an SD card containing a Raspberry Pi OS to my Linux PC, and boot the OS in an emulator? Why won't VMWare work? What are the limitations of this method? Related: Emulation on a ...
41
votes
4answers
58k views

How do I disable suspend mode?

Whenever I leave my Raspberry Pi on overnight, it always seems to have entered some kind of suspended state. The red power light is still on but the light on the USB WiFi device is off and I can't ...
36
votes
4answers
57k views

How can I mount a Raspberry Pi Linux distro image?

Normal filesystem images can be easily mounted: mount system.img /mnt Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get: mount: unknown filesystem ...
32
votes
4answers
41k views

How do I load a module at boot time?

As stated in Why is my Audio (Sound) Output not working?, to initialise the sound driver, you must run sudo modprobe snd_bcm2835 every time you want to output sound. How do I get this to run on boot? ...
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 ...
22
votes
8answers
31k views

Can't get a CIFS network drive to mount on boot

I have added a share in fstab to access a network drive with all my files on... fstab looks like: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,...
21
votes
2answers
54k 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?
19
votes
2answers
13k views

What is Raspbian?

Being new to Linux, maybe this is a stupid question! I don't quite understand how this distro thing all works, is Raspbian just compiled packages with source code taken from the individual ...
15
votes
4answers
17k views

Build custom Raspbian Jessie distribution image from source

I am wanting to generate a custom image of Raspbian Jessie (primarily modifying the UI and adding some extra packages). Thusfar, I have taken the image provided by the Foundation, modified it 'after ...
15
votes
3answers
22k views

Can anyone recommend a simple image viewer?

My boss asked me to find a cheap mediaplayer for some stuff at work. That inspired me to build something on my own, using a Raspberry Pi. My plan is to use udev-rules, to detect usb/sdcard and then ...
15
votes
1answer
4k views

Why does the SD card random write performance for record size 8-128 kB drops below the performance of record size 4 kB?

When I check the performance of SD cards for random write, I can see the performance is quite bad for record size 4 kB (this is not surprising) but then for several cards it even drops for larger ...
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?
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 ...
13
votes
9answers
130k 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 ...
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 ...
12
votes
2answers
17k 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-...
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 ...
10
votes
2answers
8k views

What is the vcgencmd command?

I know what it does, but what does the name mean? Is it a acronym? In one sentence, how would you explain vcgencmd to someone new to Linux?
10
votes
1answer
7k 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 ...
10
votes
3answers
7k views

USB Microphone Raspberry Pi

I am using Raspberry Pi 3. What I am trying to do is test my USB microphone. I first type in lsusb to see if the raspberry pi detects my device. It does, and the result is this: BUS 001 Device oo8: ...
9
votes
2answers
10k views

What is /dev/vchiq in Raspberry Pi?

I am using Raspberry Pi 3 and raspbian jessie and i came across /dev/vchiq by trying to call program (omxplayer) with perg-cgi which would play some music on my RiPi. And i coudn't get it to work. ...
8
votes
2answers
7k views

How to use Java to read/write data to/from the header pins?

I just got Java running on my Raspberry Pi which took a lot more screwing around than i had hoped. I want to be able to read/write data to/from the header pins from Java. How can I do this? Do I need ...
8
votes
1answer
10k views

How to boot raspberry pi very quickly into Linux?

I would like my pi zero to boot quickly (under 1 second) using Linux. In that case we can pretend it is embedded controller and not standard full blown (but slow) computer. Do you have any (...
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 ...
7
votes
2answers
40k 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.
7
votes
2answers
6k views

What does each of the default groups on the raspberry pi do?

I need to create a more limited user for the raspberry pi. I can guess what some of these groups do (cdrom, sudo, i2c, spi) but what do some of these other groups do (adm, dialout, pi)? Here is the ...
7
votes
1answer
2k views

What kernel modules and other setup are needed for using the RPi3 built in Wi-Fi?

Question I'm trying to get the Wi-Fi working (again) on my model 3. I am not using Raspbian. Which kernel config settings and loaded modules are needed for the Wi-Fi device to show up in ifconfig -a?...
7
votes
0answers
149 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 ...
6
votes
4answers
7k views

What instruction set is used on the Pi's ARM/Broadcom chip?

I am trying to figure out what instruction set (x86_64, IA-32, etc.) is used by the RPi's Broadcom chip (really an ARM 1176JZF-S), because I'd like to understand how linux can run on it. My ...
6
votes
5answers
1k views

What can Raspberry Pi do that my Linux desktop can't

I have been told by some friends that Raspberry Pi computer is the "next best thing". I am trying to understand what it is and what it can do before I jump on the bandwagon. After doing some ...
6
votes
1answer
476 views

I have just returned to my Raspberry Pi after a year and can't remember my login

After sitting in the depths of my project desk for a year or so, a Raspberry Pi model B turned up that has data I want to save. It boots up but I deleted the pi user for security reasons and can't ...
6
votes
3answers
16k views

Installing Raspberry Pi Cross-Compiler

I am attempting to get cross-compiling for Raspberry Pi working on my Ubuntu machine. During my initial attempts I was using the arm-linux-gnueabi compiler, which is available in the Ubuntu repo. I ...
6
votes
4answers
2k views

Create a Raspberry pi backup without dd

I would like to backup the entire content of my Raspberry Pi SD Card on linux PC. I have found online many tutorials that suggest to use dd to perform the operation. However my SD Cards have a wide ...
6
votes
2answers
950 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, ...
6
votes
6answers
562 views

Playing around with servers

I want to get some hands on knowledge with linux servers (sine the last internship I applied for, required some experience with linux servers, but I had none), and I'm wondering if the RPi would give ...
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 <...
6
votes
3answers
7k views

Which toolchain for Raspberry Pi 3 and Qt5

Which is the recommended toolchain to cross-compile Qt5.6 for Raspberry Pi 3? I tried official tools: https://github.com/raspberrypi/tools but it seems they don't support the architecture and flag ...
6
votes
1answer
4k views

How to use the perf utility on raspbian?

I'd like to use the perf tool on my 2016-02-09 Raspbian Jessie operating system. For that, I have installed the linux-tools package (which contains perf). The kernel version in use on that image is 4....
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/...
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?
5
votes
2answers
683 views

Is there a Linux image wich was compiled with -mfloat-abi=softfp?

I'm trying to find an OS that was compiled with -mfloat-abi=softfp to be able to use my precompiled ARM binaries on my Raspberry. Although I understand the reason why Raspbian and Arch are compiled ...
5
votes
1answer
4k views

Rpi can't see external hard drive

I got stacked. I have a Raspberry Pi 2 Model B with OSMC installed on it. I want to connect an external drive (Seagate Backup Plus 1TB) to it. I connected it through a usb hub and there is an ...
5
votes
1answer
496 views

Installing Linux on Raspberry pi 3 b+

I am currently going through tutorials explaining how to install linux kernel on the raspberry pi, most of the tutorial (an example) recommend the use of an SD card and to install the kernel on it. so ...
5
votes
2answers
9k 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 ...
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 ...
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
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 ...
5
votes
2answers
4k views

ALSA volume ignored when beginning playback

I ran into an interesting problem today. I noticed I don't have a "Master" channel in amixer. I only have PCM. And changing the volume on PCM is really finicky. It seems only 85%+ is actually ...