Questions tagged [raspbian]

Raspbian is a free Debian-based OS for the Raspberry-Pi computer. Use this tag for questions that involve utilities or setup or application development under the Raspbian operating system. For questions concerning Raspberry Pi hardware use a raspberry-pi tag. Include a programming language tag if needed and if the post is about the GPIO then include that tag as well.

Raspbian is a free Debian-based operating systems for the Raspberry-Pi hardware.

Raspbian maintenance and development is an independent project from the Raspberry Pi hardware itself. The project is not affiliated with the manufacturers of the device.

Raspbian is one of several operating system alternatives for the Raspberry Pi.

The most common method for installing Raspbian is the NOOBS tool. NOOBS allows other operating system choices including Windows 10 IoT if WiFi or LAN access is available at the time of installation with NOOBS.

Project home page for Raspbian: http://www.raspbian.org/

NOOBS github project: https://github.com/raspberrypi/noobs

2977 questions
11
votes
1 answer

raspberry pi / aplay / default sound card

I purchased a the "Sound Blaster Play! 2" soundcard for my raspberry pi 3. The OS is raspbian jessie. The audio on my raspberry pi works when I run $ aplay /usr/share/sounds/alsa/Front_Center.wav -D sysdefault:CARD=S2 But only when I use -D. When…
Franky
  • 709
  • 1
  • 5
  • 14
11
votes
2 answers

Linux Framebuffer set resolution correctly

I have a RaspberryPi and want to display an image fullscreen without xserver - so write it directly to the framebuffer. No problem here. But setting it fullscreen doesn't work. cat…
user3696412
  • 1,321
  • 3
  • 15
  • 33
11
votes
2 answers

Enable monitoring mode for RTL8188CUS via USB on Raspbian

I am trying to enable monitoring mode for a USB wifi dongle with the RTL8188CUS chipset on a raspberry pi model b+ (or any raspberry pi for that matter). $ lsusb Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN…
Matt M
  • 751
  • 1
  • 9
  • 19
11
votes
1 answer

Raspberry Pi NoIR camera hangs

Background Information: I built a smart door solution with a RPi B+ (Raspbian) which makes use of three sensors (PIR, Gyroscope [I2C] and an Ultrasound). Depending on the sensor status managed by a Python script, I start recording a video by using…
user1688175
11
votes
4 answers

ValueError: The channel sent is invalid on a Raspberry Pi - Controlling GPIO Pin 2 (BOARD) using Python causes Error

So I have a tiny little fan connected to pin 6(Ground) and pin 2. I am trying to manually start and stop the fan when needed but I am getting this error when trying: ValueError: The channel sent is invalid on a Raspberry Pi Here is my code that I am…
Georgi Angelov
  • 4,338
  • 12
  • 67
  • 96
11
votes
2 answers

X11 Dependency, Compile Dbus without X11, starting only Shell C++ Applications Raspbian Linux

Hello Dear SO Community :) I am trying to get DBus working on my Raspberry Pi. The example code from libdbus-c++-1 is working fine when i am in the Pi Desktop environment -> (startx) My researches on the internet and the examples i found on…
Dogan
  • 181
  • 2
  • 7
11
votes
3 answers

DAC pops on Song Start/Stop in Raspbian

This has been a plaguing issue for the Raspberry Pi install of Raspbian (Debian Wheezy) since it was first built. Talking directly to the Raspberry Pi foundation and the Raspbian team has given me no luck. The issue itself is that the DAC doesn't…
Kilokahn
  • 147
  • 1
  • 8
10
votes
3 answers

mkvirtualenv says "no module named distutils.spawn" when making a venv for non-default python on Raspbian Buster

Raspbian Buster has Python3.7 by default. I'm trying to make a Python3.6 virtualenv. I have a fresh install of Raspbian Buster with Desktop (not the version that is with "recommended software") and have already sudo apt-get update; sudo apt-get…
10
votes
2 answers

Compiling error using make install to install OpenCV 4 in Raspbian Raspberry Pi 3+

`Hello, I have installed OpenCV on the Raspberry a couple of times. However, since everything is constantly evolving (OS, libraries, etc...). This time I am getting the following error: -- Installing:…
Puértolas Luis
  • 235
  • 1
  • 2
  • 13
10
votes
2 answers

Raspberry PI mdns getaddrinfo 3008 error

I've this sample Node.js script: var mdns = require('mdns'); var browser = mdns.createBrowser(mdns.tcp('http')); browser.on('error', function (error) { console.log("error"); console.log(error); }); browser.on('serviceUp', function (service)…
dhrm
  • 14,335
  • 34
  • 117
  • 183
10
votes
4 answers

IP over Bluetooth with Raspbian systems

I have got 2 Raspberry Pis, running Raspbian, up-to-date. Each Pi has exactly one Bluetooth USB dongle. I can make them communicate via RFCOMM using this. Now, I would like to establish a proper IP layer over the Bluetooth physical link. As far as I…
tvuillemin
  • 1,148
  • 3
  • 10
  • 25
10
votes
3 answers

asm/socket.h: No such file or directory cross compiling Dart for Raspberry pi

I'm cross-compiling the Dart runtime using the instruction here. I've installed all the dependencies as specified. I've also cloned the git repository with the necessary tool chain. I'm running the runtime compilation with this…
Fedy2
  • 3,147
  • 4
  • 26
  • 44
10
votes
2 answers

Get status text after failed http-request

Is there any chance to get additional status information from my respose object, if a request fails? At this point, I'm able to get the status code, but in addition, I need the status information text (which describes the error). If you're using…
Sven Kannenberg
  • 859
  • 2
  • 10
  • 20
10
votes
4 answers

Can I program a Raspberry Pi with Node.js?

I want to learn to program Raspberry Pi's and I'm pretty good with Node.js. I haven't touched C++ in almost half a decade. I understand that I can load Linux on the Pi, but how do can I do my programming in Node? If so, how do I handle things like…
Shamoon
  • 41,293
  • 91
  • 306
  • 570
10
votes
2 answers

Compiling Haskell on the Raspberry Pi

I am trying to compile GHC 7.6.3 on the Raspberry Pi. The 7.4 version of GHC that ships with Raspbian, does not support ghci. I intend to package v 7.6.3 and make it available. After a looong time, I get this error on the Pi: HC [stage 0]…