Go to advanced search

by knute
Tue Feb 09, 2016 4:05 pm
Forum: Troubleshooting
Topic: raspberrypi-sys-mods?
Replies: 5
Views: 2448

Re: raspberrypi-sys-mods?

That solved the sound issue. Maybe it's time for SDFormat.
by knute
Tue Feb 09, 2016 3:57 pm
Forum: Troubleshooting
Topic: raspberrypi-sys-mods?
Replies: 5
Views: 2448

Re: raspberrypi-sys-mods?

I didn't upgrade from Wheezy. I'll try turning it on and see if it works.

Code: Select all

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

i2c-dev
by knute
Tue Feb 09, 2016 2:48 am
Forum: Troubleshooting
Topic: raspberrypi-sys-mods?
Replies: 5
Views: 2448

raspberrypi-sys-mods?

So I updated my Pi2B tonight and now I've got kernel errors and no sound and general weirdness. I don't know if any of these are related to each other or what. What was in raspberrypi-sys-mods? When the Pi boots a FAILED message goes by so fast I can't read it. This showed up in my /boot/config.txt ...
by knute
Thu Feb 04, 2016 3:34 am
Forum: General programming discussion
Topic: Serial Port programming
Replies: 6
Views: 1378

Re: Serial Port programming

Just connect the TX wire to the RX wire and read what you write.
by knute
Wed Feb 03, 2016 1:24 am
Forum: Staffroom, classroom and projects
Topic: image sensing
Replies: 5
Views: 2299

Re: image sensing

Years ago I wrote some software to keep track of a robot. The robot had an LED on top and we used an IP camera on the ceiling with an IR filter that produced a JPEG image. We scanned the image for the white spot and then calculated the robot's position in the marsararium. I would think you could eas...
by knute
Mon Feb 01, 2016 8:56 pm
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1718

Re: Running RPi Streaming command in Java

Does the command line work correctly if you aren't running it from Java? I haven't played with raspivid, does that send output to the command line? I'm happy to give you more help but it would be really good to see a complete code example and any actual errors that you are getting. I've got a camera...
by knute
Sun Jan 31, 2016 11:53 pm
Forum: Networking and servers
Topic: Download images from Webcam source
Replies: 4
Views: 954

Re: Download images from Webcam source

Here is a simple Java program to download an image from a URL. This program displays the image but it is easy enough to modify it to save the images. import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.io.*; import java.net.*; import javax.imageio.*; import javax.swing.*...
by knute
Fri Jan 29, 2016 1:40 am
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1718

Re: Running RPi Streaming command in Java

From the docs: public abstract int exitValue() Returns the exit value for the subprocess. Returns: the exit value of the subprocess represented by this Process object. By convention, the value 0 indicates normal termination. Throws: IllegalThreadStateException - if the subprocess represented by this...
by knute
Sun Jan 24, 2016 11:41 pm
Forum: Beginners
Topic: Need help updating java...
Replies: 6
Views: 1944

Re: Need help updating java...

Once you've downloaded and unzipped it, use galternatives to point java and javac to your new JDK/bin directory and you will be good to go. I'm not sure why Java hasn't been updated since they went to version 1.8. I figured when they released Jessie we would have security updates to then but it was ...
by knute
Thu Jan 21, 2016 5:04 am
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1718

Re: Running RPi Streaming command in Java

I don't think the slashes are the problem, post the actual error message please.
by knute
Wed Jan 13, 2016 6:08 pm
Forum: Beginners
Topic: x11vnc & /etc/xdg/lxsession/LXDE-pi/autostart
Replies: 3
Views: 2980

Re: x11vnc & /etc/xdg/lxsession/LXDE-pi/autostart

~/.config/autostart/x11vnc.desktop

Code: Select all

[Desktop Entry]
Type=Application
Name=X11VNC Server
Exec=x11vnc -forever
Terminal=false
Hidden=false
by knute
Fri Jan 08, 2016 5:13 pm
Forum: Beginners
Topic: VNC viewer start at startup
Replies: 1
Views: 2014

Re: VNC viewer start at startup

Create a file called vncviewer.desktop in ~/.config/autostart with the following in it:

Code: Select all

[Desktop Entry]
Name=VNC Viewer
Type=Application
Exec=xtightvncviewer 192.168.0.1 -p /home/pi/.vnc/passwd -fullscreen
I didn't test the password option but it should work just fine too.
by knute
Thu Dec 24, 2015 4:45 pm
Forum: Java
Topic: Swing program performance?
Replies: 1
Views: 1425

