memory,raspberry-pi,raspbian,raspberry-pi2
SOLVED! The start.elf file shouldn't be replaced! Then all the memory will be available! In the time I was waiting I just experimented with the files in the boot partition and stumbled upon the solution!
python,raspberry-pi,raspbian,raspberry-pi2,pyaudio
Do you have a sound card attached to the Raspberry PI ? By default you get audio output, but not audio input. You can check by running alsamixer If you press F6 you should see your sound cards listed. If you press F4 you should see capture devices(if any) I...
I am having the same symptom, Raspberry Pi 2 with Ubuntu Mate, 0.5.11 module. My code is much simpler: import time import RPi.GPIO as GPIO print "before GPIO.setmode" GPIO.setmode(GPIO.BOARD) print "before GPIO.setup" GPIO.setup(11, GPIO.IN) print "after GPIO.setup" It segfaults during GPIO.setup. I'll try switching back to Raspbian and see if...
ubuntu,raspberry-pi,raspberry-pi2
From Ubuntus wiki on RaspberryPi, Login username is "ubuntu", password is "ubuntu" on the prompt "ubuntu login:" you should type in ubuntu and hit enter. Next when it asks for the "password:" again type in ubuntu and hit enter. (note that the password is kept invisible on the command line,...
linux,r,png,raspbian,raspberry-pi2
Thanks to @Dirk, who correctly diagnosed this as a problem of running R headless on the pi, I found a solution by mixing answers from previous posts: I start R by calling xvfb-run --server-args="-screen 0 1024x768x24" sudo R I installed the Cairo package in R and save plots using code...
raspberry-pi,raspbian,microprocessors,raspberry-pi2
Install MJPG-streamer on your Rasperry Pi sudo apt-get install libjpeg8-dev imagemagick libv4l-dev sudo ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h git clone https://github.com/jacksonliam/mjpg-streamer.git and then you can use a command like this: mjpg_streamer -i “/usr/local/lib/input_uvc.so" -o “/usr/local/lib/output_http.so -p 9000 -w www” You can check out this tutorial by Tinkernut, which basicly does what...
c#,windows-universal,iot,windows-10,raspberry-pi2
you should use HttpClient instead of WebClient. Try this HttpClient client = new HttpClient(); string url = "URL here"; HttpResponseMessage response = await client.GetAsync(url); return response.Content.ReadAsString(); ...
python,c++,shared-libraries,ctypes,raspberry-pi2
Because you're not familiar with C I assume you made the same mistake as I made for a while. You do not take care about name mangeling in C++. See http://en.wikipedia.org/wiki/Nm_%28Unix%29 Please show how the functions are exported. Additional information could be found here: Python: accessing DLL function using ctypes...
python,raspberry-pi,gpio,raspberry-pi2
The script (or more precisely, the hardware.py-module) uses the RPIO module which has seen it's last release 2013 (https://github.com/metachris/RPIO), and thus doesn't support the RPi2. You can either create an issue in the RPIO-tracker, and hope for an updated version (not sure how likely that's going to happen though) rewrite...
android,python,camera,udp,raspberry-pi2
No need to reinvent the wheel here. Are you trying to make an IP camera? Implement ONVIF streaming. See "5.1.4 JPEG over RTP" for JPEG over UDP format
bash,shell,raspberry-pi,raspberry-pi2
You can do the same with awk alone : netstat -tn | awk '/:1337/{sub(/:.*/,"",$5);gsub(/\./," dot ",$5);print $5}' If pattern :1337 is matched, take the 5th field. Now remove the :number part. Also replace . with dot and print the field. ...
python,face-detection,raspberry-pi2
The problem is in your camera.capture_continuos. First value, output, cannot be just an array as it records with an infinite iteration as the docs says. Instead of this you should put an output file. If you want an stream to capture this you can use the io.Bytes as well. In...
bash,raspberry-pi,chmod,chown,raspberry-pi2
You can do this using udev rules, which can define actions to execute when the kernel instantiates new devices. Current versions of the Raspbian distribution for Raspberry Pi devices contain the following in /etc/udev/rules.d/99-com.rules: SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c 'chown -R root:gpio /sys/class/gpio && chmod -R 770 /sys/class/gpio; chown -R root:gpio /sys/devices/virtual/gpio...
visual-studio-2015,raspberry-pi2,windows-10-iot-core
The remote debugger should be started automatically when the RPi2 is booted. However, I too have seen this issue. If you do not wish to reboot your device then you should connect to your RPi2 via the PowerShell interface. Once you have connected enter ps. If you do not see...
python,scikit-image,raspberry-pi2
I don't think there is anything wrong there. It's just that there is a number of C extensions to compile in scikit-image and it is slow on Raspberry Pi. For instance, on my laptop with i7 dual core CPU and an SSD, it takes around 5 minutes to install scikit-image...
opencv,raspberry-pi,multicore,raspberry-pi2
CascadedDetect has multi core support. Recompile OpenCV with the WITH_TBB or WITH_OPENMP (or any other threading framework supported by OpenCV) flag on to enable it....
node.js,windows-universal,raspberry-pi2,windows-10-iot-core
Found an at least partial answer. When you run the app on a "Remote machine" via Visual Studio, you can see the package name in the Build output window as the Full Package Name: 1>------ Deploy started: Project: Win10DropDoorScanner, Configuration: Debug ARM ------ 1>Updating the layout... 1>Copying files: Total <1...
qt,qtwebkit,raspberry-pi2,yocto,qtwebengine
If you take a look at the repo git://code.qt.io/qt/qtwebengine.git, you'll see that there's no branch named 1.0, which is what your bitbake log states: ERROR: Fetcher failure: Unable to find revision 21f6ce84ecca9a4ff2aa980b21d2e5174c78d14b in branch 1.0 even from upstream If we clone the qtwebengine repo, and run the following command, we'll...
compilation,phantomjs,raspbian,libjpeg,raspberry-pi2
Problem solved. when trying to execute compiled binary the problem was that following command: $ cd /home/TOSHIBA/fuente/phantomjs/bin $ phantomjs Was executing previuous binary version (2.0.0) installed on my /usr/bin downloaded from github of another user. Now the problem is solved with compiled binary on my Raspberry2: $ cd /home/TOSHIBA/fuente/phantomjs/bin $...
osx,raspberry-pi,raspberry-pi2
I guess that, for the first time, you will need to have a monitor, keyboard and mouse, and a LAN connection, for checking everything is going fine. After you set up everything, you can live by using SSH & SFTP, then setup x11vnc and you can be really good without...
chromium,raspberry-pi2,yocto,qt5.4,qtwebengine
Add the dependencies in your own .bbappend as such: [email protected]:~/yocto/poky$ more meta-embarcados/meta-rpi/recipes-qt/qt5/qtwebengine_%.bbappend CXXFLAGS +=" -I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads \ -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux \ " # Do not get out of memory LDFLAGS += "-Wl,--no-keep-memory" The issue is discussed in length here Tutorial to create Yocto distro for RPi2 that contains QT5.4...
I was looking at how to do this myself this evening. What I found was that you can edit the Pi's startup through Powershell on your PC and tell it what app to load. Setting startup app: Use the startup editor to configure startup apps on your Windows IoT Core...
iotstartup as setcomputername are executables. Use the invoke command, see this article. & iotstartup list will do....
visual-c++,raspberry-pi2,windows-10-iot-core
First of all ensure you have followed all of the steps in this page. Once you have done that you should review the sample console app here. I hope that helps. Mark Radbourne [MSFT]...
bash,daemon,file-transfer,raspberry-pi2
You could checkout this watch script and set the sleep time to what ever interval you want to check https://gist.github.com/mikesmullin/6401258 Add it to systemd or init.d and use it to copy via scp. http://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd https://www.debian-administration.org/article/28/Making_scripts_run_at_boot_time_with_Debian Instead of scp you could make the directory a git repository and let the script...
The problem had nothing to do with Pi4J. The sleep period wasn't exact enougth. "The granularity of sleeps is generally bound by the thread scheduler's interrupt period. In Linux, this interrupt period is generally 1ms in recent kernels. In Windows, the scheduler's interrupt period is normally around 10 or 15...
c,gcc,raspberry-pi,cross-compiling,raspberry-pi2
I will suggest you alternate way to do Cross compilation. I tried it and it works. You can use crosstool-NG. It gives you graphical way to setup your toolchain for cross compilation. There are lot of option for setting up toolchain. You can explore that. Now you are doing for...
https://github.com/hgrecco/pyvisa/issues/149 explains how to fix this. In short, you seem to have a pyvisa-py that requires a newer (development) version of pyvisa.
Managed to install an unofficial runner. Guide here: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/linux-manually.md...