A simple C++ library to drive a stepper motor using the Raspberry Pi

About two years ago I wrote a simple C++ class to drive a small stepper motor using the Raspberry Pi. Recently I’ve done the last change to the code. In this post I will try to describe in a simple way how to use the library, also with the help of some examples. Hardware requirements ...

Written by Cristiano

Kernel patches: added support for HTTP mirrors

In the previous post I talked about my attempt to create a script to automate the kernel patches installation procedure on Slackware (stable) and I reported the quick ‘n’ dirty instructions to run it, with also a video demonstration. A few time after, a dear friend tried the script and he pointed out to me ...

Written by Cristiano

How to install kernel patches automatically on Slackware 2

For some strange reason, some time ago, I started to write down a simple Bash script that only detected the presence of new kernel patches on Slackware stable and installed the respective packages. Then I tried to improve it until I reached the actual version. I’m not so experienced in Bash scripting, but I decided ...

Written by Cristiano

Secure webcam streaming with mjpg-streamer and stunnel

Last week I was trying to understand how to establish a secure connection with a webcam streaming server. The idea was to setup a kind of small homemade surveillance system to be used when I’m away. I knew of mjpg-streamer and I used it years ago, but I’ve never tried to encrypt the communication channel ...

Written by Cristiano

Virtual disk data recovery

The last weekend was terrible. On Friday evening I was writing some VHDL code for a small project and testing step-by-step all the stuff through a VHDL simulator runningĀ on Windows. Obviously, to do this I used a VirtualBox virtual machine, since my host OS is a Linux distro. Once I finished to work I simply ...

Written by Cristiano

Upgrade to PHP 5.6.2

In the last days I was trying to create some packages for Slackware 14.1. I’ve created two virtual machines with VirtualBox, one for the 32 bit version and the other for the 64 bit version. These VMs have a clean Slackware installation and are intended to be used only for building packages. I’ve configured slackpkg ...

Written by Cristiano

Toshiba DVB-T TV tuner on Linux 4

My attention is focused on this specific USB device: Toshiba DVB-T TV tuner P/N PX1211E-1TVD. I got it together with my old laptop in the summer of 2006. Albeit this DVB-T TV tuner comes with a standalone mini antenna, I usually prefer to connect it directly to the TV antenna cable using the adapter. This ...

Written by Cristiano

The laptop reboots instead of shutting down: what to do?

A few days ago I finally fixed a problem that has plagued my laptop for a few months. I bought the PC last year at the end of December. The first thing I did once I got my hands on it, was to format Windows in order to install Slackware on the whole disk. After ...

Written by Cristiano