raspbian

Downloading Matlab Support Package Raspberry Pi

[亡魂溺海] 提交于 2019-12-12 06:15:40
问题 I'm trying do download the MATLAB Raspberry Pi Support Package, but can't finish it due to an error occuring every time. I can go through every step until I put the sd card back to my Raspberry Pi and use an ethernet cable to connect the Pi with my PC. Whenever Matlab tries to detect my Raspberry Pi, it throws an error message: "attempt to reference field of non-structure array." What does this mean? Information about my PC: Windows 7, i7 processor, 64 bit, 8 GB RAM MATLAB R2014a Raspberry Pi

Adding JDBC driver to classpath on Raspberry pi

不想你离开。 提交于 2019-12-12 05:53:29
问题 How do I add the JDBC driver to the class path on a java program I have on my raspberry pi? The class should compile correctly when I go to compile it on the raspberry pi board it just gives the error like it would when there is no driver present. My class is called checker.java and it uses jdbc! 回答1: For example, if you are in folder, where you have both your .java and .jar files: javac -cp “jdbcdriver.jar” checker.java By the way, class names must start with uppercase letter. UPD: You

force vlc to load ui on raspberry booted to cli

柔情痞子 提交于 2019-12-12 05:38:07
问题 I've been googling for this all week, struggling to find a good solution. I have a training video kiosk script that I've set up for my company, running on an intel NUC. to me, that feels like overkill, so I'm trying to get the script to run on a pi 3 model b to save a little on costs to deploy this thing. my script works great from desktop, I've been able to get it to run on startup from the cli, & I can even load the videos with the dummy UI - the problem is that there's no sound, and when

TinyX shows display using builtin fbtft touchscreen driver but touch doesn't work

北战南征 提交于 2019-12-12 04:58:50
问题 I'm using an "adafruitts" touchscreen with a raspi to control a usb peripheral. The full raspbian kernel takes forever to boot (50 seconds), and part of that is due to the touchscreen driver loading (by modprobe/udev) and initializing. During the first 20-30 seconds of boot, the display is not loaded, so it is blank. I need this to be a user-friendly item that cannot be blank for 30 seconds each time it is turned on, so I've used buildroot to build a small kernel with the touchscreen driver

How do you get a waveshare 3.5 inch touch LCD to work with Raspbian Jessie?

依然范特西╮ 提交于 2019-12-12 04:16:50
问题 I have a waveshare 3.5 inch touch LCD display and I m trying to get it working with the latest version of Raspbian A.K.A Raspbian Jessie. I followed futurice.com 's tutorial on getting it to work (tutorial is titled I'd like some LCD on my pi) and it worked on Raspbian Wheezy just fine. All I get now is a blank white screen. All help is greatly appreciated! (I must use the official Raspbian Jessie image without NOOBS from the Raspberry pi website.) I have a Raspberry Pi 2 Mobel B +. 回答1: From

How to run .sh script with php?

♀尐吖头ヾ 提交于 2019-12-12 03:46:15
问题 I am using raspberry pi 3(raspbian jessie) to capture image using fswebcam remotely using shell script and php. Since "motion" is running i need to stop the service then capture image and then restart it. #!/bin/bash DATE=$(date +"%Y-%m-%d_%H%M") sudo service motion stop fswebcam -r 640x480 --no-banner /var/www/html/sm/webcam/$DATE.jpg sudo service motion start The script works fine in terminal.Script is saved in var/www/html/sm. chmod +x webcam.sh also checked. I also wrote a php script to

Segmentation fault with g_object_set / strchr

◇◆丶佛笑我妖孽 提交于 2019-12-12 02:12:27
问题 This line get me a segmentation fault : g_object_set(G_OBJECT(data.udpsrc), "port", 5000, "caps", caps, NULL); where data.udpsrc = gst_element_factory_make("udpsrc", "source"); caps = gst_caps_new_empty_simple("application/x-rtp"); Here's the output with gdb : Program received signal SIGSEGV, Segmentation fault. strchr () at ../ports/sysdeps/arm/armv6/strchr.S:28 28 ../ports/sysdeps/arm/armv6/strchr.S: No such file or directory. (gdb) bt #0 strchr () at ../ports/sysdeps/arm/armv6/strchr.S:28

libxml2-dev not installing on raspbian/debian

最后都变了- 提交于 2019-12-12 01:42:38
问题 When I sudo apt-get install libxml2-dev I receive the error libxml2-dev : Depends: libxml2 (= 2.9.4+dfsg1-1+b1) but 2.9.4+dfsg1-1 is to be installed E: Unable to correct problems, you have held broken packages. I tried to follow this guide: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=105859 but when I get to cd ~/libxml2-2.9.1 the directory does not exist. Here is my actual output: pi@rpi:~ $ sudo apt-get install python-dev Reading package lists... Done Building dependency tree

Event not firing on raspberry pi mono

徘徊边缘 提交于 2019-12-12 00:08:51
问题 I have been following this post for developing a client for query notification. http://www.youdidwhatwithtsql.com/started-query-notifications-sql-server-2008-r2/1676/ I have tried this code on both visual studio and mono on my PC and these seem to fire the onDependencyChange event fine. However when I move it over to the raspberry pi with mono-complete installed it does not seem to fire. I cannot debug as the pi is in another location and I am using SSH to remote into it. static void Main

Installing TensorFlow on Raspbian Stretch 2019-11-13 has Python compatibility problems

我与影子孤独终老i 提交于 2019-12-11 16:42:45
问题 With a new SD card and Raspbian version Stretch 2018-11-13: sudo apt install -y python3-pip python3-dev python-virtualenv virtualenv -p python3.5 --system-site-packages myenv source myenv/bin/activate pip3 install --upgrade tensorflow $ python3 Python 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow /home/pi/myenv/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: