An EasyCAP Box with V-Slot mount

Okay, I admit, adding a webcam to watch how your print is doing in nothing new, but since I plan on hooking 4 cameras, that might be considered novel. Anyway, in the earlier post I described the analog camera modules I’ve found in the attic and added a nice 3d-printed camera mount, in this post I will describe the other hardware part of my capture setup. But before the lengthy details – here goes a test capture from one of the cameras.

As you see the quality is not of the best and high temperature in the printing chamber contributes a lot to the noises from the camera matrix.

(more…)

Data Recovery: SD, ddrescue and Android

All things come to an end at some point, so do uSD cards. And they tend to do that just about the time you normally LEAST expect them to.
Anyways, at my country house, away from the noise of the big city I had a cheap cellphone tethering internets over an OpenVPN connection. The operator does not offer proper external IP service, so I have to run an OpenVPN connection to have access to surveillance.
I have a bunch of cams here and there, mostly watching after these guys:

The cellphone itself runs a rooted android and a debian chroot with OpenVPN off an SD card. The SD card died this weekend and at some point I realised that I don’t have a recent backup. It was no big deal, just a debian rootfs + a bunch of config files for OpenVPN, but since I spent a while then and now perfecting configs and tuning OpenVPN for performance over the celluar network those weren’t backed up. Ooops.

Anyways, this note talks about data recovery from such an SD card and the common pitfalls.

(more…)

Tablet guts necromancered into a fancy SBC

It’s been a hell of a summer with loads of work at my dull dayjob so that I’ve almost forgotten about everything including this very blog. However once the hell cooled down a little bit I found myself with a few spare days and my usual itch to tinker for a little bit with something. It happened I also needed another linux single-board computer to do some dull geeky stuff. Instead of ordering one from aliexpress once again I dived into the junk and found this little dead piece of hardware:

IMG_2598

(more…)

D-Link DNS-327L NAS now mainlined

Achievement

Yep, something like that. Despite huge amounts of rush at work these days I managed to push both patches into mainline linux, so starting from 4.1 and on you can just grab kernel from kernel.org, compile and boot it on the NAS (Yappee!!)

Just make sure you disable cpuidle ‘deep idle’ state. It causes NAS to hang once every few hours and is likely a problem with either hardware or the bootloader (I’m still too lazy to try out mainline u-boot)

echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state1/disable

//Template for that achivement logo borrowed from here