Strommessung: Analogen Zähler aufzeichnen und auswerten

11. Dezember 2009

Messwerte erfassen, speichern und auswerten – in der Industrie gang und gäbe, im Privathaushalt eher kaum zu finden. Da es doch für manche interessant ist zum Beispiel den Stromverbrauch täglich zu sehen und eventuell große Verbraucher ausfindig zu machen wäre es nun auch schön, einen handelsüblichen Zähler zu digitalisieren. Die Stromwerke machen es einem dabei jedoch meist nicht einfach. Mehr…

linux, private, programming ,

btrfs: Zeitgemäße Backups unter Linux.

6. Oktober 2009

Die Entwicklung des Butter-Dateisystems btrfs schreitet zügig voran und vielleicht können wir schon bald auf ein zeitgemäßes Dateisystem zurückgreifen mit welchem inkrementelle Snapshot-Backups Realität werden. Das gibt es schon? Mehr…

linux , ,

Ubuntu 9.10: Featuring the S.M.A.R.T. Notifier

23. September 2009

A new base feature from Ubuntu 9.10 is the S.M.A.R.T. notifier which informs you whenever your harddrive reports an error. Before Karmic Koala you had to install smart-notifier which does the same job but was not in the base distro. Screenshot after the break… Mehr…

linux , ,

arm: remove thumb instruction “bx lr” from EABI binary

14. September 2009

Today I had a strange error using the GCC version 4.4.1 with EABI support on a non thumb-ARMv4. Everytime I compiled something, with and w/o the -mno-thumb-interwork parameter it also contained the bx lr instruction which is only for later ARM processors with thumb support. Mehr…

linux, programming , , , ,

mailman: Reinject all pending mails from command line.

11. September 2009

Mailman doesn’t have a command to re-inject all pending mails for the command line. Because in Debian Lenny the web-part is broken (wants to be recompiled because of wrong Apache group) I needed to re-inject a lot of mails which were pending. Mehr…

linux , ,

bash: Redirect output to virtual file

11. September 2009

Bash has a cool feature, it allows you to redirect the output of an application to a virtual file. With this its for example possible to fast-diff two directories. Mehr…

linux ,

uClibc: “bx r6″ compile error on ARM

8. September 2009

While compiling OpenWrt for an ARM compatible processor I got the following error:

{standard input}: Assembler messages:
{standard input}:39: Error: selected processor does not support `bx r6'

I found the solution in the The definitive guide to GCC book from William Von Hagen (I don’t own it, I found it via Google Books). You have to disable the the USE_BX flag in the uClibc config file and everything will be fine. Mehr…

linux, programming , , ,

file-management: fdupes with hardlinks

19. August 2009

Fdupes is a very useful tool – it searches your harddisk for duplicated files and helps you to keep it structured. Currently, it only supports deleting duplicated files, which is not suitable for my music collection, because I want to store the same music in different places (eg. to make a collection for different reasons like music for a wedding and so on). One possibility would be to add tags to the music. But this would take very long to search through all and you can’t just copy the preselected files with just a filemanager. The solution is: fdupes should hardlink instead of deleting. Mehr…

linux , , ,

Printing: Linux Brother Printer and the DIN A4 Problem

18. August 2009

Most of you know it already… if you set your (Brother) printer under CUPS to DIN A4 it will only print with the Letter-margins. But now there is a solution available. Thanks to the German Ubuntu-Wiki. Mehr…

linux , , , ,

GTK: Trayicon with effective 2 lines of C-Code

20. Juli 2009

Because I always wanted to learn some GTK, I decided to try it first with a trayicon. And wow, it was that easy – ok, the functional factor is zero, but you’ll have a trayicon with a tooltip. And if you want more you can read the GTK documentation and extend it to the max. Mehr…

linux, programming , ,