Questions tagged [raspberry-pi2]

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi 2 is a quad-core, ARMv7 instruction set CPU with 1GB of RAM. See the related StackExchange site at https://raspberrypi.stackexchange.com. Also see the first edition's tag at https://stackoverflow.com/questions/tagged/raspberry-pi .

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi model 2 is a budget computer that fits in your hand. It has 4 cores, 1GB of RAM, and runs ARMv7-based CPUs.

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

1237 questions
4
votes
2 answers

How to connect a TA+ Database (Firebird) on Raspbian?

we are currently using Safescan's TA+ Software on a Windows machine at work, but try to move the Database (TADATA.FDB) onto a small Linux Server, which is why we bought a Raspberry Pi2 and installed Raspbian and Firebird 2.5 Super on it. Afterwards…
Xevailo
  • 45
  • 7
4
votes
0 answers

Xidel utility alternative for ARM / Raspberry Pi?

Does any of you know of a utility similar to Xidel that works on ARM processors, specifically on a Raspberry Pi 2 Model B? I created a few Bash scripts on my x86_64 laptop that I am going to put on an always-on RPI when it will arrive, but I just…
4
votes
3 answers

Expect Script - Auto Password

I am trying to make a script which automatically enters the password "root" to copy the ssh-key from A to B. Since ssh-copy does not work on B and also cant be installed i used: ssh root@$ip mkdir -p .ssh cat "~/.ssh/id_rsa.pub" | ssh "root@$ip"…
4
votes
2 answers

Raspberry Pi2 running Windows 10: No PWM

I have a Raspberry Pi2 running Windows 10. I want to control a servo using PWM (porting some netduino code). There does not appear to be a PWM pin at all on the Pi-> with the possible exception of 12 (GPIO 18). Can someone confirm this? Thanks
Jamie Dixon
  • 4,204
  • 4
  • 25
  • 47
4
votes
0 answers

Gstreamer with Bad Quality. Packet Loss

I'm new to Gstreamer and for some reason the quality of my stream is off. It looks like there are some packet loss. I created a pipeline on my Raspberry Pi 2 and another pipeline on my PC. Could someone explain to me why is this happening and/or how…
4
votes
5 answers

raspberry pi 2 windows iot remote debugger does not appear to be running

I'm trying to debug an example app on a raspberry pi 2 using windows 10 build 10074 with VS 2015RC. I've successfully done this before but I'm currently getting this error re: The Visual Studio 2015 Remote Debugger (MSVSMON.EXE) does not appear to…
4
votes
3 answers

with the raspberry pi with win10 is it possible to get cpu usage

I'm running win10 on the raspberry pi 2. Using C# (and universal apps), I'm wondering if there is a way to get cpu usage or memory usage? my guess is 'no' as I don't seem to have access to PerformanceCounters, but perhaps there is a hack that i'm…
yamspog
  • 18,173
  • 17
  • 63
  • 95
4
votes
1 answer

Calling a rest API windows 10 IoT with a Raspberri pi

I'm trying to do something as simple as calling a REST API using an universal app for windows 10 IoT but I can't find a way to do it. Normally I would use: private XElement ImportData(string sourceUrl) { WebClient wc = new…
Hemadeus
  • 472
  • 8
  • 20
4
votes
1 answer

Php disk_free_space() always reads from boot partition

I'm trying to retrieve the free space on a usb hard disk attached to my server (using php), however disk_free_space() always returns the space available on the boot partition. Here is a summary of my server setup: Rasbperry Pi 2 running rasbian. php…
CodeNinja
  • 41
  • 2
4
votes
1 answer

Anybody get USB working in Windows IoT on Raspberry Pi 2?

I got the WinIoT booted up and can communicate with it using PowerShell, but connecting a keyboard/mouse to the USB ports just doesn't work. Is there a trick I don't know? The FAQ lists USB keyboard / mouse as supported devices, so I suspect it's…
4
votes
1 answer

How do I build OpenCV with TBB on Raspberry Pi?

I am trying to build OpenCV with TBB to enable multi-threading. Note: I am able to build OpenCV-2.4.10 without TBB from source and then use the OpenCV Python bindings. When I try a fresh install and building OpenCV with TBB installed the…
NRKirby
  • 1,584
  • 4
  • 21
  • 38
4
votes
3 answers

Raspberry Pyusb gets Resource busy

I'm trying to connect my Raspberry PI to Pic4550 via USB. (Pic function is ok with windows c# program!). So I have installed rpi 2, pyusb, and tried to communicate with the help of [https://github.com/walac/pyusb/blob/master/docs/tutorial.rst][1] I…
la7591
  • 171
  • 1
  • 1
  • 5
3
votes
1 answer

How do I load CSVs into tables in MariaDB running on a Raspberry Pi2?

I've installed MariaDB on my Pi2, which is connected to my network. I can access the Pi directly, through ssh or even VNC. I can also connect to it using MySQL Workbench. I have CSVs (Fantasy Football stats) I'm trying like to load into a table in a…
LeeMarine
  • 33
  • 3
3
votes
1 answer

get variable from python script into php page

my Python script returns: python /home/pi/sht/sht31.py False True False Temperature: 8.10668945312 Humidity: 83.49609375 I need to print humidity and Temperature into an index.php I tried: exec('sudo python /home/pi/sht/sht31.py' ,…
jimbolino
  • 95
  • 1
  • 9
3
votes
0 answers

Letsencrypt / certbot "could not be properly decoded in UTF-8" warning message when issuing a certificate

I have a Raspberry Pi webserver on which i have installed certbot to use ssl. Since a few days the renew function has a warning in it. /usr/lib/python3/dist-packages/pkg_resources/__init__.py:1869: UserWarning:…
J Geraeds
  • 31
  • 3