neuronenwerk.de

Using fluxbox for years, it always annoyed me that I need an additional application to display a simple thing like the battery status. As conky and similar tend to hide behind windows, this isn't a real solution as well.

Getting the patch integrated into the mainline code was rejected due to its admittedly uselessness to PC users. However it would be a pity to let this code rot away in my private repository.

Patch file: fluxbox-0.9.15.1_battery.patch: Apply with patch -p1 < FILE

Archive: fluxbox-0.9.15.1_battery.tgz: Contains all modified and new files



OpenBSD only features a basic hotplugging mechanism, i.e. the kernel passes device events via the hotplug(4) pseudo-device to userland. A hotplug(8) daemon monitors /dev/hotplug to detect attachs/detachs and executes actions as defined in /etc/hotplug/{attach,detach}.

This is all fine, but the foreseen granularity is way too simple to cope with USB devices which basically can all attach to the same device node, while beeing devices with totally different properties.

To get along with this defect, I wrote a simple piece of code that reads the vendor-id/device-id pair of a USB device when passed the device name. Decisions towards further handling in /etc/hotplug/{attach,detach} are then made based on this information.

Code: usb-hotplug.c

Script: attach



These are some ports for OpenBSD I tinker(ed) around with. They are not official in any way.

openct: driver-framework for smartcard readers and crypto tokens

vtk: The Visualization Toolkit, default configuration


The following ports are kept here for historical reasons only, since e.g. cmake has made it into ports, though not this version:

cmake: multi-platform build tool, quite impressive

highmoon: 3D space shooter, uses SDL

ctorrent-dhn2: ctorrent , with the dhn2 patches applied



i've got some machines running at home, for network-testing as well as other educational purposes (partly and 24/7):

VIA M10000 / Nememiah / 1 GHz / 256 MB RAM / DragonFly BSD

Noname / AMD Athlon / 700 MHz / 396 MB RAM / DragonFly BSD

Sparcstation 5 / MicroSparc II / 110 MHz / 64 MB RAM / NetBSD

Compaq Armada / Pentium MMX / 133 MHz / 64 MB RAM / OpenBSD

HP Vectra / Celeron / 500 MHz / 256 MB RAM / FreeBSD

Fujitsu Amilo A / Athlon XP / 1800 MHz / 512 MB RAM / Debian

Sun Ultra 10 / Ultra Sparc / 440 MHz / 256 MB RAM / Solaris 10

HP Vectra / Celeron / 500 MHz / 256 MB RAM / Debian

Linksys WRT54G / MHz / RAM / Linux - OpenWRT

Soekris NET4801 / AMD Geode / 266 MHz / 128 MB RAM / OpenBSD

IBM Thinkpad X40 / Pentium M / 1,4 MHz / 1024 MB RAM / OpenBSD


last update: 10/07/2007