Go to advanced search

by aweber1nj
Tue Apr 29, 2014 3:20 pm
Forum: Troubleshooting
Topic: SD Card Fail?
Replies: 10
Views: 1473

Re: SD Card Fail?

Looking at it now. Nice write-up.
by aweber1nj
Tue Apr 29, 2014 2:59 pm
Forum: Troubleshooting
Topic: SD Card Fail?
Replies: 10
Views: 1473

Re: SD Card Fail?

If you'd prefer to carry out the transfer of the '/root' partition on a Linux PC or the Pi itself, I'm sure others will jump in with the help you need. :) Not sure exactly what you mean by that, but maybe there's a way to just put the /boot partition on an SD Card and put everything else on a USB H...
by aweber1nj
Tue Apr 29, 2014 2:39 pm
Forum: Troubleshooting
Topic: SD Card Fail?
Replies: 10
Views: 1473

Re: SD Card Fail?

@GTR2Fan: I do not want to derail this topic, but do you have any links or notes to use the SD Card only for boot and somehow switch all your production & swap partitions to an external (traditional) HDD?
by aweber1nj
Tue Apr 29, 2014 2:29 pm
Forum: Troubleshooting
Topic: SD Card Fail?
Replies: 10
Views: 1473

Re: SD Card Fail?

First things first. Do you have a PSU that outputs a stable 5V (+/-0.25V) under all load conditions? Successful fault diagnosis usually works best if a person starts from the power supply and works through the process from there. Appreciate the quick reply... To be honest, I don't know how I'd meas...
by aweber1nj
Tue Apr 29, 2014 2:12 pm
Forum: Troubleshooting
Topic: SD Card Fail?
Replies: 10
Views: 1473

SD Card Fail?

Just logged into my Pi via ssh and noticed that one or more of my partitions have been re-mounted read-only. Running fsck shows this: fsck /dev/mmcblk0p2 fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) /dev/mmcblk0p2: recovering journal Error reading block 336454 (Attempt to read block from ...
by aweber1nj
Fri Aug 30, 2013 5:08 pm
Forum: Raspbian
Topic: SIGINT issue?
Replies: 7
Views: 1976

Re: SIGINT issue?

Now that makes a lot of sense. Thank you for that detailed response.

-AJ
by aweber1nj
Fri Aug 30, 2013 12:08 pm
Forum: Raspbian
Topic: SIGINT issue?
Replies: 7
Views: 1976

Re: SIGINT issue?

Well, like I said in my original post, my java program catches a ctrl-c by way of a ShutdownHook. This works 100% of the time when I run the java program from the terminal and "type" ctrl-c. If I run the process in the background and use "kill -SIGINT <pid>" there is no effect on the running program...
by aweber1nj
Thu Aug 29, 2013 7:25 pm
Forum: Raspbian
Topic: SIGINT issue?
Replies: 7
Views: 1976

Re: SIGINT issue?

OK, on a whim, I tried SIGHUP and that works as if it was ctrl-c.

Maybe I got the wrong info about which signal was the correct one to send?

-AJ
by aweber1nj
Thu Aug 29, 2013 7:22 pm
Forum: Raspbian
Topic: SIGINT issue?
Replies: 7
Views: 1976

SIGINT issue?

I'm trying to send SIGINT (ctrl-c) to a background process, but it doesn't seem to be receiving it. If I run this process interactively (from a terminal window), and press ctrl-c, it catches the signal and terminates properly. If I run this process in the background (appending & to the command), and...
by aweber1nj
Wed Aug 28, 2013 9:35 pm
Forum: Java
Topic: in case it helps
Replies: 0
Views: 561

in case it helps

Currently running java7 on wheezy (soft float - nothing major here). Using hsqldb for a local DB (via JDBC), PI4J (yes, you all know how to use that), log4j, httpclient, and simpleJSON. All running very nicely. I assume many of the posters have used most of those, but I hadn't seen anyone mention a ...
by aweber1nj
Wed Aug 28, 2013 9:29 pm
Forum: Automation, sensing and robotics
Topic: yet another irrigation controller...
Replies: 0
Views: 650

yet another irrigation controller...

Currently this is only controlling the "actual" irrigation controller's Rain Sensor (replacing it). I plan on upgrading the code to actually function as a fully-fledged irrigation controller eventually -- though there are some very nice implementations already in the community...maybe I can merge th...
by aweber1nj
Tue Jun 25, 2013 3:38 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Sainsmart SSR Wiring?
Replies: 5
Views: 5141

Sainsmart SSR Wiring?

I actually have a Sainsmart 5v relay as discussed in a few other threads, but want to try the solid state relay to see if it's less complex to connect (I realize the cost is significantly more, it's for AC only, etc. -- just going for simplicity here). This is the one I bought: http://www.sainsmart....
by aweber1nj
Mon Jun 24, 2013 8:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How to wire a Raspberry Pi to a Sainsmart 5v Relay Board
Replies: 83
Views: 231002

Re: How to wire a Raspberry Pi to a Sainsmart 5v Relay Board

Eventually I plan to run everything with the 24V supply (hopefully), but haven’t figured out a circuit to (efficiently/safely) reduce 24V to 5V to run the RPi and Relay Board. If anyone has any ideas, please let me know. I realize the thread has far more valuable information on how to wire the Sain...

Go to advanced search