In a recent post I mentioned that the Linux kernel has a dedicated API for LEDs. This API is composed of the drivers/leds/ directory and the additional <linux/leds.h> include file, Documentation exists in form of the Documentation/leds-class.txt file. To quote: “The underlying design philosophy is simplicity. LEDs are simple devices and the aim is to… Continue reading The shortcomings of the Linux LEDs API
OpenWrt Remote debugging
While analyzing hostapd and trying to find out where to hook in after WPA pairwise key exchange has completed, the need arose to get a gdb running on the target platform (the EPIA MII), so I could break in the function and obtain a backtrace.
Adding four custom status LEDs to the EPIA MII
In the course of my little EPIA MII project, I have to interface four custom LEDs which I connected to the MII’s internal parallel port connector. The LEDs are tri-state LEDs, that is, they can not be just turned on or off but can show three different colors, hence the name tri-state LEDs. The particular… Continue reading Adding four custom status LEDs to the EPIA MII
What’s the EPIA MII supposed to do?
Due to its connectivity options (Ethernet onboard, WLAN addable via PCI card, CardBus slot or USB for UMTS adapter, possibly even a CompactFlash adapter) the EPIA MII suggests itself, of course, as a router device and that’s what it was originally intended for. However, now in the first place it’ll have a slightly different assignment.
My EPIA MII-based system
I recently mentioned my EPIA MII-based system. The EPIA MII is a highly integrated mainboard from Via’s Embedded division that comes in the itsy-tiny Mini-ITX form factor. I originally bought it way back together with a Casetronic Travla C158 case to be the base for an OpenWrt-based UMTS router. However I never got around it… Continue reading My EPIA MII-based system