Fixing the frontpanel USB ports, One at time

Today I decided to fix my front panel USB , that were since long gone due an unspecified issue on my Asustek mobo (WYGIWYP, what-you-get-is-what-you-paid). Since the usual remedies wouldn’t work (resetting CMOS, changing front panel, BIOS fiddling) I decided to tackle the problem the hard way, by bypassing the motherboard completely.

Leggi tutto

Playing with bluetooth GPS for fun and profit

I am recently fiddling with an old Bluetooth receiver to use it as a time source for my Arduino chrondot clock. Please note it’s already been done[wyolum.com] and an interesting graph of Chronodot drift is provided. First of all I decided to get a good look at the NMEA stream coming out of the GPS … Leggi tutto

Updating the Atmega8U2 on an Uno with DFU

My Arduino is quite old, and I had to upgrade the firmware to address  some issues that arose with serial. Basically I used Windows  XP and those resources: http://arduino.cc/en/Hacking/DFUProgramming8U2 but it’s no so verbose, it’s useful as a general introduction. I soldered a 10K resistor like advised, but then  I decided  to rely on this … Leggi tutto

Codingcolor Arduino RTC LCD clock with Chronodot

I recently started experimenting again with Arduino and must say I am having a lot of fun.

Chronodot Arduino and LCD RTC clock
Chronodot Arduino and LCD RTC clock

I had the idea to implement an RTC clock with arduino and excellent Macetech Chronodot and got myself the needed parts from Adafru.it. As it often turns out with Arduino project, someone already had the same idea (and luckily they used the Chronodot too): before reinventing the wheel a fast google search revealed “An Arduino LCD clock using the ChronoDot RTC”.

Leggi tutto

Cryptswap and Linux assigning different devices letters to disk

I had this weird issue recently: I had a simple Ubuntu setup with cryptesetup and swap, and the crypt swap device (say /dev/mapper/mycryptoswap1) keept disappearing.
Caution: fiddling with cryptsetup and disk devices is dangerous for data and OS. I personally made a full backup on a separate disk and then umplugged it to be sure it wouldn’t be involved in any mishap.

Turns out is a little worse that that: Linux is changing the drive devices assignations (eg /dev/sdb /dev/sdg) at every boot under my nose. I did not notice at first because I am using UUIDs, so everything looked fine. Unfortunately my raw partition did not have any UUID.  Probably there’s a way to assign an UUID to a general partition, but I didn’t address this issue.
Having the disk changing its letter any time was the reason why the crypttab device wasn’t created a boot.  I was lucky: would a partition with valuable data be present in the other disk, it would be overwritten with encrypted swap data.

Leggi tutto

Linux Kernel 3.6 is here

I had to upgrade a Pangolin Precise to Linux 3.6 to issue a bug on Linux Vs my Logitech mouse. So far I can say: Nvidia_current 295.40 fails to build module in 3.6.0 amd64 (I suspect it would also on i386) Solution: install nvidia-current 304.51 from ubuntu xedgers. Works out of the Box. Vmplayer VMware … Leggi tutto