1. adaptation
  2. mediasmartserverd

Wiki

Clone wiki

mediasmartserverd / Home

mediasmartserverd

Recently I installed Ubuntu on my HP MediaSmart Server 485 and got annoyed with the blinking health LED. So here's a small linux daemon that stops that, takes control of the LEDs, decreases the brightness, and monitors for disk changes using udev.

Supports:

  • Acer H340
  • HP MediaSmart Ex485

Any other hardware has not been tested.

Basically USE AT YOUR OWN RISK.


Compiling

Compiling under ubuntu requires g++, libstdc++-dev, libudev-dev, and make

# compile
$ make


# query help
$ ./mediasmartserverd --help


# run as a daemon in the background
$ sudo ./mediasmartserverd -D

Installing

On my server I have this executable living in /opt/mediasmartserverd and then being invoked on startup by rc.local

# start our monitor daemon
/opt/mediasmartserverd -D

Updated