Re: Swing program performance?

So after considerable searching and confusion I've found a possible solution. There are some folks working on a new video driver that takes advantage of the GPU in the Pi. See: http://dri.freedesktop.org/wiki/VC4/. I have downloaded the raspbian build from, http://sukzessiv.net/~gohai/vc4-buildbot/b...
by knute
Wed Dec 23, 2015 4:32 am
Forum: Java
Topic: Swing program performance?
Replies: 1
Views: 1425

Swing program performance?

I have a Swing program that draws on a JWindow using a BufferStrategy. This runs really fast on my Windows machine but when I run it on the Pi it is really slow. I know that the Pi doesn't have as much processor as my Windows machine but I also know that drawing on X11 windows is fairly slow. Does a...
by knute
Sat Dec 19, 2015 4:59 pm
Forum: Java
Topic: Java writes files with wrong date/time
Replies: 4
Views: 2978

Re: Java writes files with wrong date/time

I'm not seeing what you are seeing. Maybe you could provide an SSCCE and more information about your configuration. import java.io.*; import java.nio.channels.*; public class test { public static void main(String... args) throws Exception { FileInputStream in = new FileInputStream(new File("/home/pi...
by knute
Sat Dec 19, 2015 4:25 pm
Forum: Troubleshooting
Topic: Problem attempting to make my Pi's IP static.
Replies: 8
Views: 1695

Re: Problem attempting to make my Pi's IP static.

man dhcpcd.conf
by knute
Mon Dec 14, 2015 8:18 pm
Forum: Java
Topic: Printing with Java on PI 2
Replies: 1
Views: 1207

Re: Printing with Java on PI 2

I've printed to a networked printer with Java. USB printer should be the same. Set it up with CUPS and print away.
by knute
Sun Nov 01, 2015 2:33 am
Forum: Python
Topic: Programming basics
Replies: 5
Views: 1124

Re: Programming basics

Don't forget the Java Tutorials: http://docs.oracle.com/javase/tutorial/
by knute
Wed Oct 07, 2015 9:55 pm
Forum: Raspberry Pi OS
Topic: Jessie: Keyboard settings not saved
Replies: 9
Views: 10586

Re: Jessie: Keyboard settings not saved

raspi-config isn't working on my Pi2B either. I've edited the /etc/default/keyboard file directly and that seems to work.
by knute
Tue Oct 06, 2015 12:42 am
Forum: Troubleshooting
Topic: Anybody else having trouble setting the keyboard?
Replies: 19
Views: 24686

Anybody else having trouble setting the keyboard?

I can't get the keyboard type set with either raspi-config or the Raspberry Pi Configuration program. raspi-config aborts before it asks for my keyboard type and leaves the following on the terminal: pi@raspberrypi ~ $ sudo raspi-config update-rc.d: warning: start and stop actions are no longer supp...
by knute
Fri Oct 02, 2015 12:05 am
Forum: Raspberry Pi OS
Topic: STICKY: Jessie (now defunct and replaced with Stretch) Q&A
Replies: 396
Views: 234825

Re: Jessie Q&A

What's the deal with halt? It doesn't cause the green LED to flash 10 times but appears to stop the computer. Should we use halt or shutdown -h?

Thanks,
by knute
Wed Sep 30, 2015 3:46 pm
Forum: Troubleshooting
Topic: Keyboard repeats not working in Jessie?
Replies: 1
Views: 398

Re: Keyboard repeats not working in Jessie?

Well never mind, they are working fine today.
by knute
Wed Sep 30, 2015 4:07 am
Forum: Other programming languages
Topic: Perl 5.18?
Replies: 2
Views: 998

Re: Perl 5.18?

The new Jessie has 5.20!
by knute
Wed Sep 30, 2015 4:07 am
Forum: Troubleshooting
Topic: Keyboard repeats not working in Jessie?
Replies: 1
Views: 398

Keyboard repeats not working in Jessie?

I just installed the new Jessie raspbian and find that holding down a key doesn't repeat in a terminal. Anybody know where to set that feature?

Thanks,
by knute
Mon Sep 21, 2015 3:40 am
Forum: Troubleshooting
Topic: Vsftpd download error
Replies: 1
Views: 338

Re: Vsftpd download error

I think you answered your own question. You want vsftpd and you asked for vstpd.

Go to advanced search